Lines Matching refs:resp

915 	struct xfs_trans_resv	*resp)  in xfs_trans_resv_calc()  argument
923 resp->tr_write.tr_logres = xfs_calc_write_reservation(mp, false); in xfs_trans_resv_calc()
924 resp->tr_write.tr_logcount = XFS_WRITE_LOG_COUNT; in xfs_trans_resv_calc()
925 resp->tr_write.tr_logflags |= XFS_TRANS_PERM_LOG_RES; in xfs_trans_resv_calc()
927 resp->tr_itruncate.tr_logres = xfs_calc_itruncate_reservation(mp, false); in xfs_trans_resv_calc()
928 resp->tr_itruncate.tr_logcount = XFS_ITRUNCATE_LOG_COUNT; in xfs_trans_resv_calc()
929 resp->tr_itruncate.tr_logflags |= XFS_TRANS_PERM_LOG_RES; in xfs_trans_resv_calc()
931 resp->tr_rename.tr_logres = xfs_calc_rename_reservation(mp); in xfs_trans_resv_calc()
932 resp->tr_rename.tr_logcount = XFS_RENAME_LOG_COUNT; in xfs_trans_resv_calc()
933 resp->tr_rename.tr_logflags |= XFS_TRANS_PERM_LOG_RES; in xfs_trans_resv_calc()
935 resp->tr_link.tr_logres = xfs_calc_link_reservation(mp); in xfs_trans_resv_calc()
936 resp->tr_link.tr_logcount = XFS_LINK_LOG_COUNT; in xfs_trans_resv_calc()
937 resp->tr_link.tr_logflags |= XFS_TRANS_PERM_LOG_RES; in xfs_trans_resv_calc()
939 resp->tr_remove.tr_logres = xfs_calc_remove_reservation(mp); in xfs_trans_resv_calc()
940 resp->tr_remove.tr_logcount = XFS_REMOVE_LOG_COUNT; in xfs_trans_resv_calc()
941 resp->tr_remove.tr_logflags |= XFS_TRANS_PERM_LOG_RES; in xfs_trans_resv_calc()
943 resp->tr_symlink.tr_logres = xfs_calc_symlink_reservation(mp); in xfs_trans_resv_calc()
944 resp->tr_symlink.tr_logcount = XFS_SYMLINK_LOG_COUNT; in xfs_trans_resv_calc()
945 resp->tr_symlink.tr_logflags |= XFS_TRANS_PERM_LOG_RES; in xfs_trans_resv_calc()
947 resp->tr_create.tr_logres = xfs_calc_icreate_reservation(mp); in xfs_trans_resv_calc()
948 resp->tr_create.tr_logcount = XFS_CREATE_LOG_COUNT; in xfs_trans_resv_calc()
949 resp->tr_create.tr_logflags |= XFS_TRANS_PERM_LOG_RES; in xfs_trans_resv_calc()
951 resp->tr_create_tmpfile.tr_logres = in xfs_trans_resv_calc()
953 resp->tr_create_tmpfile.tr_logcount = XFS_CREATE_TMPFILE_LOG_COUNT; in xfs_trans_resv_calc()
954 resp->tr_create_tmpfile.tr_logflags |= XFS_TRANS_PERM_LOG_RES; in xfs_trans_resv_calc()
956 resp->tr_mkdir.tr_logres = xfs_calc_mkdir_reservation(mp); in xfs_trans_resv_calc()
957 resp->tr_mkdir.tr_logcount = XFS_MKDIR_LOG_COUNT; in xfs_trans_resv_calc()
958 resp->tr_mkdir.tr_logflags |= XFS_TRANS_PERM_LOG_RES; in xfs_trans_resv_calc()
960 resp->tr_ifree.tr_logres = xfs_calc_ifree_reservation(mp); in xfs_trans_resv_calc()
961 resp->tr_ifree.tr_logcount = XFS_INACTIVE_LOG_COUNT; in xfs_trans_resv_calc()
962 resp->tr_ifree.tr_logflags |= XFS_TRANS_PERM_LOG_RES; in xfs_trans_resv_calc()
964 resp->tr_addafork.tr_logres = xfs_calc_addafork_reservation(mp); in xfs_trans_resv_calc()
965 resp->tr_addafork.tr_logcount = XFS_ADDAFORK_LOG_COUNT; in xfs_trans_resv_calc()
966 resp->tr_addafork.tr_logflags |= XFS_TRANS_PERM_LOG_RES; in xfs_trans_resv_calc()
968 resp->tr_attrinval.tr_logres = xfs_calc_attrinval_reservation(mp); in xfs_trans_resv_calc()
969 resp->tr_attrinval.tr_logcount = XFS_ATTRINVAL_LOG_COUNT; in xfs_trans_resv_calc()
970 resp->tr_attrinval.tr_logflags |= XFS_TRANS_PERM_LOG_RES; in xfs_trans_resv_calc()
972 resp->tr_attrsetm.tr_logres = xfs_calc_attrsetm_reservation(mp); in xfs_trans_resv_calc()
973 resp->tr_attrsetm.tr_logcount = XFS_ATTRSET_LOG_COUNT; in xfs_trans_resv_calc()
974 resp->tr_attrsetm.tr_logflags |= XFS_TRANS_PERM_LOG_RES; in xfs_trans_resv_calc()
976 resp->tr_attrrm.tr_logres = xfs_calc_attrrm_reservation(mp); in xfs_trans_resv_calc()
977 resp->tr_attrrm.tr_logcount = XFS_ATTRRM_LOG_COUNT; in xfs_trans_resv_calc()
978 resp->tr_attrrm.tr_logflags |= XFS_TRANS_PERM_LOG_RES; in xfs_trans_resv_calc()
980 resp->tr_growrtalloc.tr_logres = xfs_calc_growrtalloc_reservation(mp); in xfs_trans_resv_calc()
981 resp->tr_growrtalloc.tr_logcount = XFS_DEFAULT_PERM_LOG_COUNT; in xfs_trans_resv_calc()
982 resp->tr_growrtalloc.tr_logflags |= XFS_TRANS_PERM_LOG_RES; in xfs_trans_resv_calc()
984 resp->tr_qm_dqalloc.tr_logres = xfs_calc_qm_dqalloc_reservation(mp, in xfs_trans_resv_calc()
986 resp->tr_qm_dqalloc.tr_logcount = XFS_WRITE_LOG_COUNT; in xfs_trans_resv_calc()
987 resp->tr_qm_dqalloc.tr_logflags |= XFS_TRANS_PERM_LOG_RES; in xfs_trans_resv_calc()
993 resp->tr_qm_setqlim.tr_logres = xfs_calc_qm_setqlim_reservation(); in xfs_trans_resv_calc()
994 resp->tr_qm_setqlim.tr_logcount = XFS_DEFAULT_LOG_COUNT; in xfs_trans_resv_calc()
996 resp->tr_sb.tr_logres = xfs_calc_sb_reservation(mp); in xfs_trans_resv_calc()
997 resp->tr_sb.tr_logcount = XFS_DEFAULT_LOG_COUNT; in xfs_trans_resv_calc()
1000 resp->tr_growdata.tr_logres = xfs_calc_growdata_reservation(mp); in xfs_trans_resv_calc()
1001 resp->tr_growdata.tr_logcount = XFS_DEFAULT_PERM_LOG_COUNT; in xfs_trans_resv_calc()
1002 resp->tr_growdata.tr_logflags |= XFS_TRANS_PERM_LOG_RES; 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()
1025 resp->tr_itruncate.tr_logcount += logcount_adj; in xfs_trans_resv_calc()
1026 resp->tr_write.tr_logcount += logcount_adj; in xfs_trans_resv_calc()
1027 resp->tr_qm_dqalloc.tr_logcount += logcount_adj; in xfs_trans_resv_calc()