Lines Matching refs:mp

154 	xfs_mount_t	*mp = tp->t_mountp;  in xfs_trans_mod_dquot_byino()  local
156 if (!XFS_IS_QUOTA_RUNNING(mp) || in xfs_trans_mod_dquot_byino()
157 !XFS_IS_QUOTA_ON(mp) || in xfs_trans_mod_dquot_byino()
158 xfs_is_quota_inode(&mp->m_sb, ip->i_ino)) in xfs_trans_mod_dquot_byino()
164 if (XFS_IS_UQUOTA_ON(mp) && ip->i_udquot) in xfs_trans_mod_dquot_byino()
166 if (XFS_IS_GQUOTA_ON(mp) && ip->i_gdquot) in xfs_trans_mod_dquot_byino()
168 if (XFS_IS_PQUOTA_ON(mp) && ip->i_pdquot) in xfs_trans_mod_dquot_byino()
571 struct xfs_mount *mp, in xfs_quota_warn() argument
582 mp->m_super->s_dev, type); in xfs_quota_warn()
594 xfs_mount_t *mp, in xfs_trans_dqresv() argument
607 xfs_quotainfo_t *q = mp->m_quotainfo; in xfs_trans_dqresv()
650 xfs_quota_warn(mp, dqp, QUOTA_NL_BHARDWARN); in xfs_trans_dqresv()
656 xfs_quota_warn(mp, dqp, in xfs_trans_dqresv()
661 xfs_quota_warn(mp, dqp, QUOTA_NL_BSOFTWARN); in xfs_trans_dqresv()
677 xfs_quota_warn(mp, dqp, QUOTA_NL_IHARDWARN); in xfs_trans_dqresv()
683 xfs_quota_warn(mp, dqp, in xfs_trans_dqresv()
687 xfs_quota_warn(mp, dqp, QUOTA_NL_ISOFTWARN); in xfs_trans_dqresv()
749 struct xfs_mount *mp, in xfs_trans_reserve_quota_bydquots() argument
759 if (!XFS_IS_QUOTA_RUNNING(mp) || !XFS_IS_QUOTA_ON(mp)) in xfs_trans_reserve_quota_bydquots()
768 error = xfs_trans_dqresv(tp, mp, udqp, nblks, ninos, in xfs_trans_reserve_quota_bydquots()
775 error = xfs_trans_dqresv(tp, mp, gdqp, nblks, ninos, flags); in xfs_trans_reserve_quota_bydquots()
781 error = xfs_trans_dqresv(tp, mp, pdqp, nblks, ninos, flags); in xfs_trans_reserve_quota_bydquots()
794 xfs_trans_dqresv(tp, mp, gdqp, -nblks, -ninos, flags); in xfs_trans_reserve_quota_bydquots()
798 xfs_trans_dqresv(tp, mp, udqp, -nblks, -ninos, flags); in xfs_trans_reserve_quota_bydquots()
816 struct xfs_mount *mp = ip->i_mount; in xfs_trans_reserve_quota_nblks() local
818 if (!XFS_IS_QUOTA_RUNNING(mp) || !XFS_IS_QUOTA_ON(mp)) in xfs_trans_reserve_quota_nblks()
820 if (XFS_IS_PQUOTA_ON(mp)) in xfs_trans_reserve_quota_nblks()
823 ASSERT(!xfs_is_quota_inode(&mp->m_sb, ip->i_ino)); in xfs_trans_reserve_quota_nblks()
834 return xfs_trans_reserve_quota_bydquots(tp, mp, in xfs_trans_reserve_quota_nblks()