• Home
  • Raw
  • Download

Lines Matching refs:xfs_calc_buf_res

48 xfs_calc_buf_res(  in xfs_calc_buf_res()  function
137 return xfs_calc_buf_res(M_IGEO(mp)->inobt_maxlevels, in xfs_calc_inobt_res()
139 xfs_calc_buf_res(xfs_allocfree_log_count(mp, 1), in xfs_calc_inobt_res()
186 res = xfs_calc_buf_res(xfs_allocfree_log_count(mp, 1), in xfs_calc_inode_chunk_res()
195 res += xfs_calc_buf_res(M_IGEO(mp)->ialloc_blks, size); in xfs_calc_inode_chunk_res()
267 xfs_calc_buf_res(XFS_BM_MAXLEVELS(mp, XFS_DATA_FORK), blksz) + in xfs_calc_write_reservation()
268 xfs_calc_buf_res(3, mp->m_sb.sb_sectsize) + in xfs_calc_write_reservation()
269 xfs_calc_buf_res(xfs_allocfree_log_count(mp, 2), blksz); in xfs_calc_write_reservation()
273 xfs_calc_buf_res(XFS_BM_MAXLEVELS(mp, XFS_DATA_FORK), in xfs_calc_write_reservation()
275 xfs_calc_buf_res(3, mp->m_sb.sb_sectsize) + in xfs_calc_write_reservation()
276 xfs_calc_buf_res(xfs_rtalloc_log_count(mp, 1), blksz) + in xfs_calc_write_reservation()
277 xfs_calc_buf_res(xfs_allocfree_log_count(mp, 1), blksz); in xfs_calc_write_reservation()
282 t3 = xfs_calc_buf_res(5, mp->m_sb.sb_sectsize) + in xfs_calc_write_reservation()
283 xfs_calc_buf_res(xfs_allocfree_log_count(mp, 2), blksz); in xfs_calc_write_reservation()
315 xfs_calc_buf_res(XFS_BM_MAXLEVELS(mp, XFS_DATA_FORK) + 1, blksz); in xfs_calc_itruncate_reservation()
317 t2 = xfs_calc_buf_res(9, mp->m_sb.sb_sectsize) + in xfs_calc_itruncate_reservation()
318 xfs_calc_buf_res(xfs_allocfree_log_count(mp, 4), blksz); in xfs_calc_itruncate_reservation()
321 t3 = xfs_calc_buf_res(5, mp->m_sb.sb_sectsize) + in xfs_calc_itruncate_reservation()
322 xfs_calc_buf_res(xfs_rtalloc_log_count(mp, 2), blksz) + in xfs_calc_itruncate_reservation()
323 xfs_calc_buf_res(xfs_allocfree_log_count(mp, 2), blksz); in xfs_calc_itruncate_reservation()
349 xfs_calc_buf_res(2 * XFS_DIROP_LOG_COUNT(mp), in xfs_calc_rename_reservation()
351 (xfs_calc_buf_res(7, mp->m_sb.sb_sectsize) + in xfs_calc_rename_reservation()
352 xfs_calc_buf_res(xfs_allocfree_log_count(mp, 3), in xfs_calc_rename_reservation()
366 return xfs_calc_buf_res(1, mp->m_sb.sb_sectsize) + in xfs_calc_iunlink_remove_reservation()
389 xfs_calc_buf_res(XFS_DIROP_LOG_COUNT(mp), in xfs_calc_link_reservation()
391 (xfs_calc_buf_res(3, mp->m_sb.sb_sectsize) + in xfs_calc_link_reservation()
392 xfs_calc_buf_res(xfs_allocfree_log_count(mp, 1), in xfs_calc_link_reservation()
404 return xfs_calc_buf_res(1, mp->m_sb.sb_sectsize) + in xfs_calc_iunlink_add_reservation()
427 xfs_calc_buf_res(XFS_DIROP_LOG_COUNT(mp), in xfs_calc_remove_reservation()
429 (xfs_calc_buf_res(4, mp->m_sb.sb_sectsize) + in xfs_calc_remove_reservation()
430 xfs_calc_buf_res(xfs_allocfree_log_count(mp, 2), in xfs_calc_remove_reservation()
455 xfs_calc_buf_res(1, mp->m_sb.sb_sectsize) + in xfs_calc_create_resv_modify()
457 xfs_calc_buf_res(XFS_DIROP_LOG_COUNT(mp), XFS_FSB_TO_B(mp, 1)) + in xfs_calc_create_resv_modify()
473 return xfs_calc_buf_res(2, mp->m_sb.sb_sectsize) + in xfs_calc_icreate_resv_alloc()
519 xfs_calc_buf_res(1, XFS_SYMLINK_MAXLEN); in xfs_calc_symlink_reservation()
543 xfs_calc_buf_res(3, mp->m_sb.sb_sectsize) + in xfs_calc_ifree_reservation()
560 xfs_calc_buf_res(1, mp->m_sb.sb_sectsize); in xfs_calc_ichange_reservation()
574 return xfs_calc_buf_res(3, mp->m_sb.sb_sectsize) + in xfs_calc_growdata_reservation()
575 xfs_calc_buf_res(xfs_allocfree_log_count(mp, 1), in xfs_calc_growdata_reservation()
593 return xfs_calc_buf_res(2, mp->m_sb.sb_sectsize) + in xfs_calc_growrtalloc_reservation()
594 xfs_calc_buf_res(XFS_BM_MAXLEVELS(mp, XFS_DATA_FORK), in xfs_calc_growrtalloc_reservation()
597 xfs_calc_buf_res(xfs_allocfree_log_count(mp, 1), in xfs_calc_growrtalloc_reservation()
610 return xfs_calc_buf_res(1, mp->m_sb.sb_blocksize); in xfs_calc_growrtzero_reservation()
627 return xfs_calc_buf_res(1, mp->m_sb.sb_sectsize) + in xfs_calc_growrtfree_reservation()
629 xfs_calc_buf_res(1, mp->m_sb.sb_blocksize) + in xfs_calc_growrtfree_reservation()
630 xfs_calc_buf_res(1, mp->m_rsumsize); in xfs_calc_growrtfree_reservation()
669 xfs_calc_buf_res(2, mp->m_sb.sb_sectsize) + in xfs_calc_addafork_reservation()
670 xfs_calc_buf_res(1, mp->m_dir_geo->blksize) + in xfs_calc_addafork_reservation()
671 xfs_calc_buf_res(XFS_DAENTER_BMAP1B(mp, XFS_DATA_FORK) + 1, in xfs_calc_addafork_reservation()
673 xfs_calc_buf_res(xfs_allocfree_log_count(mp, 1), in xfs_calc_addafork_reservation()
693 xfs_calc_buf_res(XFS_BM_MAXLEVELS(mp, XFS_ATTR_FORK), in xfs_calc_attrinval_reservation()
695 (xfs_calc_buf_res(9, mp->m_sb.sb_sectsize) + in xfs_calc_attrinval_reservation()
696 xfs_calc_buf_res(xfs_allocfree_log_count(mp, 4), in xfs_calc_attrinval_reservation()
717 xfs_calc_buf_res(1, mp->m_sb.sb_sectsize) + in xfs_calc_attrsetm_reservation()
718 xfs_calc_buf_res(XFS_DA_NODE_MAXDEPTH, XFS_FSB_TO_B(mp, 1)); in xfs_calc_attrsetm_reservation()
735 return xfs_calc_buf_res(1, mp->m_sb.sb_sectsize) + in xfs_calc_attrsetrt_reservation()
736 xfs_calc_buf_res(XFS_BM_MAXLEVELS(mp, XFS_ATTR_FORK), in xfs_calc_attrsetrt_reservation()
757 xfs_calc_buf_res(XFS_DA_NODE_MAXDEPTH, in xfs_calc_attrrm_reservation()
761 xfs_calc_buf_res(XFS_BM_MAXLEVELS(mp, XFS_DATA_FORK), 0)), in xfs_calc_attrrm_reservation()
762 (xfs_calc_buf_res(5, mp->m_sb.sb_sectsize) + in xfs_calc_attrrm_reservation()
763 xfs_calc_buf_res(xfs_allocfree_log_count(mp, 2), in xfs_calc_attrrm_reservation()
774 return xfs_calc_buf_res(1, mp->m_sb.sb_sectsize); in xfs_calc_clear_agi_bucket_reservation()
784 return xfs_calc_buf_res(1, sizeof(struct xfs_disk_dquot)); in xfs_calc_qm_setqlim_reservation()
797 xfs_calc_buf_res(1, in xfs_calc_qm_dqalloc_reservation()
809 return xfs_calc_buf_res(1, mp->m_sb.sb_sectsize); in xfs_calc_sb_reservation()