| /fs/xfs/ |
| A D | xfs_trans.c | 1064 unsigned int dblocks, in xfs_trans_alloc_inode() argument 1148 unsigned int dblocks, in xfs_trans_reserve_more_inode() argument 1174 xfs_add_fdblocks(mp, dblocks); in xfs_trans_reserve_more_inode() 1175 tp->t_blk_res -= dblocks; in xfs_trans_reserve_more_inode() 1192 unsigned int dblocks, in xfs_trans_alloc_icreate() argument 1274 xfs_filblks_t dblocks, rblocks; in xfs_trans_alloc_ichange() local 1292 dblocks += ip->i_delayed_blks; in xfs_trans_alloc_ichange() 1301 pdqp, dblocks, 1, qflags); in xfs_trans_alloc_ichange() 1352 unsigned int *dblocks, in xfs_trans_alloc_dir() argument 1364 resblks = *dblocks; in xfs_trans_alloc_dir() [all …]
|
| A D | xfs_quota.h | 102 int64_t dblocks, int64_t rblocks, bool force); 108 struct xfs_dquot *pdqp, int64_t dblocks); 174 struct xfs_inode *ip, int64_t dblocks, int64_t rblocks, in xfs_trans_reserve_quota_nblks() argument 189 struct xfs_dquot *gdqp, struct xfs_dquot *pdqp, int64_t dblocks) in xfs_trans_reserve_quota_icreate() argument
|
| A D | xfs_trans.h | 252 unsigned int dblocks, unsigned int rblocks, bool force, 255 unsigned int dblocks, unsigned int rblocks, bool force_quota); 258 struct xfs_dquot *pdqp, unsigned int dblocks, 264 struct xfs_inode *ip, unsigned int *dblocks,
|
| A D | xfs_rtalloc.h | 46 int xfs_growfs_check_rtgeom(const struct xfs_mount *mp, xfs_rfsblock_t dblocks, 68 xfs_rfsblock_t dblocks, xfs_rfsblock_t rblocks, in xfs_growfs_check_rtgeom() argument
|
| A D | xfs_reflink.c | 443 unsigned int dblocks = 0, rblocks = 0; in xfs_reflink_fill_cow_hole() local 451 dblocks = XFS_DIOSTRAT_SPACE_RES(mp, 0); in xfs_reflink_fill_cow_hole() 454 dblocks = XFS_DIOSTRAT_SPACE_RES(mp, resaligned); in xfs_reflink_fill_cow_hole() 461 error = xfs_trans_alloc_inode(ip, &M_RES(mp)->tr_write, dblocks, in xfs_reflink_fill_cow_hole() 1323 unsigned int dblocks, rblocks, resblks; in xfs_reflink_remap_extent() local 1355 dblocks = resblks; in xfs_reflink_remap_extent() 1358 dblocks = resblks + dmap->br_blockcount; in xfs_reflink_remap_extent() 1362 dblocks, rblocks, false, &tp); in xfs_reflink_remap_extent() 1443 dblocks = 0; in xfs_reflink_remap_extent() 1446 dblocks = dmap->br_blockcount; in xfs_reflink_remap_extent() [all …]
|
| A D | xfs_trans_dquot.c | 980 int64_t dblocks, in xfs_trans_reserve_quota_nblks() argument 1001 ip->i_gdquot, ip->i_pdquot, dblocks, 0, in xfs_trans_reserve_quota_nblks() 1012 ip->i_gdquot, ip->i_pdquot, -dblocks, 0, in xfs_trans_reserve_quota_nblks() 1027 int64_t dblocks) in xfs_trans_reserve_quota_icreate() argument 1035 dblocks, 1, XFS_QMOPT_RES_REGBLKS); in xfs_trans_reserve_quota_icreate()
|
| A D | xfs_iomap.c | 268 unsigned int dblocks, rblocks; in xfs_iomap_write_direct() local 279 dblocks = XFS_DIOSTRAT_SPACE_RES(mp, 0); in xfs_iomap_write_direct() 282 dblocks = XFS_DIOSTRAT_SPACE_RES(mp, resaligned); in xfs_iomap_write_direct() 308 dblocks = XFS_DIOSTRAT_SPACE_RES(mp, 0) << 1; in xfs_iomap_write_direct() 312 error = xfs_trans_alloc_inode(ip, &M_RES(mp)->tr_write, dblocks, in xfs_iomap_write_direct() 1104 unsigned int dblocks = 0, rblocks = 0; in xfs_atomic_write_cow_iomap_begin() local 1147 dblocks = XFS_DIOSTRAT_SPACE_RES(mp, 0); in xfs_atomic_write_cow_iomap_begin() 1150 dblocks = XFS_DIOSTRAT_SPACE_RES(mp, resaligned); in xfs_atomic_write_cow_iomap_begin() 1154 error = xfs_trans_alloc_inode(ip, &M_RES(mp)->tr_write, dblocks, in xfs_atomic_write_cow_iomap_begin()
|
| A D | xfs_bmap_util.c | 691 unsigned int dblocks, rblocks, resblks; in xfs_alloc_file_space() local 724 dblocks = XFS_DIOSTRAT_SPACE_RES(mp, 0); in xfs_alloc_file_space() 727 dblocks = XFS_DIOSTRAT_SPACE_RES(mp, resblks); in xfs_alloc_file_space() 732 dblocks, rblocks, false, &tp); in xfs_alloc_file_space()
|
| A D | xfs_mount.c | 387 uint64_t dblocks = mp->m_sb.sb_dblocks; in xfs_set_low_space_thresholds() local 391 do_div(dblocks, 100); in xfs_set_low_space_thresholds() 395 mp->m_low_space[i] = dblocks * (i + 1); in xfs_set_low_space_thresholds()
|
| A D | xfs_qm.c | 2037 xfs_filblks_t dblocks, rblocks; in xfs_qm_vop_chown() local 2049 xfs_inode_count_blocks(tp, ip, &dblocks, &rblocks); in xfs_qm_vop_chown() 2052 -(xfs_qcnt_t)dblocks); in xfs_qm_vop_chown() 2058 xfs_trans_mod_ino_dquot(tp, ip, newdq, XFS_TRANS_DQ_BCOUNT, dblocks); in xfs_qm_vop_chown()
|
| A D | xfs_inode.h | 672 xfs_filblks_t *dblocks, xfs_filblks_t *rblocks);
|
| A D | xfs_rtalloc.c | 1234 xfs_rfsblock_t dblocks, in xfs_growfs_check_rtgeom() argument 1244 nmp->m_sb.sb_dblocks = dblocks; in xfs_growfs_check_rtgeom()
|
| A D | xfs_inode.c | 2978 xfs_filblks_t *dblocks, in xfs_inode_count_blocks() argument 2986 *dblocks = ip->i_nblocks - *rblocks; in xfs_inode_count_blocks()
|
| /fs/xfs/libxfs/ |
| A D | xfs_ag.c | 142 xfs_rfsblock_t dblocks) in __xfs_ag_block_count() argument 148 return dblocks - (agno * mp->m_sb.sb_agblocks); in __xfs_ag_block_count() 222 xfs_rfsblock_t dblocks) in xfs_perag_alloc() argument 246 dblocks); in xfs_perag_alloc() 269 xfs_rfsblock_t dblocks, in xfs_initialize_perag() argument 279 error = xfs_perag_alloc(mp, index, new_agcount, 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()
|
| /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()
|