| /linux-6.15/fs/xfs/ |
| H A D | xfs_symlink.c | 108 struct xfs_dquot *gdqp; in xfs_symlink() local 129 error = xfs_icreate_dqalloc(&args, &udqp, &gdqp, &pdqp); in xfs_symlink() 149 error = xfs_trans_alloc_icreate(mp, &M_RES(mp)->tr_symlink, udqp, gdqp, in xfs_symlink() 186 xfs_qm_vop_create_dqattach(tp, du.ip, udqp, gdqp, pdqp); in xfs_symlink() 216 xfs_qm_dqrele(gdqp); in xfs_symlink() 242 xfs_qm_dqrele(gdqp); in xfs_symlink()
|
| H A D | xfs_quota.h | 107 struct xfs_dquot *udqp, struct xfs_dquot *gdqp, 158 struct xfs_dquot **gdqp, struct xfs_dquot **pdqp) in xfs_qm_vop_dqalloc() argument 161 *gdqp = NULL; in xfs_qm_vop_dqalloc() 181 struct xfs_dquot *gdqp, struct xfs_dquot *pdqp, in xfs_trans_reserve_quota_bydquots() argument 189 struct xfs_dquot *gdqp, struct xfs_dquot *pdqp, int64_t dblocks) in xfs_trans_reserve_quota_icreate() argument
|
| H A D | xfs_trans.c | 1203 struct xfs_dquot *gdqp, in xfs_trans_alloc_icreate() argument 1217 error = xfs_trans_reserve_quota_icreate(tp, udqp, gdqp, pdqp, dblocks); in xfs_trans_alloc_icreate() 1220 xfs_blockgc_free_dquots(mp, udqp, gdqp, pdqp, 0); in xfs_trans_alloc_icreate() 1254 struct xfs_dquot *gdqp; in xfs_trans_alloc_ichange() local 1284 gdqp = (new_gdqp != ip->i_gdquot) ? new_gdqp : NULL; in xfs_trans_alloc_ichange() 1286 if (udqp || gdqp || pdqp) { in xfs_trans_alloc_ichange() 1313 error = xfs_trans_reserve_quota_bydquots(tp, mp, udqp, gdqp, in xfs_trans_alloc_ichange() 1317 xfs_blockgc_free_dquots(mp, udqp, gdqp, pdqp, 0); in xfs_trans_alloc_ichange() 1326 error = xfs_trans_reserve_quota_bydquots(tp, mp, udqp, gdqp, in xfs_trans_alloc_ichange() 1330 xfs_blockgc_free_dquots(mp, udqp, gdqp, pdqp, 0); in xfs_trans_alloc_ichange()
|
| H A D | xfs_trans_dquot.c | 923 struct xfs_dquot *gdqp, in xfs_trans_reserve_quota_bydquots() argument 942 if (gdqp) { in xfs_trans_reserve_quota_bydquots() 943 error = xfs_trans_dqresv(tp, mp, gdqp, nblks, ninos, flags); in xfs_trans_reserve_quota_bydquots() 961 if (gdqp) in xfs_trans_reserve_quota_bydquots() 962 xfs_trans_dqresv(tp, mp, gdqp, -nblks, -ninos, flags); in xfs_trans_reserve_quota_bydquots() 1025 struct xfs_dquot *gdqp, in xfs_trans_reserve_quota_icreate() argument 1034 return xfs_trans_reserve_quota_bydquots(tp, mp, udqp, gdqp, pdqp, in xfs_trans_reserve_quota_icreate()
|
| H A D | xfs_iops.c | 728 struct xfs_dquot *udqp = NULL, *gdqp = NULL; in xfs_setattr_nonsize() local 765 ASSERT(gdqp == NULL); in xfs_setattr_nonsize() 767 qflags, &udqp, &gdqp, NULL); in xfs_setattr_nonsize() 772 error = xfs_trans_alloc_ichange(ip, udqp, gdqp, NULL, in xfs_setattr_nonsize() 792 ASSERT(gdqp); in xfs_setattr_nonsize() 793 old_gdqp = xfs_qm_vop_chown(tp, ip, &ip->i_gdquot, gdqp); in xfs_setattr_nonsize() 811 xfs_qm_dqrele(gdqp); in xfs_setattr_nonsize() 833 xfs_qm_dqrele(gdqp); in xfs_setattr_nonsize()
|
| H A D | xfs_inode.c | 661 struct xfs_dquot *gdqp; in xfs_create() local 678 error = xfs_icreate_dqalloc(args, &udqp, &gdqp, &pdqp); in xfs_create() 705 error = xfs_trans_alloc_icreate(mp, tres, udqp, gdqp, pdqp, in xfs_create() 751 xfs_qm_vop_create_dqattach(tp, du.ip, udqp, gdqp, pdqp); in xfs_create() 758 xfs_qm_dqrele(gdqp); in xfs_create() 784 xfs_qm_dqrele(gdqp); in xfs_create() 802 struct xfs_dquot *gdqp; in xfs_create_tmpfile() local 815 error = xfs_icreate_dqalloc(args, &udqp, &gdqp, &pdqp); in xfs_create_tmpfile() 841 xfs_qm_vop_create_dqattach(tp, ip, udqp, gdqp, pdqp); in xfs_create_tmpfile() 852 xfs_qm_dqrele(gdqp); in xfs_create_tmpfile() [all …]
|
| H A D | xfs_trans.h | 259 struct xfs_dquot *udqp, struct xfs_dquot *gdqp, 263 struct xfs_dquot *gdqp, struct xfs_dquot *pdqp, bool force,
|
| H A D | xfs_icache.h | 61 struct xfs_dquot *gdqp, struct xfs_dquot *pdqp,
|
| H A D | xfs_icache.c | 1628 struct xfs_dquot *gdqp, in xfs_blockgc_free_dquots() argument 1635 if (!udqp && !gdqp && !pdqp) in xfs_blockgc_free_dquots() 1650 if (XFS_IS_UQUOTA_ENFORCED(mp) && gdqp && xfs_dquot_lowsp(gdqp)) { in xfs_blockgc_free_dquots() 1651 icw.icw_gid = make_kgid(mp->m_super->s_user_ns, gdqp->q_id); in xfs_blockgc_free_dquots()
|
| H A D | xfs_qm.c | 2187 struct xfs_dquot *gdqp, in xfs_qm_vop_create_dqattach() argument 2204 if (gdqp && XFS_IS_GQUOTA_ON(mp)) { in xfs_qm_vop_create_dqattach() 2206 ASSERT(i_gid_read(VFS_I(ip)) == gdqp->q_id); in xfs_qm_vop_create_dqattach() 2208 ip->i_gdquot = xfs_qm_dqhold(gdqp); in xfs_qm_vop_create_dqattach()
|
| /linux-6.15/fs/xfs/scrub/ |
| H A D | orphanage.c | 56 struct xfs_dquot *udqp = NULL, *gdqp = NULL, *pdqp = NULL; in xrep_chown_orphanage() local 62 XFS_QMOPT_QUOTALL, &udqp, &gdqp, &pdqp); in xrep_chown_orphanage() 66 error = xfs_trans_alloc_ichange(dp, udqp, gdqp, pdqp, true, &tp); in xrep_chown_orphanage() 89 oldg = xfs_qm_vop_chown(tp, dp, &dp->i_gdquot, gdqp); in xrep_chown_orphanage() 113 xfs_qm_dqrele(gdqp); in xrep_chown_orphanage()
|
| H A D | tempfile.c | 52 struct xfs_dquot *gdqp; in xrep_tempfile_create() local 74 error = xfs_icreate_dqalloc(&args, &udqp, &gdqp, &pdqp); in xrep_tempfile_create() 86 error = xfs_trans_alloc_icreate(mp, tres, udqp, gdqp, pdqp, resblks, in xrep_tempfile_create() 134 xfs_qm_vop_create_dqattach(tp, sc->tempip, udqp, gdqp, pdqp); in xrep_tempfile_create() 154 xfs_qm_dqrele(gdqp); in xrep_tempfile_create() 180 xfs_qm_dqrele(gdqp); in xrep_tempfile_create()
|