| /linux/fs/xfs/ |
| 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 | 1195 struct xfs_dquot *gdqp, in xfs_trans_alloc_icreate() argument 1220 error = xfs_trans_reserve_quota_icreate(tp, udqp, gdqp, pdqp, dblocks); in xfs_trans_alloc_icreate() 1223 xfs_blockgc_free_dquots(mp, udqp, gdqp, pdqp, 0); in xfs_trans_alloc_icreate() 1257 struct xfs_dquot *gdqp; in xfs_trans_alloc_ichange() local 1287 gdqp = (new_gdqp != ip->i_gdquot) ? new_gdqp : NULL; in xfs_trans_alloc_ichange() 1289 if (udqp || gdqp || pdqp) { in xfs_trans_alloc_ichange() 1316 error = xfs_trans_reserve_quota_bydquots(tp, mp, udqp, gdqp, in xfs_trans_alloc_ichange() 1320 xfs_blockgc_free_dquots(mp, udqp, gdqp, pdqp, 0); in xfs_trans_alloc_ichange() 1329 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()
|
| 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() 700 error = xfs_trans_alloc_icreate(mp, tres, udqp, gdqp, pdqp, resblks, in xfs_create() 745 xfs_qm_vop_create_dqattach(tp, du.ip, udqp, gdqp, pdqp); in xfs_create() 752 xfs_qm_dqrele(gdqp); in xfs_create() 778 xfs_qm_dqrele(gdqp); in xfs_create() 796 struct xfs_dquot *gdqp; in xfs_create_tmpfile() local 809 error = xfs_icreate_dqalloc(args, &udqp, &gdqp, &pdqp); in xfs_create_tmpfile() 816 error = xfs_trans_alloc_icreate(mp, tres, udqp, gdqp, pdqp, resblks, in xfs_create_tmpfile() 835 xfs_qm_vop_create_dqattach(tp, ip, udqp, gdqp, pdqp); in xfs_create_tmpfile() [all …]
|
| H A D | xfs_icache.h | 61 struct xfs_dquot *gdqp, struct xfs_dquot *pdqp,
|
| H A D | xfs_icache.c | 1635 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 D | xfs_qm.c | 2061 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 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()
|