Home
last modified time | relevance | path

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

/linux/fs/xfs/
H A Dxfs_symlink.c107 struct xfs_dquot *udqp; 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()
215 xfs_qm_dqrele(udqp); in xfs_symlink()
241 xfs_qm_dqrele(udqp); in xfs_symlink()
H A Dxfs_quota.h107 struct xfs_dquot *udqp, struct xfs_dquot *gdqp,
157 prid_t prid, uint flags, struct xfs_dquot **udqp, in xfs_qm_vop_dqalloc() argument
160 *udqp = NULL; in xfs_qm_vop_dqalloc()
180 struct xfs_mount *mp, struct xfs_dquot *udqp, in xfs_trans_reserve_quota_bydquots() argument
188 xfs_trans_reserve_quota_icreate(struct xfs_trans *tp, struct xfs_dquot *udqp, in xfs_trans_reserve_quota_icreate() argument
H A Dxfs_trans.c1202 struct xfs_dquot *udqp, 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()
1253 struct xfs_dquot *udqp; in xfs_trans_alloc_ichange() local
1283 udqp = (new_udqp != ip->i_udquot) ? new_udqp : 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 Dxfs_trans_dquot.c922 struct xfs_dquot *udqp, in xfs_trans_reserve_quota_bydquots() argument
936 if (udqp) { in xfs_trans_reserve_quota_bydquots()
937 error = xfs_trans_dqresv(tp, mp, udqp, nblks, ninos, flags); in xfs_trans_reserve_quota_bydquots()
965 if (udqp) in xfs_trans_reserve_quota_bydquots()
966 xfs_trans_dqresv(tp, mp, udqp, -nblks, -ninos, flags); in xfs_trans_reserve_quota_bydquots()
1024 struct xfs_dquot *udqp, 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.c727 struct xfs_dquot *udqp = NULL, *gdqp = NULL; in xfs_setattr_nonsize() local
763 ASSERT(udqp == 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()
785 ASSERT(udqp); in xfs_setattr_nonsize()
786 old_udqp = xfs_qm_vop_chown(tp, ip, &ip->i_udquot, udqp); in xfs_setattr_nonsize()
809 xfs_qm_dqrele(udqp); in xfs_setattr_nonsize()
831 xfs_qm_dqrele(udqp); in xfs_setattr_nonsize()
H A Dxfs_trans.h259 struct xfs_dquot *udqp, struct xfs_dquot *gdqp,
262 int xfs_trans_alloc_ichange(struct xfs_inode *ip, struct xfs_dquot *udqp,
H A Dxfs_icache.h60 int xfs_blockgc_free_dquots(struct xfs_mount *mp, struct xfs_dquot *udqp,
H A Dxfs_icache.c1627 struct xfs_dquot *udqp, in xfs_blockgc_free_dquots() argument
1635 if (!udqp && !gdqp && !pdqp) in xfs_blockgc_free_dquots()
1644 if (XFS_IS_UQUOTA_ENFORCED(mp) && udqp && xfs_dquot_lowsp(udqp)) { in xfs_blockgc_free_dquots()
1645 icw.icw_uid = make_kuid(mp->m_super->s_user_ns, udqp->q_id); in xfs_blockgc_free_dquots()
H A Dxfs_qm.c2185 struct xfs_dquot *udqp, in xfs_qm_vop_create_dqattach() argument
2197 if (udqp && XFS_IS_UQUOTA_ON(mp)) { in xfs_qm_vop_create_dqattach()
2199 ASSERT(i_uid_read(VFS_I(ip)) == udqp->q_id); in xfs_qm_vop_create_dqattach()
2201 ip->i_udquot = xfs_qm_dqhold(udqp); in xfs_qm_vop_create_dqattach()
/linux/fs/xfs/scrub/
H A Dtempfile.c51 struct xfs_dquot *udqp; 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()
153 xfs_qm_dqrele(udqp); in xrep_tempfile_create()
179 xfs_qm_dqrele(udqp); in xrep_tempfile_create()