Home
last modified time | relevance | path

Searched refs:gdqp (Results 1 – 10 of 10) sorted by relevance

/Linux-v5.15/fs/xfs/
Dxfs_quota.h90 struct xfs_dquot *udqp, struct xfs_dquot *gdqp,
121 struct xfs_dquot **gdqp, struct xfs_dquot **pdqp) in xfs_qm_vop_dqalloc() argument
124 *gdqp = NULL; in xfs_qm_vop_dqalloc()
141 struct xfs_dquot *gdqp, struct xfs_dquot *pdqp, in xfs_trans_reserve_quota_bydquots() argument
155 struct xfs_dquot *gdqp, struct xfs_dquot *pdqp, int64_t dblocks) in xfs_trans_reserve_quota_icreate() argument
Dxfs_symlink.c162 struct xfs_dquot *gdqp = NULL; in xfs_symlink() local
190 &udqp, &gdqp, &pdqp); in xfs_symlink()
204 error = xfs_trans_alloc_icreate(mp, &M_RES(mp)->tr_symlink, udqp, gdqp, in xfs_symlink()
249 xfs_qm_vop_create_dqattach(tp, ip, udqp, gdqp, pdqp); in xfs_symlink()
332 xfs_qm_dqrele(gdqp); in xfs_symlink()
352 xfs_qm_dqrele(gdqp); in xfs_symlink()
Dxfs_trans_dquot.c732 struct xfs_dquot *gdqp, in xfs_trans_reserve_quota_bydquots() argument
751 if (gdqp) { in xfs_trans_reserve_quota_bydquots()
752 error = xfs_trans_dqresv(tp, mp, gdqp, nblks, ninos, flags); in xfs_trans_reserve_quota_bydquots()
770 if (gdqp) in xfs_trans_reserve_quota_bydquots()
771 xfs_trans_dqresv(tp, mp, gdqp, -nblks, -ninos, flags); in xfs_trans_reserve_quota_bydquots()
832 struct xfs_dquot *gdqp, in xfs_trans_reserve_quota_icreate() argument
841 return xfs_trans_reserve_quota_bydquots(tp, mp, udqp, gdqp, pdqp, in xfs_trans_reserve_quota_icreate()
Dxfs_trans.c1092 struct xfs_dquot *gdqp, in xfs_trans_alloc_icreate() argument
1106 error = xfs_trans_reserve_quota_icreate(tp, udqp, gdqp, pdqp, dblocks); in xfs_trans_alloc_icreate()
1109 xfs_blockgc_free_dquots(mp, udqp, gdqp, pdqp, 0); in xfs_trans_alloc_icreate()
1143 struct xfs_dquot *gdqp; in xfs_trans_alloc_ichange() local
1170 gdqp = (new_gdqp != ip->i_gdquot) ? new_gdqp : NULL; in xfs_trans_alloc_ichange()
1172 if (udqp || gdqp || pdqp) { in xfs_trans_alloc_ichange()
1184 error = xfs_trans_reserve_quota_bydquots(tp, mp, udqp, gdqp, in xfs_trans_alloc_ichange()
1189 xfs_blockgc_free_dquots(mp, udqp, gdqp, pdqp, 0); in xfs_trans_alloc_ichange()
Dxfs_iops.c704 struct xfs_dquot *udqp = NULL, *gdqp = NULL; in xfs_setattr_nonsize() local
739 ASSERT(gdqp == NULL); in xfs_setattr_nonsize()
741 qflags, &udqp, &gdqp, NULL); in xfs_setattr_nonsize()
746 error = xfs_trans_alloc_ichange(ip, udqp, gdqp, NULL, in xfs_setattr_nonsize()
794 ASSERT(gdqp); in xfs_setattr_nonsize()
796 &ip->i_gdquot, gdqp); in xfs_setattr_nonsize()
821 xfs_qm_dqrele(gdqp); in xfs_setattr_nonsize()
843 xfs_qm_dqrele(gdqp); in xfs_setattr_nonsize()
Dxfs_trans.h262 struct xfs_dquot *udqp, struct xfs_dquot *gdqp,
266 struct xfs_dquot *gdqp, struct xfs_dquot *pdqp, bool force,
Dxfs_icache.h58 struct xfs_dquot *gdqp, struct xfs_dquot *pdqp,
Dxfs_inode.c981 struct xfs_dquot *gdqp = NULL; in xfs_create() local
1000 &udqp, &gdqp, &pdqp); in xfs_create()
1018 error = xfs_trans_alloc_icreate(mp, tres, udqp, gdqp, pdqp, resblks, in xfs_create()
1023 error = xfs_trans_alloc_icreate(mp, tres, udqp, gdqp, pdqp, in xfs_create()
1089 xfs_qm_vop_create_dqattach(tp, ip, udqp, gdqp, pdqp); in xfs_create()
1096 xfs_qm_dqrele(gdqp); in xfs_create()
1116 xfs_qm_dqrele(gdqp); in xfs_create()
1137 struct xfs_dquot *gdqp = NULL; in xfs_create_tmpfile() local
1154 &udqp, &gdqp, &pdqp); in xfs_create_tmpfile()
1161 error = xfs_trans_alloc_icreate(mp, tres, udqp, gdqp, pdqp, resblks, in xfs_create_tmpfile()
[all …]
Dxfs_icache.c1536 struct xfs_dquot *gdqp, in xfs_blockgc_free_dquots() argument
1543 if (!udqp && !gdqp && !pdqp) in xfs_blockgc_free_dquots()
1558 if (XFS_IS_UQUOTA_ENFORCED(mp) && gdqp && xfs_dquot_lowsp(gdqp)) { in xfs_blockgc_free_dquots()
1559 icw.icw_gid = make_kgid(mp->m_super->s_user_ns, gdqp->q_id); in xfs_blockgc_free_dquots()
Dxfs_qm.c1852 struct xfs_dquot *gdqp, in xfs_qm_vop_create_dqattach() argument
1869 if (gdqp && XFS_IS_GQUOTA_ON(mp)) { in xfs_qm_vop_create_dqattach()
1871 ASSERT(i_gid_read(VFS_I(ip)) == gdqp->q_id); in xfs_qm_vop_create_dqattach()
1873 ip->i_gdquot = xfs_qm_dqhold(gdqp); in xfs_qm_vop_create_dqattach()
1874 xfs_trans_mod_dquot(tp, gdqp, XFS_TRANS_DQ_ICOUNT, 1); in xfs_qm_vop_create_dqattach()