Lines Matching refs:resp
781 struct xfs_trans_resv *resp) in xfs_trans_resv_calc() argument
787 resp->tr_write.tr_logres = xfs_calc_write_reservation(mp); in xfs_trans_resv_calc()
788 resp->tr_write.tr_logcount = XFS_WRITE_LOG_COUNT; in xfs_trans_resv_calc()
789 resp->tr_write.tr_logflags |= XFS_TRANS_PERM_LOG_RES; in xfs_trans_resv_calc()
791 resp->tr_itruncate.tr_logres = xfs_calc_itruncate_reservation(mp); in xfs_trans_resv_calc()
792 resp->tr_itruncate.tr_logcount = XFS_ITRUNCATE_LOG_COUNT; in xfs_trans_resv_calc()
793 resp->tr_itruncate.tr_logflags |= XFS_TRANS_PERM_LOG_RES; in xfs_trans_resv_calc()
795 resp->tr_rename.tr_logres = xfs_calc_rename_reservation(mp); in xfs_trans_resv_calc()
796 resp->tr_rename.tr_logcount = XFS_RENAME_LOG_COUNT; in xfs_trans_resv_calc()
797 resp->tr_rename.tr_logflags |= XFS_TRANS_PERM_LOG_RES; in xfs_trans_resv_calc()
799 resp->tr_link.tr_logres = xfs_calc_link_reservation(mp); in xfs_trans_resv_calc()
800 resp->tr_link.tr_logcount = XFS_LINK_LOG_COUNT; in xfs_trans_resv_calc()
801 resp->tr_link.tr_logflags |= XFS_TRANS_PERM_LOG_RES; in xfs_trans_resv_calc()
803 resp->tr_remove.tr_logres = xfs_calc_remove_reservation(mp); in xfs_trans_resv_calc()
804 resp->tr_remove.tr_logcount = XFS_REMOVE_LOG_COUNT; in xfs_trans_resv_calc()
805 resp->tr_remove.tr_logflags |= XFS_TRANS_PERM_LOG_RES; in xfs_trans_resv_calc()
807 resp->tr_symlink.tr_logres = xfs_calc_symlink_reservation(mp); in xfs_trans_resv_calc()
808 resp->tr_symlink.tr_logcount = XFS_SYMLINK_LOG_COUNT; in xfs_trans_resv_calc()
809 resp->tr_symlink.tr_logflags |= XFS_TRANS_PERM_LOG_RES; in xfs_trans_resv_calc()
811 resp->tr_create.tr_logres = xfs_calc_create_reservation(mp); in xfs_trans_resv_calc()
812 resp->tr_create.tr_logcount = XFS_CREATE_LOG_COUNT; in xfs_trans_resv_calc()
813 resp->tr_create.tr_logflags |= XFS_TRANS_PERM_LOG_RES; in xfs_trans_resv_calc()
815 resp->tr_create_tmpfile.tr_logres = in xfs_trans_resv_calc()
817 resp->tr_create_tmpfile.tr_logcount = XFS_CREATE_TMPFILE_LOG_COUNT; in xfs_trans_resv_calc()
818 resp->tr_create_tmpfile.tr_logflags |= XFS_TRANS_PERM_LOG_RES; in xfs_trans_resv_calc()
820 resp->tr_mkdir.tr_logres = xfs_calc_mkdir_reservation(mp); in xfs_trans_resv_calc()
821 resp->tr_mkdir.tr_logcount = XFS_MKDIR_LOG_COUNT; in xfs_trans_resv_calc()
822 resp->tr_mkdir.tr_logflags |= XFS_TRANS_PERM_LOG_RES; in xfs_trans_resv_calc()
824 resp->tr_ifree.tr_logres = xfs_calc_ifree_reservation(mp); in xfs_trans_resv_calc()
825 resp->tr_ifree.tr_logcount = XFS_INACTIVE_LOG_COUNT; in xfs_trans_resv_calc()
826 resp->tr_ifree.tr_logflags |= XFS_TRANS_PERM_LOG_RES; in xfs_trans_resv_calc()
828 resp->tr_addafork.tr_logres = xfs_calc_addafork_reservation(mp); in xfs_trans_resv_calc()
829 resp->tr_addafork.tr_logcount = XFS_ADDAFORK_LOG_COUNT; in xfs_trans_resv_calc()
830 resp->tr_addafork.tr_logflags |= XFS_TRANS_PERM_LOG_RES; in xfs_trans_resv_calc()
832 resp->tr_attrinval.tr_logres = xfs_calc_attrinval_reservation(mp); in xfs_trans_resv_calc()
833 resp->tr_attrinval.tr_logcount = XFS_ATTRINVAL_LOG_COUNT; in xfs_trans_resv_calc()
834 resp->tr_attrinval.tr_logflags |= XFS_TRANS_PERM_LOG_RES; in xfs_trans_resv_calc()
836 resp->tr_attrsetm.tr_logres = xfs_calc_attrsetm_reservation(mp); in xfs_trans_resv_calc()
837 resp->tr_attrsetm.tr_logcount = XFS_ATTRSET_LOG_COUNT; in xfs_trans_resv_calc()
838 resp->tr_attrsetm.tr_logflags |= XFS_TRANS_PERM_LOG_RES; in xfs_trans_resv_calc()
840 resp->tr_attrrm.tr_logres = xfs_calc_attrrm_reservation(mp); in xfs_trans_resv_calc()
841 resp->tr_attrrm.tr_logcount = XFS_ATTRRM_LOG_COUNT; in xfs_trans_resv_calc()
842 resp->tr_attrrm.tr_logflags |= XFS_TRANS_PERM_LOG_RES; in xfs_trans_resv_calc()
844 resp->tr_growrtalloc.tr_logres = xfs_calc_growrtalloc_reservation(mp); in xfs_trans_resv_calc()
845 resp->tr_growrtalloc.tr_logcount = XFS_DEFAULT_PERM_LOG_COUNT; in xfs_trans_resv_calc()
846 resp->tr_growrtalloc.tr_logflags |= XFS_TRANS_PERM_LOG_RES; in xfs_trans_resv_calc()
848 resp->tr_qm_dqalloc.tr_logres = xfs_calc_qm_dqalloc_reservation(mp); in xfs_trans_resv_calc()
849 resp->tr_qm_dqalloc.tr_logcount = XFS_WRITE_LOG_COUNT; in xfs_trans_resv_calc()
850 resp->tr_qm_dqalloc.tr_logflags |= XFS_TRANS_PERM_LOG_RES; in xfs_trans_resv_calc()
856 resp->tr_qm_setqlim.tr_logres = xfs_calc_qm_setqlim_reservation(mp); in xfs_trans_resv_calc()
857 resp->tr_qm_setqlim.tr_logcount = XFS_DEFAULT_LOG_COUNT; in xfs_trans_resv_calc()
859 resp->tr_qm_quotaoff.tr_logres = xfs_calc_qm_quotaoff_reservation(mp); in xfs_trans_resv_calc()
860 resp->tr_qm_quotaoff.tr_logcount = XFS_DEFAULT_LOG_COUNT; in xfs_trans_resv_calc()
862 resp->tr_qm_equotaoff.tr_logres = in xfs_trans_resv_calc()
864 resp->tr_qm_equotaoff.tr_logcount = XFS_DEFAULT_LOG_COUNT; in xfs_trans_resv_calc()
866 resp->tr_sb.tr_logres = xfs_calc_sb_reservation(mp); in xfs_trans_resv_calc()
867 resp->tr_sb.tr_logcount = XFS_DEFAULT_LOG_COUNT; in xfs_trans_resv_calc()
870 resp->tr_ichange.tr_logres = xfs_calc_ichange_reservation(mp); in xfs_trans_resv_calc()
871 resp->tr_growdata.tr_logres = xfs_calc_growdata_reservation(mp); in xfs_trans_resv_calc()
872 resp->tr_fsyncts.tr_logres = xfs_calc_swrite_reservation(mp); in xfs_trans_resv_calc()
873 resp->tr_writeid.tr_logres = xfs_calc_writeid_reservation(mp); in xfs_trans_resv_calc()
874 resp->tr_attrsetrt.tr_logres = xfs_calc_attrsetrt_reservation(mp); in xfs_trans_resv_calc()
875 resp->tr_clearagi.tr_logres = xfs_calc_clear_agi_bucket_reservation(mp); in xfs_trans_resv_calc()
876 resp->tr_growrtzero.tr_logres = xfs_calc_growrtzero_reservation(mp); in xfs_trans_resv_calc()
877 resp->tr_growrtfree.tr_logres = xfs_calc_growrtfree_reservation(mp); in xfs_trans_resv_calc()