Home
last modified time | relevance | path

Searched refs:udqp (Results 1 – 12 of 12) 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.c1194 struct xfs_dquot *udqp, 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()
1245 struct xfs_dquot *udqp; in xfs_trans_alloc_ichange() local
1275 udqp = (new_udqp != ip->i_udquot) ? new_udqp : 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.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.c793 struct xfs_dquot *udqp = NULL, *gdqp = NULL; in xfs_setattr_nonsize() local
829 ASSERT(udqp == 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()
851 ASSERT(udqp); in xfs_setattr_nonsize()
852 old_udqp = xfs_qm_vop_chown(tp, ip, &ip->i_udquot, udqp); in xfs_setattr_nonsize()
875 xfs_qm_dqrele(udqp); in xfs_setattr_nonsize()
897 xfs_qm_dqrele(udqp); in xfs_setattr_nonsize()
H A Dxfs_inode.c660 struct xfs_dquot *udqp; 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()
757 xfs_qm_dqrele(udqp); in xfs_create()
783 xfs_qm_dqrele(udqp); in xfs_create()
801 struct xfs_dquot *udqp; 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,
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.c1634 struct xfs_dquot *udqp, in xfs_blockgc_free_dquots() argument
1642 if (!udqp && !gdqp && !pdqp) in xfs_blockgc_free_dquots()
1651 if (XFS_IS_UQUOTA_ENFORCED(mp) && udqp && xfs_dquot_lowsp(udqp)) { in xfs_blockgc_free_dquots()
1652 icw.icw_uid = make_kuid(mp->m_super->s_user_ns, udqp->q_id); in xfs_blockgc_free_dquots()
H A Dxfs_qm.c2060 struct xfs_dquot *udqp, in xfs_qm_vop_create_dqattach() argument
2072 if (udqp && XFS_IS_UQUOTA_ON(mp)) { in xfs_qm_vop_create_dqattach()
2074 ASSERT(i_uid_read(VFS_I(ip)) == udqp->q_id); in xfs_qm_vop_create_dqattach()
2076 ip->i_udquot = xfs_qm_dqhold(udqp); 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()
84 oldu = xfs_qm_vop_chown(tp, dp, &dp->i_udquot, udqp); in xrep_chown_orphanage()
112 xfs_qm_dqrele(udqp); in xrep_chown_orphanage()
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()