/linux/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 | 727 struct xfs_dquot *udqp = NULL, *gdqp = NULL; in xfs_setattr_nonsize() local 764 ASSERT(gdqp == NULL); in xfs_setattr_nonsize() 766 qflags, &udqp, &gdqp, NULL); in xfs_setattr_nonsize() 771 error = xfs_trans_alloc_ichange(ip, udqp, gdqp, NULL, in xfs_setattr_nonsize() 791 ASSERT(gdqp); in xfs_setattr_nonsize() 792 old_gdqp = xfs_qm_vop_chown(tp, ip, &ip->i_gdquot, gdqp); in xfs_setattr_nonsize() 810 xfs_qm_dqrele(gdqp); in xfs_setattr_nonsize() 832 xfs_qm_dqrele(gdqp); in xfs_setattr_nonsize()
|
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 | 2186 struct xfs_dquot *gdqp, in xfs_qm_vop_create_dqattach() argument 2203 if (gdqp && XFS_IS_GQUOTA_ON(mp)) { in xfs_qm_vop_create_dqattach() 2205 ASSERT(i_gid_read(VFS_I(ip)) == gdqp->q_id); in xfs_qm_vop_create_dqattach() 2207 ip->i_gdquot = xfs_qm_dqhold(gdqp); in xfs_qm_vop_create_dqattach()
|
/linux/fs/xfs/scrub/ |
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()
|