Home
last modified time | relevance | path

Searched refs:dblocks (Results 1 – 10 of 10) sorted by relevance

/linux/fs/xfs/
H A Dxfs_trans.c1069 unsigned int dblocks, in xfs_trans_alloc_inode() argument
1080 error = xfs_trans_alloc(mp, resv, dblocks, in xfs_trans_alloc_inode()
1096 error = xfs_trans_reserve_quota_nblks(tp, ip, dblocks, rblocks, force); in xfs_trans_alloc_inode()
1153 unsigned int dblocks, in xfs_trans_reserve_more_inode() argument
1163 error = xfs_trans_reserve_more(tp, dblocks, rtx); in xfs_trans_reserve_more_inode()
1173 error = xfs_trans_reserve_quota_nblks(tp, ip, dblocks, rblocks, in xfs_trans_reserve_more_inode()
1179 xfs_add_fdblocks(mp, dblocks); in xfs_trans_reserve_more_inode()
1180 tp->t_blk_res -= dblocks; in xfs_trans_reserve_more_inode()
1197 unsigned int dblocks, in xfs_trans_alloc_icreate() argument
1206 error = xfs_trans_alloc(mp, resv, dblocks, 0, 0, &tp); in xfs_trans_alloc_icreate()
[all …]
H A Dxfs_quota.h102 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
H A Dxfs_rtalloc.h46 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
H A Dxfs_reflink.c443 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 …]
H A Dxfs_mount.c385 uint64_t dblocks = mp->m_sb.sb_dblocks; in xfs_set_low_space_thresholds() local
389 do_div(dblocks, 100); in xfs_set_low_space_thresholds()
393 mp->m_low_space[i] = dblocks * (i + 1); in xfs_set_low_space_thresholds()
H A Dxfs_qm.c1965 xfs_filblks_t dblocks, rblocks; in xfs_qm_vop_chown() local
1977 xfs_inode_count_blocks(tp, ip, &dblocks, &rblocks); in xfs_qm_vop_chown()
1980 -(xfs_qcnt_t)dblocks); in xfs_qm_vop_chown()
1986 xfs_trans_mod_ino_dquot(tp, ip, newdq, XFS_TRANS_DQ_BCOUNT, dblocks); in xfs_qm_vop_chown()
H A Dxfs_inode.h672 xfs_filblks_t *dblocks, xfs_filblks_t *rblocks);
H A Dxfs_rtalloc.c1264 xfs_rfsblock_t dblocks, in xfs_growfs_check_rtgeom() argument
1274 nmp->m_sb.sb_dblocks = dblocks; in xfs_growfs_check_rtgeom()
H A Dxfs_inode.c2984 xfs_filblks_t *dblocks, in xfs_inode_count_blocks() argument
2992 *dblocks = ip->i_nblocks - *rblocks; in xfs_inode_count_blocks()
/linux/fs/xfs/libxfs/
H A Dxfs_ag.c139 xfs_rfsblock_t dblocks) in __xfs_ag_block_count() argument
145 return dblocks - (agno * mp->m_sb.sb_agblocks); in __xfs_ag_block_count()
219 xfs_rfsblock_t dblocks) in xfs_perag_alloc() argument
239 dblocks); in xfs_perag_alloc()
260 xfs_rfsblock_t dblocks, in xfs_initialize_perag() argument
270 error = xfs_perag_alloc(mp, index, new_agcount, dblocks); in xfs_initialize_perag()