Home
last modified time | relevance | path

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

/linux-6.1.9/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.c171 struct xfs_dquot *gdqp = NULL; in xfs_symlink() local
199 &udqp, &gdqp, &pdqp); in xfs_symlink()
213 error = xfs_trans_alloc_icreate(mp, &M_RES(mp)->tr_symlink, udqp, gdqp, in xfs_symlink()
253 xfs_qm_vop_create_dqattach(tp, ip, udqp, gdqp, pdqp); in xfs_symlink()
336 xfs_qm_dqrele(gdqp); in xfs_symlink()
356 xfs_qm_dqrele(gdqp); in xfs_symlink()
Dxfs_trans_dquot.c730 struct xfs_dquot *gdqp, in xfs_trans_reserve_quota_bydquots() argument
749 if (gdqp) { in xfs_trans_reserve_quota_bydquots()
750 error = xfs_trans_dqresv(tp, mp, gdqp, nblks, ninos, flags); in xfs_trans_reserve_quota_bydquots()
768 if (gdqp) in xfs_trans_reserve_quota_bydquots()
769 xfs_trans_dqresv(tp, mp, gdqp, -nblks, -ninos, flags); in xfs_trans_reserve_quota_bydquots()
830 struct xfs_dquot *gdqp, in xfs_trans_reserve_quota_icreate() argument
839 return xfs_trans_reserve_quota_bydquots(tp, mp, udqp, gdqp, pdqp, in xfs_trans_reserve_quota_icreate()
Dxfs_trans.c1236 struct xfs_dquot *gdqp, in xfs_trans_alloc_icreate() argument
1250 error = xfs_trans_reserve_quota_icreate(tp, udqp, gdqp, pdqp, dblocks); in xfs_trans_alloc_icreate()
1253 xfs_blockgc_free_dquots(mp, udqp, gdqp, pdqp, 0); in xfs_trans_alloc_icreate()
1287 struct xfs_dquot *gdqp; in xfs_trans_alloc_ichange() local
1314 gdqp = (new_gdqp != ip->i_gdquot) ? new_gdqp : NULL; in xfs_trans_alloc_ichange()
1316 if (udqp || gdqp || pdqp) { in xfs_trans_alloc_ichange()
1328 error = xfs_trans_reserve_quota_bydquots(tp, mp, udqp, gdqp, in xfs_trans_alloc_ichange()
1333 xfs_blockgc_free_dquots(mp, udqp, gdqp, pdqp, 0); in xfs_trans_alloc_ichange()
Dxfs_iops.c664 struct xfs_dquot *udqp = NULL, *gdqp = NULL; in xfs_setattr_nonsize() local
701 ASSERT(gdqp == NULL); in xfs_setattr_nonsize()
703 qflags, &udqp, &gdqp, NULL); in xfs_setattr_nonsize()
708 error = xfs_trans_alloc_ichange(ip, udqp, gdqp, NULL, in xfs_setattr_nonsize()
728 ASSERT(gdqp); in xfs_setattr_nonsize()
729 old_gdqp = xfs_qm_vop_chown(tp, ip, &ip->i_gdquot, gdqp); in xfs_setattr_nonsize()
747 xfs_qm_dqrele(gdqp); in xfs_setattr_nonsize()
769 xfs_qm_dqrele(gdqp); in xfs_setattr_nonsize()
Dxfs_inode.c965 struct xfs_dquot *gdqp = NULL; in xfs_create() local
984 &udqp, &gdqp, &pdqp); in xfs_create()
1002 error = xfs_trans_alloc_icreate(mp, tres, udqp, gdqp, pdqp, resblks, in xfs_create()
1007 error = xfs_trans_alloc_icreate(mp, tres, udqp, gdqp, pdqp, in xfs_create()
1068 xfs_qm_vop_create_dqattach(tp, ip, udqp, gdqp, pdqp); in xfs_create()
1075 xfs_qm_dqrele(gdqp); in xfs_create()
1095 xfs_qm_dqrele(gdqp); in xfs_create()
1116 struct xfs_dquot *gdqp = NULL; in xfs_create_tmpfile() local
1133 &udqp, &gdqp, &pdqp); in xfs_create_tmpfile()
1140 error = xfs_trans_alloc_icreate(mp, tres, udqp, gdqp, pdqp, resblks, in xfs_create_tmpfile()
[all …]
Dxfs_trans.h264 struct xfs_dquot *udqp, struct xfs_dquot *gdqp,
268 struct xfs_dquot *gdqp, struct xfs_dquot *pdqp, bool force,
Dxfs_icache.h58 struct xfs_dquot *gdqp, struct xfs_dquot *pdqp,
Dxfs_icache.c1528 struct xfs_dquot *gdqp, in xfs_blockgc_free_dquots() argument
1535 if (!udqp && !gdqp && !pdqp) in xfs_blockgc_free_dquots()
1550 if (XFS_IS_UQUOTA_ENFORCED(mp) && gdqp && xfs_dquot_lowsp(gdqp)) { in xfs_blockgc_free_dquots()
1551 icw.icw_gid = make_kgid(mp->m_super->s_user_ns, gdqp->q_id); in xfs_blockgc_free_dquots()
Dxfs_qm.c1855 struct xfs_dquot *gdqp, in xfs_qm_vop_create_dqattach() argument
1872 if (gdqp && XFS_IS_GQUOTA_ON(mp)) { in xfs_qm_vop_create_dqattach()
1874 ASSERT(i_gid_read(VFS_I(ip)) == gdqp->q_id); in xfs_qm_vop_create_dqattach()
1876 ip->i_gdquot = xfs_qm_dqhold(gdqp); in xfs_qm_vop_create_dqattach()
1877 xfs_trans_mod_dquot(tp, gdqp, XFS_TRANS_DQ_ICOUNT, 1); in xfs_qm_vop_create_dqattach()