Lines Matching refs:mp
67 struct xfs_mount *mp, in xfs_allocfree_block_count() argument
72 blocks = num_ops * 2 * (2 * mp->m_alloc_maxlevels - 1); in xfs_allocfree_block_count()
73 if (xfs_has_rmapbt(mp)) in xfs_allocfree_block_count()
74 blocks += num_ops * (2 * mp->m_rmap_maxlevels - 1); in xfs_allocfree_block_count()
86 struct xfs_mount *mp, in xfs_refcountbt_block_count() argument
89 return num_ops * (2 * mp->m_refc_maxlevels - 1); in xfs_refcountbt_block_count()
123 struct xfs_mount *mp, in xfs_calc_inode_res() argument
129 mp->m_sb.sb_inodesize + in xfs_calc_inode_res()
130 2 * XFS_BMBT_BLOCK_LEN(mp)); in xfs_calc_inode_res()
145 struct xfs_mount *mp) in xfs_calc_inobt_res() argument
147 return xfs_calc_buf_res(M_IGEO(mp)->inobt_maxlevels, in xfs_calc_inobt_res()
148 XFS_FSB_TO_B(mp, 1)) + in xfs_calc_inobt_res()
149 xfs_calc_buf_res(xfs_allocfree_block_count(mp, 1), in xfs_calc_inobt_res()
150 XFS_FSB_TO_B(mp, 1)); in xfs_calc_inobt_res()
166 struct xfs_mount *mp) in xfs_calc_finobt_res() argument
168 if (!xfs_has_finobt(mp)) in xfs_calc_finobt_res()
171 return xfs_calc_inobt_res(mp); in xfs_calc_finobt_res()
191 struct xfs_mount *mp, in xfs_calc_inode_chunk_res() argument
196 res = xfs_calc_buf_res(xfs_allocfree_block_count(mp, 1), in xfs_calc_inode_chunk_res()
197 XFS_FSB_TO_B(mp, 1)); in xfs_calc_inode_chunk_res()
200 if (xfs_has_v3inodes(mp)) in xfs_calc_inode_chunk_res()
202 size = XFS_FSB_TO_B(mp, 1); in xfs_calc_inode_chunk_res()
205 res += xfs_calc_buf_res(M_IGEO(mp)->ialloc_blks, size); in xfs_calc_inode_chunk_res()
217 struct xfs_mount *mp, in xfs_rtalloc_block_count() argument
220 unsigned int blksz = XFS_FSB_TO_B(mp, 1); in xfs_rtalloc_block_count()
223 rtbmp_bytes = (XFS_MAX_BMBT_EXTLEN / mp->m_sb.sb_rextsize) / NBBY; in xfs_rtalloc_block_count()
257 struct xfs_mount *mp, in xfs_calc_refcountbt_reservation() argument
260 unsigned int blksz = XFS_FSB_TO_B(mp, 1); in xfs_calc_refcountbt_reservation()
262 if (!xfs_has_reflink(mp)) in xfs_calc_refcountbt_reservation()
265 return xfs_calc_buf_res(nr_ops, mp->m_sb.sb_sectsize) + in xfs_calc_refcountbt_reservation()
266 xfs_calc_buf_res(xfs_refcountbt_block_count(mp, nr_ops), blksz); in xfs_calc_refcountbt_reservation()
294 struct xfs_mount *mp, in xfs_calc_write_reservation() argument
298 unsigned int blksz = XFS_FSB_TO_B(mp, 1); in xfs_calc_write_reservation()
300 t1 = xfs_calc_inode_res(mp, 1) + in xfs_calc_write_reservation()
301 xfs_calc_buf_res(XFS_BM_MAXLEVELS(mp, XFS_DATA_FORK), blksz) + in xfs_calc_write_reservation()
302 xfs_calc_buf_res(3, mp->m_sb.sb_sectsize) + in xfs_calc_write_reservation()
303 xfs_calc_buf_res(xfs_allocfree_block_count(mp, 2), blksz); in xfs_calc_write_reservation()
305 if (xfs_has_realtime(mp)) { in xfs_calc_write_reservation()
306 t2 = xfs_calc_inode_res(mp, 1) + in xfs_calc_write_reservation()
307 xfs_calc_buf_res(XFS_BM_MAXLEVELS(mp, XFS_DATA_FORK), in xfs_calc_write_reservation()
309 xfs_calc_buf_res(3, mp->m_sb.sb_sectsize) + 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()
316 t3 = xfs_calc_buf_res(5, mp->m_sb.sb_sectsize) + in xfs_calc_write_reservation()
317 xfs_calc_buf_res(xfs_allocfree_block_count(mp, 2), blksz); in xfs_calc_write_reservation()
331 if (xfs_has_reflink(mp)) in xfs_calc_write_reservation()
333 xfs_refcountbt_block_count(mp, 2), in xfs_calc_write_reservation()
337 return XFS_DQUOT_LOGRES(mp) + max3(t1, t2, t3); in xfs_calc_write_reservation()
340 t4 = xfs_calc_refcountbt_reservation(mp, 1); in xfs_calc_write_reservation()
341 return XFS_DQUOT_LOGRES(mp) + max(t4, max3(t1, t2, t3)); in xfs_calc_write_reservation()
346 struct xfs_mount *mp) in xfs_calc_write_reservation_minlogsize() argument
348 return xfs_calc_write_reservation(mp, true); in xfs_calc_write_reservation_minlogsize()
374 struct xfs_mount *mp, in xfs_calc_itruncate_reservation() argument
378 unsigned int blksz = XFS_FSB_TO_B(mp, 1); in xfs_calc_itruncate_reservation()
380 t1 = xfs_calc_inode_res(mp, 1) + in xfs_calc_itruncate_reservation()
381 xfs_calc_buf_res(XFS_BM_MAXLEVELS(mp, XFS_DATA_FORK) + 1, blksz); in xfs_calc_itruncate_reservation()
383 t2 = xfs_calc_buf_res(9, mp->m_sb.sb_sectsize) + in xfs_calc_itruncate_reservation()
384 xfs_calc_buf_res(xfs_allocfree_block_count(mp, 4), blksz); in xfs_calc_itruncate_reservation()
386 if (xfs_has_realtime(mp)) { in xfs_calc_itruncate_reservation()
387 t3 = xfs_calc_buf_res(5, mp->m_sb.sb_sectsize) + 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()
404 if (xfs_has_reflink(mp)) in xfs_calc_itruncate_reservation()
406 xfs_refcountbt_block_count(mp, 4), in xfs_calc_itruncate_reservation()
409 return XFS_DQUOT_LOGRES(mp) + max3(t1, t2, t3); in xfs_calc_itruncate_reservation()
412 t4 = xfs_calc_refcountbt_reservation(mp, 2); in xfs_calc_itruncate_reservation()
413 return XFS_DQUOT_LOGRES(mp) + max(t4, max3(t1, t2, t3)); in xfs_calc_itruncate_reservation()
418 struct xfs_mount *mp) in xfs_calc_itruncate_reservation_minlogsize() argument
420 return xfs_calc_itruncate_reservation(mp, true); in xfs_calc_itruncate_reservation_minlogsize()
437 struct xfs_mount *mp) in xfs_calc_rename_reservation() argument
439 return XFS_DQUOT_LOGRES(mp) + in xfs_calc_rename_reservation()
440 max((xfs_calc_inode_res(mp, 5) + in xfs_calc_rename_reservation()
441 xfs_calc_buf_res(2 * XFS_DIROP_LOG_COUNT(mp), in xfs_calc_rename_reservation()
442 XFS_FSB_TO_B(mp, 1))), in xfs_calc_rename_reservation()
443 (xfs_calc_buf_res(7, mp->m_sb.sb_sectsize) + in xfs_calc_rename_reservation()
444 xfs_calc_buf_res(xfs_allocfree_block_count(mp, 3), in xfs_calc_rename_reservation()
445 XFS_FSB_TO_B(mp, 1)))); in xfs_calc_rename_reservation()
456 struct xfs_mount *mp) in xfs_calc_iunlink_remove_reservation() argument
458 return xfs_calc_buf_res(1, mp->m_sb.sb_sectsize) + in xfs_calc_iunlink_remove_reservation()
459 2 * M_IGEO(mp)->inode_cluster_size; in xfs_calc_iunlink_remove_reservation()
476 struct xfs_mount *mp) in xfs_calc_link_reservation() argument
478 return XFS_DQUOT_LOGRES(mp) + in xfs_calc_link_reservation()
479 xfs_calc_iunlink_remove_reservation(mp) + in xfs_calc_link_reservation()
480 max((xfs_calc_inode_res(mp, 2) + in xfs_calc_link_reservation()
481 xfs_calc_buf_res(XFS_DIROP_LOG_COUNT(mp), in xfs_calc_link_reservation()
482 XFS_FSB_TO_B(mp, 1))), in xfs_calc_link_reservation()
483 (xfs_calc_buf_res(3, mp->m_sb.sb_sectsize) + in xfs_calc_link_reservation()
484 xfs_calc_buf_res(xfs_allocfree_block_count(mp, 1), in xfs_calc_link_reservation()
485 XFS_FSB_TO_B(mp, 1)))); in xfs_calc_link_reservation()
494 xfs_calc_iunlink_add_reservation(xfs_mount_t *mp) in xfs_calc_iunlink_add_reservation() argument
496 return xfs_calc_buf_res(1, mp->m_sb.sb_sectsize) + in xfs_calc_iunlink_add_reservation()
497 M_IGEO(mp)->inode_cluster_size; in xfs_calc_iunlink_add_reservation()
514 struct xfs_mount *mp) in xfs_calc_remove_reservation() argument
516 return XFS_DQUOT_LOGRES(mp) + in xfs_calc_remove_reservation()
517 xfs_calc_iunlink_add_reservation(mp) + in xfs_calc_remove_reservation()
518 max((xfs_calc_inode_res(mp, 2) + in xfs_calc_remove_reservation()
519 xfs_calc_buf_res(XFS_DIROP_LOG_COUNT(mp), in xfs_calc_remove_reservation()
520 XFS_FSB_TO_B(mp, 1))), in xfs_calc_remove_reservation()
521 (xfs_calc_buf_res(4, mp->m_sb.sb_sectsize) + in xfs_calc_remove_reservation()
522 xfs_calc_buf_res(xfs_allocfree_block_count(mp, 2), in xfs_calc_remove_reservation()
523 XFS_FSB_TO_B(mp, 1)))); in xfs_calc_remove_reservation()
544 struct xfs_mount *mp) in xfs_calc_create_resv_modify() argument
546 return xfs_calc_inode_res(mp, 2) + in xfs_calc_create_resv_modify()
547 xfs_calc_buf_res(1, mp->m_sb.sb_sectsize) + in xfs_calc_create_resv_modify()
548 (uint)XFS_FSB_TO_B(mp, 1) + in xfs_calc_create_resv_modify()
549 xfs_calc_buf_res(XFS_DIROP_LOG_COUNT(mp), XFS_FSB_TO_B(mp, 1)) + in xfs_calc_create_resv_modify()
550 xfs_calc_finobt_res(mp); in xfs_calc_create_resv_modify()
563 struct xfs_mount *mp) in xfs_calc_icreate_resv_alloc() argument
565 return xfs_calc_buf_res(2, mp->m_sb.sb_sectsize) + in xfs_calc_icreate_resv_alloc()
566 mp->m_sb.sb_sectsize + in xfs_calc_icreate_resv_alloc()
567 xfs_calc_inode_chunk_res(mp, _ALLOC) + in xfs_calc_icreate_resv_alloc()
568 xfs_calc_inobt_res(mp) + in xfs_calc_icreate_resv_alloc()
569 xfs_calc_finobt_res(mp); in xfs_calc_icreate_resv_alloc()
573 xfs_calc_icreate_reservation(xfs_mount_t *mp) in xfs_calc_icreate_reservation() argument
575 return XFS_DQUOT_LOGRES(mp) + in xfs_calc_icreate_reservation()
576 max(xfs_calc_icreate_resv_alloc(mp), in xfs_calc_icreate_reservation()
577 xfs_calc_create_resv_modify(mp)); in xfs_calc_icreate_reservation()
582 struct xfs_mount *mp) in xfs_calc_create_tmpfile_reservation() argument
584 uint res = XFS_DQUOT_LOGRES(mp); in xfs_calc_create_tmpfile_reservation()
586 res += xfs_calc_icreate_resv_alloc(mp); in xfs_calc_create_tmpfile_reservation()
587 return res + xfs_calc_iunlink_add_reservation(mp); in xfs_calc_create_tmpfile_reservation()
595 struct xfs_mount *mp) in xfs_calc_mkdir_reservation() argument
597 return xfs_calc_icreate_reservation(mp); in xfs_calc_mkdir_reservation()
608 struct xfs_mount *mp) in xfs_calc_symlink_reservation() argument
610 return xfs_calc_icreate_reservation(mp) + in xfs_calc_symlink_reservation()
631 struct xfs_mount *mp) in xfs_calc_ifree_reservation() argument
633 return XFS_DQUOT_LOGRES(mp) + in xfs_calc_ifree_reservation()
634 xfs_calc_inode_res(mp, 1) + in xfs_calc_ifree_reservation()
635 xfs_calc_buf_res(3, mp->m_sb.sb_sectsize) + in xfs_calc_ifree_reservation()
636 xfs_calc_iunlink_remove_reservation(mp) + in xfs_calc_ifree_reservation()
637 xfs_calc_inode_chunk_res(mp, _FREE) + in xfs_calc_ifree_reservation()
638 xfs_calc_inobt_res(mp) + in xfs_calc_ifree_reservation()
639 xfs_calc_finobt_res(mp); in xfs_calc_ifree_reservation()
648 struct xfs_mount *mp) in xfs_calc_ichange_reservation() argument
650 return XFS_DQUOT_LOGRES(mp) + in xfs_calc_ichange_reservation()
651 xfs_calc_inode_res(mp, 1) + in xfs_calc_ichange_reservation()
652 xfs_calc_buf_res(1, mp->m_sb.sb_sectsize); in xfs_calc_ichange_reservation()
664 struct xfs_mount *mp) in xfs_calc_growdata_reservation() argument
666 return xfs_calc_buf_res(3, mp->m_sb.sb_sectsize) + in xfs_calc_growdata_reservation()
667 xfs_calc_buf_res(xfs_allocfree_block_count(mp, 1), in xfs_calc_growdata_reservation()
668 XFS_FSB_TO_B(mp, 1)); in xfs_calc_growdata_reservation()
683 struct xfs_mount *mp) in xfs_calc_growrtalloc_reservation() argument
685 return xfs_calc_buf_res(2, mp->m_sb.sb_sectsize) + in xfs_calc_growrtalloc_reservation()
686 xfs_calc_buf_res(XFS_BM_MAXLEVELS(mp, XFS_DATA_FORK), in xfs_calc_growrtalloc_reservation()
687 XFS_FSB_TO_B(mp, 1)) + in xfs_calc_growrtalloc_reservation()
688 xfs_calc_inode_res(mp, 1) + in xfs_calc_growrtalloc_reservation()
689 xfs_calc_buf_res(xfs_allocfree_block_count(mp, 1), in xfs_calc_growrtalloc_reservation()
690 XFS_FSB_TO_B(mp, 1)); in xfs_calc_growrtalloc_reservation()
700 struct xfs_mount *mp) in xfs_calc_growrtzero_reservation() argument
702 return xfs_calc_buf_res(1, mp->m_sb.sb_blocksize); in xfs_calc_growrtzero_reservation()
717 struct xfs_mount *mp) in xfs_calc_growrtfree_reservation() argument
719 return xfs_calc_buf_res(1, mp->m_sb.sb_sectsize) + in xfs_calc_growrtfree_reservation()
720 xfs_calc_inode_res(mp, 2) + in xfs_calc_growrtfree_reservation()
721 xfs_calc_buf_res(1, mp->m_sb.sb_blocksize) + in xfs_calc_growrtfree_reservation()
722 xfs_calc_buf_res(1, mp->m_rsumsize); in xfs_calc_growrtfree_reservation()
731 struct xfs_mount *mp) in xfs_calc_swrite_reservation() argument
733 return xfs_calc_inode_res(mp, 1); in xfs_calc_swrite_reservation()
742 struct xfs_mount *mp) in xfs_calc_writeid_reservation() argument
744 return xfs_calc_inode_res(mp, 1); in xfs_calc_writeid_reservation()
757 struct xfs_mount *mp) in xfs_calc_addafork_reservation() argument
759 return XFS_DQUOT_LOGRES(mp) + in xfs_calc_addafork_reservation()
760 xfs_calc_inode_res(mp, 1) + in xfs_calc_addafork_reservation()
761 xfs_calc_buf_res(2, mp->m_sb.sb_sectsize) + in xfs_calc_addafork_reservation()
762 xfs_calc_buf_res(1, mp->m_dir_geo->blksize) + in xfs_calc_addafork_reservation()
763 xfs_calc_buf_res(XFS_DAENTER_BMAP1B(mp, XFS_DATA_FORK) + 1, in xfs_calc_addafork_reservation()
764 XFS_FSB_TO_B(mp, 1)) + in xfs_calc_addafork_reservation()
765 xfs_calc_buf_res(xfs_allocfree_block_count(mp, 1), in xfs_calc_addafork_reservation()
766 XFS_FSB_TO_B(mp, 1)); in xfs_calc_addafork_reservation()
782 struct xfs_mount *mp) in xfs_calc_attrinval_reservation() argument
784 return max((xfs_calc_inode_res(mp, 1) + in xfs_calc_attrinval_reservation()
785 xfs_calc_buf_res(XFS_BM_MAXLEVELS(mp, XFS_ATTR_FORK), in xfs_calc_attrinval_reservation()
786 XFS_FSB_TO_B(mp, 1))), in xfs_calc_attrinval_reservation()
787 (xfs_calc_buf_res(9, mp->m_sb.sb_sectsize) + in xfs_calc_attrinval_reservation()
788 xfs_calc_buf_res(xfs_allocfree_block_count(mp, 4), in xfs_calc_attrinval_reservation()
789 XFS_FSB_TO_B(mp, 1)))); in xfs_calc_attrinval_reservation()
805 struct xfs_mount *mp) in xfs_calc_attrsetm_reservation() argument
807 return XFS_DQUOT_LOGRES(mp) + in xfs_calc_attrsetm_reservation()
808 xfs_calc_inode_res(mp, 1) + in xfs_calc_attrsetm_reservation()
809 xfs_calc_buf_res(1, mp->m_sb.sb_sectsize) + in xfs_calc_attrsetm_reservation()
810 xfs_calc_buf_res(XFS_DA_NODE_MAXDEPTH, XFS_FSB_TO_B(mp, 1)); in xfs_calc_attrsetm_reservation()
825 struct xfs_mount *mp) in xfs_calc_attrsetrt_reservation() argument
827 return xfs_calc_buf_res(1, mp->m_sb.sb_sectsize) + in xfs_calc_attrsetrt_reservation()
828 xfs_calc_buf_res(XFS_BM_MAXLEVELS(mp, XFS_ATTR_FORK), in xfs_calc_attrsetrt_reservation()
829 XFS_FSB_TO_B(mp, 1)); in xfs_calc_attrsetrt_reservation()
845 struct xfs_mount *mp) in xfs_calc_attrrm_reservation() argument
847 return XFS_DQUOT_LOGRES(mp) + in xfs_calc_attrrm_reservation()
848 max((xfs_calc_inode_res(mp, 1) + in xfs_calc_attrrm_reservation()
850 XFS_FSB_TO_B(mp, 1)) + in xfs_calc_attrrm_reservation()
851 (uint)XFS_FSB_TO_B(mp, in xfs_calc_attrrm_reservation()
852 XFS_BM_MAXLEVELS(mp, XFS_ATTR_FORK)) + in xfs_calc_attrrm_reservation()
853 xfs_calc_buf_res(XFS_BM_MAXLEVELS(mp, XFS_DATA_FORK), 0)), in xfs_calc_attrrm_reservation()
854 (xfs_calc_buf_res(5, mp->m_sb.sb_sectsize) + in xfs_calc_attrrm_reservation()
855 xfs_calc_buf_res(xfs_allocfree_block_count(mp, 2), in xfs_calc_attrrm_reservation()
856 XFS_FSB_TO_B(mp, 1)))); in xfs_calc_attrrm_reservation()
864 struct xfs_mount *mp) in xfs_calc_clear_agi_bucket_reservation() argument
866 return xfs_calc_buf_res(1, mp->m_sb.sb_sectsize); in xfs_calc_clear_agi_bucket_reservation()
886 struct xfs_mount *mp, in xfs_calc_qm_dqalloc_reservation() argument
889 return xfs_calc_write_reservation(mp, for_minlogsize) + in xfs_calc_qm_dqalloc_reservation()
891 XFS_FSB_TO_B(mp, XFS_DQUOT_CLUSTER_SIZE_FSB) - 1); in xfs_calc_qm_dqalloc_reservation()
896 struct xfs_mount *mp) in xfs_calc_qm_dqalloc_reservation_minlogsize() argument
898 return xfs_calc_qm_dqalloc_reservation(mp, true); in xfs_calc_qm_dqalloc_reservation_minlogsize()
907 struct xfs_mount *mp) in xfs_calc_sb_reservation() argument
909 return xfs_calc_buf_res(1, mp->m_sb.sb_sectsize); in xfs_calc_sb_reservation()
914 struct xfs_mount *mp, in xfs_trans_resv_calc() argument
923 resp->tr_write.tr_logres = xfs_calc_write_reservation(mp, false); in xfs_trans_resv_calc()
927 resp->tr_itruncate.tr_logres = xfs_calc_itruncate_reservation(mp, false); in xfs_trans_resv_calc()
931 resp->tr_rename.tr_logres = xfs_calc_rename_reservation(mp); in xfs_trans_resv_calc()
935 resp->tr_link.tr_logres = xfs_calc_link_reservation(mp); in xfs_trans_resv_calc()
939 resp->tr_remove.tr_logres = xfs_calc_remove_reservation(mp); in xfs_trans_resv_calc()
943 resp->tr_symlink.tr_logres = xfs_calc_symlink_reservation(mp); in xfs_trans_resv_calc()
947 resp->tr_create.tr_logres = xfs_calc_icreate_reservation(mp); in xfs_trans_resv_calc()
952 xfs_calc_create_tmpfile_reservation(mp); in xfs_trans_resv_calc()
956 resp->tr_mkdir.tr_logres = xfs_calc_mkdir_reservation(mp); in xfs_trans_resv_calc()
960 resp->tr_ifree.tr_logres = xfs_calc_ifree_reservation(mp); in xfs_trans_resv_calc()
964 resp->tr_addafork.tr_logres = xfs_calc_addafork_reservation(mp); in xfs_trans_resv_calc()
968 resp->tr_attrinval.tr_logres = xfs_calc_attrinval_reservation(mp); in xfs_trans_resv_calc()
972 resp->tr_attrsetm.tr_logres = xfs_calc_attrsetm_reservation(mp); in xfs_trans_resv_calc()
976 resp->tr_attrrm.tr_logres = xfs_calc_attrrm_reservation(mp); in xfs_trans_resv_calc()
980 resp->tr_growrtalloc.tr_logres = xfs_calc_growrtalloc_reservation(mp); in xfs_trans_resv_calc()
984 resp->tr_qm_dqalloc.tr_logres = xfs_calc_qm_dqalloc_reservation(mp, in xfs_trans_resv_calc()
996 resp->tr_sb.tr_logres = xfs_calc_sb_reservation(mp); in xfs_trans_resv_calc()
1000 resp->tr_growdata.tr_logres = xfs_calc_growdata_reservation(mp); in xfs_trans_resv_calc()
1005 resp->tr_ichange.tr_logres = xfs_calc_ichange_reservation(mp); in xfs_trans_resv_calc()
1006 resp->tr_fsyncts.tr_logres = xfs_calc_swrite_reservation(mp); in xfs_trans_resv_calc()
1007 resp->tr_writeid.tr_logres = xfs_calc_writeid_reservation(mp); in xfs_trans_resv_calc()
1008 resp->tr_attrsetrt.tr_logres = xfs_calc_attrsetrt_reservation(mp); in xfs_trans_resv_calc()
1009 resp->tr_clearagi.tr_logres = xfs_calc_clear_agi_bucket_reservation(mp); in xfs_trans_resv_calc()
1010 resp->tr_growrtzero.tr_logres = xfs_calc_growrtzero_reservation(mp); in xfs_trans_resv_calc()
1011 resp->tr_growrtfree.tr_logres = xfs_calc_growrtfree_reservation(mp); in xfs_trans_resv_calc()
1018 if (xfs_has_reflink(mp) || xfs_has_rmapbt(mp)) in xfs_trans_resv_calc()
1020 if (xfs_has_reflink(mp)) in xfs_trans_resv_calc()
1022 if (xfs_has_rmapbt(mp)) in xfs_trans_resv_calc()