| /linux/fs/xfs/ |
| H A D | xfs_trans.c | 1065 unsigned int dblocks, in xfs_trans_alloc_inode() argument 1076 error = xfs_trans_alloc(mp, resv, dblocks, in xfs_trans_alloc_inode() 1092 error = xfs_trans_reserve_quota_nblks(tp, ip, dblocks, rblocks, force); in xfs_trans_alloc_inode() 1149 unsigned int dblocks, in xfs_trans_reserve_more_inode() argument 1159 error = xfs_trans_reserve_more(tp, dblocks, rtx); in xfs_trans_reserve_more_inode() 1169 error = xfs_trans_reserve_quota_nblks(tp, ip, dblocks, rblocks, in xfs_trans_reserve_more_inode() 1175 xfs_add_fdblocks(mp, dblocks); in xfs_trans_reserve_more_inode() 1176 tp->t_blk_res -= dblocks; in xfs_trans_reserve_more_inode() 1193 unsigned int dblocks, in xfs_trans_alloc_icreate() argument 1201 error = xfs_trans_alloc(mp, resv, dblocks, 0, 0, &tp); in xfs_trans_alloc_icreate() [all …]
|
| H 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
|
| H 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
|
| H 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,
|
| H 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 …]
|
| H A D | xfs_iomap.c | 277 unsigned int dblocks, rblocks; in xfs_iomap_write_direct() local 288 dblocks = XFS_DIOSTRAT_SPACE_RES(mp, 0); in xfs_iomap_write_direct() 291 dblocks = XFS_DIOSTRAT_SPACE_RES(mp, resaligned); in xfs_iomap_write_direct() 317 dblocks = XFS_DIOSTRAT_SPACE_RES(mp, 0) << 1; in xfs_iomap_write_direct() 321 error = xfs_trans_alloc_inode(ip, &M_RES(mp)->tr_write, dblocks, in xfs_iomap_write_direct() 1137 unsigned int dblocks = 0, rblocks = 0; in xfs_atomic_write_cow_iomap_begin() local 1188 dblocks = XFS_DIOSTRAT_SPACE_RES(mp, 0); in xfs_atomic_write_cow_iomap_begin() 1191 dblocks = XFS_DIOSTRAT_SPACE_RES(mp, resaligned); in xfs_atomic_write_cow_iomap_begin() 1195 error = xfs_trans_alloc_inode(ip, &M_RES(mp)->tr_write, dblocks, in xfs_atomic_write_cow_iomap_begin()
|
| H 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()
|
| H 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()
|
| H A D | xfs_inode.h | 672 xfs_filblks_t *dblocks, xfs_filblks_t *rblocks);
|
| H A D | xfs_inode.c | 2989 xfs_filblks_t *dblocks, in xfs_inode_count_blocks() argument 2997 *dblocks = ip->i_nblocks - *rblocks; in xfs_inode_count_blocks()
|
| /linux/fs/xfs/libxfs/ |
| H 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()
|
| H 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()
|