Lines Matching refs:blksz
264 unsigned int blksz = XFS_FSB_TO_B(mp, 1); in xfs_calc_refcountbt_reservation() local
270 xfs_calc_buf_res(xfs_refcountbt_block_count(mp, nr_ops), blksz); in xfs_calc_refcountbt_reservation()
302 unsigned int blksz = XFS_FSB_TO_B(mp, 1); in xfs_calc_write_reservation() local
305 xfs_calc_buf_res(XFS_BM_MAXLEVELS(mp, XFS_DATA_FORK), blksz) + in xfs_calc_write_reservation()
307 xfs_calc_buf_res(xfs_allocfree_block_count(mp, 2), blksz); in xfs_calc_write_reservation()
312 blksz) + in xfs_calc_write_reservation()
314 xfs_calc_buf_res(xfs_rtalloc_block_count(mp, 1), blksz) + in xfs_calc_write_reservation()
315 xfs_calc_buf_res(xfs_allocfree_block_count(mp, 1), blksz); in xfs_calc_write_reservation()
321 xfs_calc_buf_res(xfs_allocfree_block_count(mp, 2), blksz); in xfs_calc_write_reservation()
338 blksz); in xfs_calc_write_reservation()
382 unsigned int blksz = XFS_FSB_TO_B(mp, 1); in xfs_calc_itruncate_reservation() local
385 xfs_calc_buf_res(XFS_BM_MAXLEVELS(mp, XFS_DATA_FORK) + 1, blksz); in xfs_calc_itruncate_reservation()
388 xfs_calc_buf_res(xfs_allocfree_block_count(mp, 4), blksz); in xfs_calc_itruncate_reservation()
392 xfs_calc_buf_res(xfs_rtalloc_block_count(mp, 2), blksz) + in xfs_calc_itruncate_reservation()
393 xfs_calc_buf_res(xfs_allocfree_block_count(mp, 2), blksz); in xfs_calc_itruncate_reservation()
411 blksz); in xfs_calc_itruncate_reservation()