Lines Matching refs:ip
129 xfs_inode_t *ip, in xfs_trans_mod_dquot_byino() argument
136 xfs_is_quota_inode(&mp->m_sb, ip->i_ino)) in xfs_trans_mod_dquot_byino()
139 if (XFS_IS_UQUOTA_ON(mp) && ip->i_udquot) in xfs_trans_mod_dquot_byino()
140 (void) xfs_trans_mod_dquot(tp, ip->i_udquot, field, delta); in xfs_trans_mod_dquot_byino()
141 if (XFS_IS_GQUOTA_ON(mp) && ip->i_gdquot) in xfs_trans_mod_dquot_byino()
142 (void) xfs_trans_mod_dquot(tp, ip->i_gdquot, field, delta); in xfs_trans_mod_dquot_byino()
143 if (XFS_IS_PQUOTA_ON(mp) && ip->i_pdquot) in xfs_trans_mod_dquot_byino()
144 (void) xfs_trans_mod_dquot(tp, ip->i_pdquot, field, delta); in xfs_trans_mod_dquot_byino()
786 struct xfs_inode *ip, in xfs_trans_reserve_quota_nblks() argument
791 struct xfs_mount *mp = ip->i_mount; in xfs_trans_reserve_quota_nblks()
798 ASSERT(!xfs_is_quota_inode(&mp->m_sb, ip->i_ino)); in xfs_trans_reserve_quota_nblks()
799 ASSERT(xfs_isilocked(ip, XFS_ILOCK_EXCL)); in xfs_trans_reserve_quota_nblks()
805 error = xfs_trans_reserve_quota_bydquots(tp, mp, ip->i_udquot, in xfs_trans_reserve_quota_nblks()
806 ip->i_gdquot, ip->i_pdquot, dblocks, 0, in xfs_trans_reserve_quota_nblks()
812 error = xfs_trans_reserve_quota_bydquots(tp, mp, ip->i_udquot, in xfs_trans_reserve_quota_nblks()
813 ip->i_gdquot, ip->i_pdquot, rblocks, 0, in xfs_trans_reserve_quota_nblks()
816 xfs_trans_reserve_quota_bydquots(tp, mp, ip->i_udquot, in xfs_trans_reserve_quota_nblks()
817 ip->i_gdquot, ip->i_pdquot, -dblocks, 0, in xfs_trans_reserve_quota_nblks()