| /Linux-v5.15/fs/xfs/ |
| D | xfs_quota.h | 85 int64_t dblocks, int64_t rblocks, bool force); 91 struct xfs_dquot *pdqp, int64_t dblocks); 134 struct xfs_inode *ip, int64_t dblocks, int64_t rblocks, in xfs_trans_reserve_quota_nblks() argument 155 struct xfs_dquot *gdqp, struct xfs_dquot *pdqp, int64_t dblocks) in xfs_trans_reserve_quota_icreate() argument
|
| D | xfs_trans_dquot.c | 789 int64_t dblocks, in xfs_trans_reserve_quota_nblks() argument 808 ip->i_gdquot, ip->i_pdquot, dblocks, 0, in xfs_trans_reserve_quota_nblks() 819 ip->i_gdquot, ip->i_pdquot, -dblocks, 0, in xfs_trans_reserve_quota_nblks() 834 int64_t dblocks) in xfs_trans_reserve_quota_icreate() argument 842 dblocks, 1, XFS_QMOPT_RES_REGBLKS); in xfs_trans_reserve_quota_icreate()
|
| D | xfs_trans.c | 1036 unsigned int dblocks, in xfs_trans_alloc_inode() argument 1047 error = xfs_trans_alloc(mp, resv, dblocks, in xfs_trans_alloc_inode() 1063 error = xfs_trans_reserve_quota_nblks(tp, ip, dblocks, rblocks, force); in xfs_trans_alloc_inode() 1094 unsigned int dblocks, in xfs_trans_alloc_icreate() argument 1102 error = xfs_trans_alloc(mp, resv, dblocks, 0, 0, &tp); in xfs_trans_alloc_icreate() 1106 error = xfs_trans_reserve_quota_icreate(tp, udqp, gdqp, pdqp, dblocks); in xfs_trans_alloc_icreate()
|
| D | xfs_trans.h | 259 unsigned int dblocks, unsigned int rblocks, bool force, 263 struct xfs_dquot *pdqp, unsigned int dblocks,
|
| D | xfs_iomap.c | 197 unsigned int dblocks, rblocks; in xfs_iomap_write_direct() local 208 dblocks = XFS_DIOSTRAT_SPACE_RES(mp, 0); in xfs_iomap_write_direct() 211 dblocks = XFS_DIOSTRAT_SPACE_RES(mp, resaligned); in xfs_iomap_write_direct() 237 dblocks = XFS_DIOSTRAT_SPACE_RES(mp, 0) << 1; in xfs_iomap_write_direct() 241 error = xfs_trans_alloc_inode(ip, &M_RES(mp)->tr_write, dblocks, in xfs_iomap_write_direct()
|
| D | xfs_mount.c | 368 uint64_t dblocks = mp->m_sb.sb_dblocks; in xfs_set_low_space_thresholds() local 372 do_div(dblocks, 100); in xfs_set_low_space_thresholds() 376 mp->m_low_space[i] = dblocks * (i + 1); in xfs_set_low_space_thresholds()
|
| D | xfs_bmap_util.c | 817 unsigned int dblocks, rblocks, resblks; in xfs_alloc_file_space() local 847 dblocks = XFS_DIOSTRAT_SPACE_RES(mp, 0); in xfs_alloc_file_space() 850 dblocks = XFS_DIOSTRAT_SPACE_RES(mp, resblks); in xfs_alloc_file_space() 858 dblocks, rblocks, false, &tp); in xfs_alloc_file_space()
|
| /Linux-v5.15/fs/xfs/libxfs/ |
| D | xfs_attr.c | 194 uint dblocks = xfs_attr3_rmt_blocks(mp, args->valuelen); in xfs_attr_calc_size() local 195 nblks += dblocks; in xfs_attr_calc_size() 196 nblks += XFS_NEXTENTADD_SPACE_RES(mp, dblocks, XFS_ATTR_FORK); in xfs_attr_calc_size()
|
| /Linux-v5.15/fs/gfs2/ |
| D | inode.c | 396 static int alloc_dinode(struct gfs2_inode *ip, u32 flags, unsigned *dblocks) in alloc_dinode() argument 399 struct gfs2_alloc_parms ap = { .target = *dblocks, .aflags = flags, }; in alloc_dinode() 410 error = gfs2_trans_begin(sdp, (*dblocks * RES_RG_BIT) + RES_STATFS + RES_QUOTA, 0); in alloc_dinode() 414 error = gfs2_alloc_blocks(ip, &ip->i_no_addr, dblocks, 1, &ip->i_generation); in alloc_dinode()
|