Lines Matching refs:blksz
220 unsigned int blksz = XFS_FSB_TO_B(mp, 1); in xfs_rtalloc_block_count() local
224 return (howmany(rtbmp_bytes, blksz) + 1) * num_ops; in xfs_rtalloc_block_count()
260 unsigned int blksz = XFS_FSB_TO_B(mp, 1); in xfs_calc_refcountbt_reservation() local
266 xfs_calc_buf_res(xfs_refcountbt_block_count(mp, nr_ops), blksz); in xfs_calc_refcountbt_reservation()
298 unsigned int blksz = XFS_FSB_TO_B(mp, 1); in xfs_calc_write_reservation() local
301 xfs_calc_buf_res(XFS_BM_MAXLEVELS(mp, XFS_DATA_FORK), blksz) + in xfs_calc_write_reservation()
303 xfs_calc_buf_res(xfs_allocfree_block_count(mp, 2), blksz); in xfs_calc_write_reservation()
308 blksz) + in xfs_calc_write_reservation()
310 xfs_calc_buf_res(xfs_rtalloc_block_count(mp, 1), blksz) + in xfs_calc_write_reservation()
311 xfs_calc_buf_res(xfs_allocfree_block_count(mp, 1), blksz); in xfs_calc_write_reservation()
317 xfs_calc_buf_res(xfs_allocfree_block_count(mp, 2), blksz); in xfs_calc_write_reservation()
334 blksz); in xfs_calc_write_reservation()
378 unsigned int blksz = XFS_FSB_TO_B(mp, 1); in xfs_calc_itruncate_reservation() local
381 xfs_calc_buf_res(XFS_BM_MAXLEVELS(mp, XFS_DATA_FORK) + 1, blksz); in xfs_calc_itruncate_reservation()
384 xfs_calc_buf_res(xfs_allocfree_block_count(mp, 4), blksz); in xfs_calc_itruncate_reservation()
388 xfs_calc_buf_res(xfs_rtalloc_block_count(mp, 2), blksz) + in xfs_calc_itruncate_reservation()
389 xfs_calc_buf_res(xfs_allocfree_block_count(mp, 2), blksz); in xfs_calc_itruncate_reservation()
407 blksz); in xfs_calc_itruncate_reservation()