Home
last modified time | relevance | path

Searched refs:i_gdquot (Results 1 - 19 of 19) sorted by relevance

/kernel/linux/linux-6.6/fs/xfs/
H A Dxfs_qm.c262 * or &i_gdquot. This made the code look weird, but made the logic a lot in xfs_qm_dqattach_one()
335 if (XFS_IS_GQUOTA_ON(mp) && !ip->i_gdquot) { in xfs_qm_dqattach_locked()
337 doalloc, &ip->i_gdquot); in xfs_qm_dqattach_locked()
340 ASSERT(ip->i_gdquot); in xfs_qm_dqattach_locked()
385 if (!(ip->i_udquot || ip->i_gdquot || ip->i_pdquot)) in xfs_qm_dqdetach()
395 if (ip->i_gdquot) { in xfs_qm_dqdetach()
396 xfs_qm_dqrele(ip->i_gdquot); in xfs_qm_dqdetach()
397 ip->i_gdquot = NULL; in xfs_qm_dqdetach()
1750 ASSERT(ip->i_gdquot); in xfs_qm_vop_dqalloc()
1751 gq = xfs_qm_dqhold(ip->i_gdquot); in xfs_qm_vop_dqalloc()
[all...]
H A Dxfs_trans_dquot.c141 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()
806 ip->i_gdquot, ip->i_pdquot, dblocks, 0, in xfs_trans_reserve_quota_nblks()
813 ip->i_gdquot, ip->i_pdquot, rblocks, 0, in xfs_trans_reserve_quota_nblks()
817 ip->i_gdquot, ip->i_pdquot, -dblocks, 0, in xfs_trans_reserve_quota_nblks()
H A Dxfs_dquot.h161 return ip->i_gdquot; in xfs_inode_dquot()
H A Dxfs_quota.h29 (XFS_IS_GQUOTA_ON(mp) && (ip)->i_gdquot == NULL) || \
H A Dxfs_inode.h28 struct xfs_dquot *i_gdquot; /* group dquot */ member
H A Dxfs_icache.c692 ip->i_gdquot = NULL; in xfs_iget_cache_miss()
938 ASSERT(!ip->i_udquot && !ip->i_gdquot && !ip->i_pdquot); in xfs_reclaim_inode()
H A Dxfs_trans.c1321 gdqp = (new_gdqp != ip->i_gdquot) ? new_gdqp : NULL; in xfs_trans_alloc_ichange()
H A Dxfs_iops.c734 old_gdqp = xfs_qm_vop_chown(tp, ip, &ip->i_gdquot, gdqp); in xfs_setattr_nonsize()
/kernel/linux/linux-5.10/fs/xfs/
H A Dxfs_qm.c264 * or &i_gdquot. This made the code look weird, but made the logic a lot in xfs_qm_dqattach_one()
339 if (XFS_IS_GQUOTA_ON(mp) && !ip->i_gdquot) { in xfs_qm_dqattach_locked()
341 doalloc, &ip->i_gdquot); in xfs_qm_dqattach_locked()
344 ASSERT(ip->i_gdquot); in xfs_qm_dqattach_locked()
389 if (!(ip->i_udquot || ip->i_gdquot || ip->i_pdquot)) in xfs_qm_dqdetach()
399 if (ip->i_gdquot) { in xfs_qm_dqdetach()
400 xfs_qm_dqrele(ip->i_gdquot); in xfs_qm_dqdetach()
401 ip->i_gdquot = NULL; in xfs_qm_dqdetach()
1719 ASSERT(ip->i_gdquot); in xfs_qm_vop_dqalloc()
1720 gq = xfs_qm_dqhold(ip->i_gdquot); in xfs_qm_vop_dqalloc()
[all...]
H A Dxfs_qm_syscalls.c197 * do a dqrele on the i_udquot/i_gdquot that it may have. in xfs_qm_scall_quotaoff()
763 ASSERT(ip->i_gdquot == NULL); in xfs_dqrele_inode()
773 if ((*flags & XFS_GQUOTA_ACCT) && ip->i_gdquot) { in xfs_dqrele_inode()
774 xfs_qm_dqrele(ip->i_gdquot); in xfs_dqrele_inode()
775 ip->i_gdquot = NULL; in xfs_dqrele_inode()
H A Dxfs_trans_dquot.c152 if (XFS_IS_GQUOTA_ON(mp) && ip->i_gdquot) in xfs_trans_mod_dquot_byino()
153 (void) xfs_trans_mod_dquot(tp, ip->i_gdquot, field, delta); in xfs_trans_mod_dquot_byino()
829 ip->i_udquot, ip->i_gdquot, in xfs_trans_reserve_quota_nblks()
H A Dxfs_dquot.h159 return ip->i_gdquot; in xfs_inode_dquot()
H A Dxfs_quota.h29 (XFS_IS_GQUOTA_ON(mp) && (ip)->i_gdquot == NULL) || \
H A Dxfs_inode.h28 struct xfs_dquot *i_gdquot; /* group dquot */ member
H A Dxfs_iops.c731 &ip->i_gdquot, gdqp); in xfs_setattr_nonsize()
H A Dxfs_icache.c568 ip->i_gdquot = NULL; in xfs_iget_cache_miss()
H A Dxfs_bmap_util.c879 error = xfs_trans_reserve_quota(tp, mp, ip->i_udquot, ip->i_gdquot, in xfs_unmap_extent()
/kernel/linux/linux-6.6/fs/xfs/scrub/
H A Drepair.c723 if (XFS_IS_GQUOTA_ON(sc->mp) && !sc->ip->i_gdquot) in xrep_ino_dqattach()
/kernel/linux/linux-5.10/fs/xfs/scrub/
H A Drepair.c943 if (XFS_IS_GQUOTA_ON(sc->mp) && !sc->ip->i_gdquot) in xrep_ino_dqattach()

Completed in 23 milliseconds