| /linux/fs/xfs/ |
| A D | xfs_trans.c | 1066 unsigned int dblocks, in xfs_trans_alloc_inode() argument 1077 error = xfs_trans_alloc(mp, resv, dblocks, in xfs_trans_alloc_inode() 1141 unsigned int dblocks, in xfs_trans_reserve_more_inode() argument 1152 error = xfs_trans_reserve(tp, &resv, dblocks, rtx); in xfs_trans_reserve_more_inode() 1168 xfs_add_fdblocks(mp, dblocks); in xfs_trans_reserve_more_inode() 1169 tp->t_blk_res -= dblocks; in xfs_trans_reserve_more_inode() 1186 unsigned int dblocks, in xfs_trans_alloc_icreate() argument 1194 error = xfs_trans_alloc(mp, resv, dblocks, 0, 0, &tp); in xfs_trans_alloc_icreate() 1315 unsigned int *dblocks, in xfs_trans_alloc_dir() argument 1327 resblks = *dblocks; in xfs_trans_alloc_dir() [all …]
|
| A D | xfs_quota.h | 101 int64_t dblocks, int64_t rblocks, bool force); 107 struct xfs_dquot *pdqp, int64_t dblocks); 171 struct xfs_inode *ip, int64_t dblocks, int64_t rblocks, in xfs_trans_reserve_quota_nblks() argument 186 struct xfs_dquot *gdqp, struct xfs_dquot *pdqp, int64_t dblocks) in xfs_trans_reserve_quota_icreate() argument
|
| A D | xfs_trans.h | 253 unsigned int dblocks, unsigned int rblocks, bool force, 256 unsigned int dblocks, unsigned int rblocks, bool force_quota); 259 struct xfs_dquot *pdqp, unsigned int dblocks, 265 struct xfs_inode *ip, unsigned int *dblocks,
|
| A D | xfs_trans_dquot.c | 955 int64_t dblocks, in xfs_trans_reserve_quota_nblks() argument 974 ip->i_gdquot, ip->i_pdquot, dblocks, 0, in xfs_trans_reserve_quota_nblks() 985 ip->i_gdquot, ip->i_pdquot, -dblocks, 0, in xfs_trans_reserve_quota_nblks() 1000 int64_t dblocks) in xfs_trans_reserve_quota_icreate() argument 1008 dblocks, 1, XFS_QMOPT_RES_REGBLKS); in xfs_trans_reserve_quota_icreate()
|
| A D | xfs_iomap.c | 253 unsigned int dblocks, rblocks; in xfs_iomap_write_direct() local 264 dblocks = XFS_DIOSTRAT_SPACE_RES(mp, 0); in xfs_iomap_write_direct() 267 dblocks = XFS_DIOSTRAT_SPACE_RES(mp, resaligned); in xfs_iomap_write_direct() 293 dblocks = XFS_DIOSTRAT_SPACE_RES(mp, 0) << 1; in xfs_iomap_write_direct() 297 error = xfs_trans_alloc_inode(ip, &M_RES(mp)->tr_write, dblocks, in xfs_iomap_write_direct()
|
| A D | xfs_mount.c | 384 uint64_t dblocks = mp->m_sb.sb_dblocks; in xfs_set_low_space_thresholds() local 388 do_div(dblocks, 100); in xfs_set_low_space_thresholds() 392 mp->m_low_space[i] = dblocks * (i + 1); in xfs_set_low_space_thresholds()
|
| A D | xfs_bmap_util.c | 679 unsigned int dblocks, rblocks, resblks; in xfs_alloc_file_space() local 712 dblocks = XFS_DIOSTRAT_SPACE_RES(mp, 0); in xfs_alloc_file_space() 715 dblocks = XFS_DIOSTRAT_SPACE_RES(mp, resblks); in xfs_alloc_file_space() 720 dblocks, rblocks, false, &tp); in xfs_alloc_file_space()
|
| A D | xfs_inode.h | 637 xfs_filblks_t *dblocks, xfs_filblks_t *rblocks);
|
| A D | xfs_inode.c | 2956 xfs_filblks_t *dblocks, in xfs_inode_count_blocks() argument 2964 *dblocks = ip->i_nblocks - *rblocks; in xfs_inode_count_blocks()
|
| /linux/fs/xfs/libxfs/ |
| A D | xfs_ag.c | 223 xfs_rfsblock_t dblocks) in __xfs_ag_block_count() argument 229 return dblocks - (agno * mp->m_sb.sb_agblocks); in __xfs_ag_block_count() 298 xfs_rfsblock_t dblocks, in xfs_initialize_perag() argument 346 dblocks); in xfs_initialize_perag()
|
| A D | xfs_attr.c | 323 uint dblocks = xfs_attr3_rmt_blocks(mp, args->valuelen); in xfs_attr_calc_size() local 324 nblks += dblocks; in xfs_attr_calc_size() 325 nblks += XFS_NEXTENTADD_SPACE_RES(mp, dblocks, XFS_ATTR_FORK); in xfs_attr_calc_size()
|
| /linux/fs/gfs2/ |
| A D | inode.c | 404 static int alloc_dinode(struct gfs2_inode *ip, u32 flags, unsigned *dblocks) in alloc_dinode() argument 407 struct gfs2_alloc_parms ap = { .target = *dblocks, .aflags = flags, }; in alloc_dinode() 418 error = gfs2_trans_begin(sdp, (*dblocks * RES_RG_BIT) + RES_STATFS + RES_QUOTA, 0); in alloc_dinode() 422 error = gfs2_alloc_blocks(ip, &ip->i_no_addr, dblocks, 1); in alloc_dinode() 429 if (*dblocks > 1) in alloc_dinode()
|