Lines Matching refs:mp
148 xfs_mount_t *mp = tp->t_mountp; in xfs_trans_mod_dquot_byino() local
150 if (!XFS_IS_QUOTA_RUNNING(mp) || in xfs_trans_mod_dquot_byino()
151 !XFS_IS_QUOTA_ON(mp) || in xfs_trans_mod_dquot_byino()
152 xfs_is_quota_inode(&mp->m_sb, ip->i_ino)) in xfs_trans_mod_dquot_byino()
158 if (XFS_IS_UQUOTA_ON(mp) && ip->i_udquot) in xfs_trans_mod_dquot_byino()
160 if (XFS_IS_GQUOTA_ON(mp) && ip->i_gdquot) in xfs_trans_mod_dquot_byino()
162 if (XFS_IS_PQUOTA_ON(mp) && ip->i_pdquot) in xfs_trans_mod_dquot_byino()
565 struct xfs_mount *mp, in xfs_quota_warn() argument
576 mp->m_super->s_dev, type); in xfs_quota_warn()
588 xfs_mount_t *mp, in xfs_trans_dqresv() argument
601 xfs_quotainfo_t *q = mp->m_quotainfo; in xfs_trans_dqresv()
644 xfs_quota_warn(mp, dqp, QUOTA_NL_BHARDWARN); in xfs_trans_dqresv()
650 xfs_quota_warn(mp, dqp, in xfs_trans_dqresv()
655 xfs_quota_warn(mp, dqp, QUOTA_NL_BSOFTWARN); in xfs_trans_dqresv()
671 xfs_quota_warn(mp, dqp, QUOTA_NL_IHARDWARN); in xfs_trans_dqresv()
677 xfs_quota_warn(mp, dqp, in xfs_trans_dqresv()
681 xfs_quota_warn(mp, dqp, QUOTA_NL_ISOFTWARN); in xfs_trans_dqresv()
743 struct xfs_mount *mp, in xfs_trans_reserve_quota_bydquots() argument
753 if (!XFS_IS_QUOTA_RUNNING(mp) || !XFS_IS_QUOTA_ON(mp)) in xfs_trans_reserve_quota_bydquots()
762 error = xfs_trans_dqresv(tp, mp, udqp, nblks, ninos, in xfs_trans_reserve_quota_bydquots()
769 error = xfs_trans_dqresv(tp, mp, gdqp, nblks, ninos, flags); in xfs_trans_reserve_quota_bydquots()
775 error = xfs_trans_dqresv(tp, mp, pdqp, nblks, ninos, flags); in xfs_trans_reserve_quota_bydquots()
788 xfs_trans_dqresv(tp, mp, gdqp, -nblks, -ninos, flags); in xfs_trans_reserve_quota_bydquots()
792 xfs_trans_dqresv(tp, mp, udqp, -nblks, -ninos, flags); in xfs_trans_reserve_quota_bydquots()
810 struct xfs_mount *mp = ip->i_mount; in xfs_trans_reserve_quota_nblks() local
812 if (!XFS_IS_QUOTA_RUNNING(mp) || !XFS_IS_QUOTA_ON(mp)) in xfs_trans_reserve_quota_nblks()
814 if (XFS_IS_PQUOTA_ON(mp)) in xfs_trans_reserve_quota_nblks()
817 ASSERT(!xfs_is_quota_inode(&mp->m_sb, ip->i_ino)); in xfs_trans_reserve_quota_nblks()
828 return xfs_trans_reserve_quota_bydquots(tp, mp, in xfs_trans_reserve_quota_nblks()