Home
last modified time | relevance | path

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

/Linux-v5.10/fs/xfs/
Dxfs_symlink.c160 struct xfs_dquot *gdqp = NULL; in xfs_symlink() local
186 &udqp, &gdqp, &pdqp); in xfs_symlink()
218 error = xfs_trans_reserve_quota(tp, mp, udqp, gdqp, in xfs_symlink()
244 xfs_qm_vop_create_dqattach(tp, ip, udqp, gdqp, pdqp); in xfs_symlink()
327 xfs_qm_dqrele(gdqp); in xfs_symlink()
347 xfs_qm_dqrele(gdqp); in xfs_symlink()
Dxfs_quota.h115 struct xfs_dquot **gdqp, struct xfs_dquot **pdqp) in xfs_qm_vop_dqalloc() argument
118 *gdqp = NULL; in xfs_qm_vop_dqalloc()
134 struct xfs_dquot *gdqp, struct xfs_dquot *pdqp, in xfs_trans_reserve_quota_bydquots() argument
Dxfs_trans_dquot.c744 struct xfs_dquot *gdqp, in xfs_trans_reserve_quota_bydquots() argument
766 if (gdqp) { in xfs_trans_reserve_quota_bydquots()
767 error = xfs_trans_dqresv(tp, mp, gdqp, nblks, ninos, flags); in xfs_trans_reserve_quota_bydquots()
785 if (gdqp) in xfs_trans_reserve_quota_bydquots()
786 xfs_trans_dqresv(tp, mp, gdqp, -nblks, -ninos, flags); in xfs_trans_reserve_quota_bydquots()
Dxfs_iops.c664 struct xfs_dquot *udqp = NULL, *gdqp = NULL; in xfs_setattr_nonsize() local
699 ASSERT(gdqp == NULL); in xfs_setattr_nonsize()
701 qflags, &udqp, &gdqp, NULL); in xfs_setattr_nonsize()
736 error = xfs_qm_vop_chown_reserve(tp, ip, udqp, gdqp, in xfs_setattr_nonsize()
771 ASSERT(gdqp); in xfs_setattr_nonsize()
773 &ip->i_gdquot, gdqp); in xfs_setattr_nonsize()
800 xfs_qm_dqrele(gdqp); in xfs_setattr_nonsize()
825 xfs_qm_dqrele(gdqp); in xfs_setattr_nonsize()
Dxfs_qm.c1805 struct xfs_dquot *gdqp, in xfs_qm_vop_chown_reserve() argument
1841 if (XFS_IS_GQUOTA_ON(ip->i_mount) && gdqp && in xfs_qm_vop_chown_reserve()
1842 i_gid_read(VFS_I(ip)) != gdqp->q_id) { in xfs_qm_vop_chown_reserve()
1843 gdq_delblks = gdqp; in xfs_qm_vop_chown_reserve()
1923 struct xfs_dquot *gdqp, in xfs_qm_vop_create_dqattach() argument
1940 if (gdqp && XFS_IS_GQUOTA_ON(mp)) { in xfs_qm_vop_create_dqattach()
1942 ASSERT(i_gid_read(VFS_I(ip)) == gdqp->q_id); in xfs_qm_vop_create_dqattach()
1944 ip->i_gdquot = xfs_qm_dqhold(gdqp); in xfs_qm_vop_create_dqattach()
1945 xfs_trans_mod_dquot(tp, gdqp, XFS_TRANS_DQ_ICOUNT, 1); in xfs_qm_vop_create_dqattach()
Dxfs_inode.c1125 struct xfs_dquot *gdqp = NULL; in xfs_create() local
1142 &udqp, &gdqp, &pdqp); in xfs_create()
1175 error = xfs_trans_reserve_quota(tp, mp, udqp, gdqp, in xfs_create()
1229 xfs_qm_vop_create_dqattach(tp, ip, udqp, gdqp, pdqp); in xfs_create()
1236 xfs_qm_dqrele(gdqp); in xfs_create()
1256 xfs_qm_dqrele(gdqp); in xfs_create()
1276 struct xfs_dquot *gdqp = NULL; in xfs_create_tmpfile() local
1291 &udqp, &gdqp, &pdqp); in xfs_create_tmpfile()
1302 error = xfs_trans_reserve_quota(tp, mp, udqp, gdqp, in xfs_create_tmpfile()
1319 xfs_qm_vop_create_dqattach(tp, ip, udqp, gdqp, pdqp); in xfs_create_tmpfile()
[all …]