Lines Matching refs:xfs_calc_buf_res

50 xfs_calc_buf_res(  in xfs_calc_buf_res()  function
139 return xfs_calc_buf_res(mp->m_in_maxlevels, XFS_FSB_TO_B(mp, 1)) + in xfs_calc_inobt_res()
140 xfs_calc_buf_res(xfs_allocfree_log_count(mp, 1), in xfs_calc_inobt_res()
187 res = xfs_calc_buf_res(xfs_allocfree_log_count(mp, 1), in xfs_calc_inode_chunk_res()
196 res += xfs_calc_buf_res(mp->m_ialloc_blks, size); in xfs_calc_inode_chunk_res()
268 xfs_calc_buf_res(XFS_BM_MAXLEVELS(mp, XFS_DATA_FORK), blksz) + in xfs_calc_write_reservation()
269 xfs_calc_buf_res(3, mp->m_sb.sb_sectsize) + in xfs_calc_write_reservation()
270 xfs_calc_buf_res(xfs_allocfree_log_count(mp, 2), blksz); in xfs_calc_write_reservation()
274 xfs_calc_buf_res(XFS_BM_MAXLEVELS(mp, XFS_DATA_FORK), in xfs_calc_write_reservation()
276 xfs_calc_buf_res(3, mp->m_sb.sb_sectsize) + in xfs_calc_write_reservation()
277 xfs_calc_buf_res(xfs_rtalloc_log_count(mp, 1), blksz) + in xfs_calc_write_reservation()
278 xfs_calc_buf_res(xfs_allocfree_log_count(mp, 1), blksz); in xfs_calc_write_reservation()
283 t3 = xfs_calc_buf_res(5, mp->m_sb.sb_sectsize) + in xfs_calc_write_reservation()
284 xfs_calc_buf_res(xfs_allocfree_log_count(mp, 2), blksz); in xfs_calc_write_reservation()
316 xfs_calc_buf_res(XFS_BM_MAXLEVELS(mp, XFS_DATA_FORK) + 1, blksz); in xfs_calc_itruncate_reservation()
318 t2 = xfs_calc_buf_res(9, mp->m_sb.sb_sectsize) + in xfs_calc_itruncate_reservation()
319 xfs_calc_buf_res(xfs_allocfree_log_count(mp, 4), blksz); in xfs_calc_itruncate_reservation()
322 t3 = xfs_calc_buf_res(5, mp->m_sb.sb_sectsize) + in xfs_calc_itruncate_reservation()
323 xfs_calc_buf_res(xfs_rtalloc_log_count(mp, 2), blksz) + in xfs_calc_itruncate_reservation()
324 xfs_calc_buf_res(xfs_allocfree_log_count(mp, 2), blksz); in xfs_calc_itruncate_reservation()
350 xfs_calc_buf_res(2 * XFS_DIROP_LOG_COUNT(mp), in xfs_calc_rename_reservation()
352 (xfs_calc_buf_res(7, mp->m_sb.sb_sectsize) + in xfs_calc_rename_reservation()
353 xfs_calc_buf_res(xfs_allocfree_log_count(mp, 3), in xfs_calc_rename_reservation()
367 return xfs_calc_buf_res(1, mp->m_sb.sb_sectsize) + in xfs_calc_iunlink_remove_reservation()
390 xfs_calc_buf_res(XFS_DIROP_LOG_COUNT(mp), in xfs_calc_link_reservation()
392 (xfs_calc_buf_res(3, mp->m_sb.sb_sectsize) + in xfs_calc_link_reservation()
393 xfs_calc_buf_res(xfs_allocfree_log_count(mp, 1), in xfs_calc_link_reservation()
405 return xfs_calc_buf_res(1, mp->m_sb.sb_sectsize) + in xfs_calc_iunlink_add_reservation()
428 xfs_calc_buf_res(XFS_DIROP_LOG_COUNT(mp), in xfs_calc_remove_reservation()
430 (xfs_calc_buf_res(4, mp->m_sb.sb_sectsize) + in xfs_calc_remove_reservation()
431 xfs_calc_buf_res(xfs_allocfree_log_count(mp, 2), in xfs_calc_remove_reservation()
456 xfs_calc_buf_res(1, mp->m_sb.sb_sectsize) + in xfs_calc_create_resv_modify()
458 xfs_calc_buf_res(XFS_DIROP_LOG_COUNT(mp), XFS_FSB_TO_B(mp, 1)) + in xfs_calc_create_resv_modify()
474 return xfs_calc_buf_res(2, mp->m_sb.sb_sectsize) + in xfs_calc_icreate_resv_alloc()
520 xfs_calc_buf_res(1, XFS_SYMLINK_MAXLEN); in xfs_calc_symlink_reservation()
544 xfs_calc_buf_res(3, mp->m_sb.sb_sectsize) + in xfs_calc_ifree_reservation()
561 xfs_calc_buf_res(1, mp->m_sb.sb_sectsize); in xfs_calc_ichange_reservation()
575 return xfs_calc_buf_res(3, mp->m_sb.sb_sectsize) + in xfs_calc_growdata_reservation()
576 xfs_calc_buf_res(xfs_allocfree_log_count(mp, 1), in xfs_calc_growdata_reservation()
594 return xfs_calc_buf_res(2, mp->m_sb.sb_sectsize) + in xfs_calc_growrtalloc_reservation()
595 xfs_calc_buf_res(XFS_BM_MAXLEVELS(mp, XFS_DATA_FORK), in xfs_calc_growrtalloc_reservation()
598 xfs_calc_buf_res(xfs_allocfree_log_count(mp, 1), in xfs_calc_growrtalloc_reservation()
611 return xfs_calc_buf_res(1, mp->m_sb.sb_blocksize); in xfs_calc_growrtzero_reservation()
628 return xfs_calc_buf_res(1, mp->m_sb.sb_sectsize) + in xfs_calc_growrtfree_reservation()
630 xfs_calc_buf_res(1, mp->m_sb.sb_blocksize) + in xfs_calc_growrtfree_reservation()
631 xfs_calc_buf_res(1, mp->m_rsumsize); in xfs_calc_growrtfree_reservation()
670 xfs_calc_buf_res(2, mp->m_sb.sb_sectsize) + in xfs_calc_addafork_reservation()
671 xfs_calc_buf_res(1, mp->m_dir_geo->blksize) + in xfs_calc_addafork_reservation()
672 xfs_calc_buf_res(XFS_DAENTER_BMAP1B(mp, XFS_DATA_FORK) + 1, in xfs_calc_addafork_reservation()
674 xfs_calc_buf_res(xfs_allocfree_log_count(mp, 1), in xfs_calc_addafork_reservation()
694 xfs_calc_buf_res(XFS_BM_MAXLEVELS(mp, XFS_ATTR_FORK), in xfs_calc_attrinval_reservation()
696 (xfs_calc_buf_res(9, mp->m_sb.sb_sectsize) + in xfs_calc_attrinval_reservation()
697 xfs_calc_buf_res(xfs_allocfree_log_count(mp, 4), in xfs_calc_attrinval_reservation()
718 xfs_calc_buf_res(1, mp->m_sb.sb_sectsize) + in xfs_calc_attrsetm_reservation()
719 xfs_calc_buf_res(XFS_DA_NODE_MAXDEPTH, XFS_FSB_TO_B(mp, 1)); in xfs_calc_attrsetm_reservation()
736 return xfs_calc_buf_res(1, mp->m_sb.sb_sectsize) + in xfs_calc_attrsetrt_reservation()
737 xfs_calc_buf_res(XFS_BM_MAXLEVELS(mp, XFS_ATTR_FORK), in xfs_calc_attrsetrt_reservation()
758 xfs_calc_buf_res(XFS_DA_NODE_MAXDEPTH, in xfs_calc_attrrm_reservation()
762 xfs_calc_buf_res(XFS_BM_MAXLEVELS(mp, XFS_DATA_FORK), 0)), in xfs_calc_attrrm_reservation()
763 (xfs_calc_buf_res(5, mp->m_sb.sb_sectsize) + in xfs_calc_attrrm_reservation()
764 xfs_calc_buf_res(xfs_allocfree_log_count(mp, 2), in xfs_calc_attrrm_reservation()
775 return xfs_calc_buf_res(1, mp->m_sb.sb_sectsize); in xfs_calc_clear_agi_bucket_reservation()
785 return xfs_calc_buf_res(1, sizeof(struct xfs_disk_dquot)); in xfs_calc_qm_setqlim_reservation()
798 xfs_calc_buf_res(1, in xfs_calc_qm_dqalloc_reservation()
812 xfs_calc_buf_res(1, mp->m_sb.sb_sectsize); in xfs_calc_qm_quotaoff_reservation()
833 return xfs_calc_buf_res(1, mp->m_sb.sb_sectsize); in xfs_calc_sb_reservation()