Lines Matching refs:resp
838 struct xfs_trans_resv *resp) in xfs_trans_resv_calc() argument
844 resp->tr_write.tr_logres = xfs_calc_write_reservation(mp); in xfs_trans_resv_calc()
846 resp->tr_write.tr_logcount = XFS_WRITE_LOG_COUNT_REFLINK; in xfs_trans_resv_calc()
848 resp->tr_write.tr_logcount = XFS_WRITE_LOG_COUNT; in xfs_trans_resv_calc()
849 resp->tr_write.tr_logflags |= XFS_TRANS_PERM_LOG_RES; in xfs_trans_resv_calc()
851 resp->tr_itruncate.tr_logres = xfs_calc_itruncate_reservation(mp); in xfs_trans_resv_calc()
853 resp->tr_itruncate.tr_logcount = in xfs_trans_resv_calc()
856 resp->tr_itruncate.tr_logcount = XFS_ITRUNCATE_LOG_COUNT; in xfs_trans_resv_calc()
857 resp->tr_itruncate.tr_logflags |= XFS_TRANS_PERM_LOG_RES; in xfs_trans_resv_calc()
859 resp->tr_rename.tr_logres = xfs_calc_rename_reservation(mp); in xfs_trans_resv_calc()
860 resp->tr_rename.tr_logcount = XFS_RENAME_LOG_COUNT; in xfs_trans_resv_calc()
861 resp->tr_rename.tr_logflags |= XFS_TRANS_PERM_LOG_RES; in xfs_trans_resv_calc()
863 resp->tr_link.tr_logres = xfs_calc_link_reservation(mp); in xfs_trans_resv_calc()
864 resp->tr_link.tr_logcount = XFS_LINK_LOG_COUNT; in xfs_trans_resv_calc()
865 resp->tr_link.tr_logflags |= XFS_TRANS_PERM_LOG_RES; in xfs_trans_resv_calc()
867 resp->tr_remove.tr_logres = xfs_calc_remove_reservation(mp); in xfs_trans_resv_calc()
868 resp->tr_remove.tr_logcount = XFS_REMOVE_LOG_COUNT; in xfs_trans_resv_calc()
869 resp->tr_remove.tr_logflags |= XFS_TRANS_PERM_LOG_RES; in xfs_trans_resv_calc()
871 resp->tr_symlink.tr_logres = xfs_calc_symlink_reservation(mp); in xfs_trans_resv_calc()
872 resp->tr_symlink.tr_logcount = XFS_SYMLINK_LOG_COUNT; in xfs_trans_resv_calc()
873 resp->tr_symlink.tr_logflags |= XFS_TRANS_PERM_LOG_RES; in xfs_trans_resv_calc()
875 resp->tr_create.tr_logres = xfs_calc_icreate_reservation(mp); in xfs_trans_resv_calc()
876 resp->tr_create.tr_logcount = XFS_CREATE_LOG_COUNT; in xfs_trans_resv_calc()
877 resp->tr_create.tr_logflags |= XFS_TRANS_PERM_LOG_RES; in xfs_trans_resv_calc()
879 resp->tr_create_tmpfile.tr_logres = in xfs_trans_resv_calc()
881 resp->tr_create_tmpfile.tr_logcount = XFS_CREATE_TMPFILE_LOG_COUNT; in xfs_trans_resv_calc()
882 resp->tr_create_tmpfile.tr_logflags |= XFS_TRANS_PERM_LOG_RES; in xfs_trans_resv_calc()
884 resp->tr_mkdir.tr_logres = xfs_calc_mkdir_reservation(mp); in xfs_trans_resv_calc()
885 resp->tr_mkdir.tr_logcount = XFS_MKDIR_LOG_COUNT; in xfs_trans_resv_calc()
886 resp->tr_mkdir.tr_logflags |= XFS_TRANS_PERM_LOG_RES; in xfs_trans_resv_calc()
888 resp->tr_ifree.tr_logres = xfs_calc_ifree_reservation(mp); in xfs_trans_resv_calc()
889 resp->tr_ifree.tr_logcount = XFS_INACTIVE_LOG_COUNT; in xfs_trans_resv_calc()
890 resp->tr_ifree.tr_logflags |= XFS_TRANS_PERM_LOG_RES; in xfs_trans_resv_calc()
892 resp->tr_addafork.tr_logres = xfs_calc_addafork_reservation(mp); in xfs_trans_resv_calc()
893 resp->tr_addafork.tr_logcount = XFS_ADDAFORK_LOG_COUNT; in xfs_trans_resv_calc()
894 resp->tr_addafork.tr_logflags |= XFS_TRANS_PERM_LOG_RES; in xfs_trans_resv_calc()
896 resp->tr_attrinval.tr_logres = xfs_calc_attrinval_reservation(mp); in xfs_trans_resv_calc()
897 resp->tr_attrinval.tr_logcount = XFS_ATTRINVAL_LOG_COUNT; in xfs_trans_resv_calc()
898 resp->tr_attrinval.tr_logflags |= XFS_TRANS_PERM_LOG_RES; in xfs_trans_resv_calc()
900 resp->tr_attrsetm.tr_logres = xfs_calc_attrsetm_reservation(mp); in xfs_trans_resv_calc()
901 resp->tr_attrsetm.tr_logcount = XFS_ATTRSET_LOG_COUNT; in xfs_trans_resv_calc()
902 resp->tr_attrsetm.tr_logflags |= XFS_TRANS_PERM_LOG_RES; in xfs_trans_resv_calc()
904 resp->tr_attrrm.tr_logres = xfs_calc_attrrm_reservation(mp); in xfs_trans_resv_calc()
905 resp->tr_attrrm.tr_logcount = XFS_ATTRRM_LOG_COUNT; in xfs_trans_resv_calc()
906 resp->tr_attrrm.tr_logflags |= XFS_TRANS_PERM_LOG_RES; in xfs_trans_resv_calc()
908 resp->tr_growrtalloc.tr_logres = xfs_calc_growrtalloc_reservation(mp); in xfs_trans_resv_calc()
909 resp->tr_growrtalloc.tr_logcount = XFS_DEFAULT_PERM_LOG_COUNT; in xfs_trans_resv_calc()
910 resp->tr_growrtalloc.tr_logflags |= XFS_TRANS_PERM_LOG_RES; in xfs_trans_resv_calc()
912 resp->tr_qm_dqalloc.tr_logres = xfs_calc_qm_dqalloc_reservation(mp); in xfs_trans_resv_calc()
914 resp->tr_qm_dqalloc.tr_logcount = XFS_WRITE_LOG_COUNT_REFLINK; in xfs_trans_resv_calc()
916 resp->tr_qm_dqalloc.tr_logcount = XFS_WRITE_LOG_COUNT; in xfs_trans_resv_calc()
917 resp->tr_qm_dqalloc.tr_logflags |= XFS_TRANS_PERM_LOG_RES; in xfs_trans_resv_calc()
923 resp->tr_qm_setqlim.tr_logres = xfs_calc_qm_setqlim_reservation(); in xfs_trans_resv_calc()
924 resp->tr_qm_setqlim.tr_logcount = XFS_DEFAULT_LOG_COUNT; in xfs_trans_resv_calc()
926 resp->tr_qm_quotaoff.tr_logres = xfs_calc_qm_quotaoff_reservation(mp); in xfs_trans_resv_calc()
927 resp->tr_qm_quotaoff.tr_logcount = XFS_DEFAULT_LOG_COUNT; in xfs_trans_resv_calc()
929 resp->tr_qm_equotaoff.tr_logres = in xfs_trans_resv_calc()
931 resp->tr_qm_equotaoff.tr_logcount = XFS_DEFAULT_LOG_COUNT; in xfs_trans_resv_calc()
933 resp->tr_sb.tr_logres = xfs_calc_sb_reservation(mp); in xfs_trans_resv_calc()
934 resp->tr_sb.tr_logcount = XFS_DEFAULT_LOG_COUNT; in xfs_trans_resv_calc()
937 resp->tr_growdata.tr_logres = xfs_calc_growdata_reservation(mp); in xfs_trans_resv_calc()
938 resp->tr_growdata.tr_logcount = XFS_DEFAULT_PERM_LOG_COUNT; in xfs_trans_resv_calc()
939 resp->tr_growdata.tr_logflags |= XFS_TRANS_PERM_LOG_RES; in xfs_trans_resv_calc()
942 resp->tr_ichange.tr_logres = xfs_calc_ichange_reservation(mp); in xfs_trans_resv_calc()
943 resp->tr_fsyncts.tr_logres = xfs_calc_swrite_reservation(mp); in xfs_trans_resv_calc()
944 resp->tr_writeid.tr_logres = xfs_calc_writeid_reservation(mp); in xfs_trans_resv_calc()
945 resp->tr_attrsetrt.tr_logres = xfs_calc_attrsetrt_reservation(mp); in xfs_trans_resv_calc()
946 resp->tr_clearagi.tr_logres = xfs_calc_clear_agi_bucket_reservation(mp); in xfs_trans_resv_calc()
947 resp->tr_growrtzero.tr_logres = xfs_calc_growrtzero_reservation(mp); in xfs_trans_resv_calc()
948 resp->tr_growrtfree.tr_logres = xfs_calc_growrtfree_reservation(mp); in xfs_trans_resv_calc()