Home
last modified time | relevance | path

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

/linux/fs/xfs/
H A Dxfs_symlink.c108 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 Dxfs_quota.h107 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 Dxfs_trans.c1195 struct xfs_dquot *gdqp, in xfs_trans_alloc_icreate() argument
1209 error = xfs_trans_reserve_quota_icreate(tp, udqp, gdqp, pdqp, dblocks); in xfs_trans_alloc_icreate()
1212 xfs_blockgc_free_dquots(mp, udqp, gdqp, pdqp, 0); in xfs_trans_alloc_icreate()
1246 struct xfs_dquot *gdqp; in xfs_trans_alloc_ichange() local
1276 gdqp = (new_gdqp != ip->i_gdquot) ? new_gdqp : NULL; in xfs_trans_alloc_ichange()
1278 if (udqp || gdqp || pdqp) { in xfs_trans_alloc_ichange()
1305 error = xfs_trans_reserve_quota_bydquots(tp, mp, udqp, gdqp, in xfs_trans_alloc_ichange()
1309 xfs_blockgc_free_dquots(mp, udqp, gdqp, pdqp, 0); in xfs_trans_alloc_ichange()
1318 error = xfs_trans_reserve_quota_bydquots(tp, mp, udqp, gdqp, in xfs_trans_alloc_ichange()
1322 xfs_blockgc_free_dquots(mp, udqp, gdqp, pdqp, 0); in xfs_trans_alloc_ichange()
H A Dxfs_trans_dquot.c923 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 Dxfs_iops.c793 struct xfs_dquot *udqp = NULL, *gdqp = NULL; in xfs_setattr_nonsize() local
830 ASSERT(gdqp == NULL); in xfs_setattr_nonsize()
832 qflags, &udqp, &gdqp, NULL); in xfs_setattr_nonsize()
837 error = xfs_trans_alloc_ichange(ip, udqp, gdqp, NULL, in xfs_setattr_nonsize()
857 ASSERT(gdqp); in xfs_setattr_nonsize()
858 old_gdqp = xfs_qm_vop_chown(tp, ip, &ip->i_gdquot, gdqp); in xfs_setattr_nonsize()
876 xfs_qm_dqrele(gdqp); in xfs_setattr_nonsize()
898 xfs_qm_dqrele(gdqp); in xfs_setattr_nonsize()
H A Dxfs_inode.c661 struct xfs_dquot *gdqp; in xfs_create() local
678 error = xfs_icreate_dqalloc(args, &udqp, &gdqp, &pdqp); in xfs_create()
700 error = xfs_trans_alloc_icreate(mp, tres, udqp, gdqp, pdqp, resblks, 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()
822 error = xfs_trans_alloc_icreate(mp, tres, udqp, gdqp, pdqp, resblks, in xfs_create_tmpfile()
[all …]
H A Dxfs_trans.h259 struct xfs_dquot *udqp, struct xfs_dquot *gdqp,
263 struct xfs_dquot *gdqp, struct xfs_dquot *pdqp, bool force,
H A Dxfs_icache.h61 struct xfs_dquot *gdqp, struct xfs_dquot *pdqp,
H A Dxfs_icache.c1635 struct xfs_dquot *gdqp, in xfs_blockgc_free_dquots() argument
1642 if (!udqp && !gdqp && !pdqp) in xfs_blockgc_free_dquots()
1657 if (XFS_IS_UQUOTA_ENFORCED(mp) && gdqp && xfs_dquot_lowsp(gdqp)) { in xfs_blockgc_free_dquots()
1658 icw.icw_gid = make_kgid(mp->m_super->s_user_ns, gdqp->q_id); in xfs_blockgc_free_dquots()
H A Dxfs_qm.c2061 struct xfs_dquot *gdqp, in xfs_qm_vop_create_dqattach() argument
2078 if (gdqp && XFS_IS_GQUOTA_ON(mp)) { in xfs_qm_vop_create_dqattach()
2080 ASSERT(i_gid_read(VFS_I(ip)) == gdqp->q_id); in xfs_qm_vop_create_dqattach()
2082 ip->i_gdquot = xfs_qm_dqhold(gdqp); in xfs_qm_vop_create_dqattach()
/linux/fs/xfs/scrub/
H A Dorphanage.c56 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 Dtempfile.c52 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()