Home
last modified time | relevance | path

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

/linux/fs/xfs/
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_iops.c792 struct xfs_dquot *udqp = NULL, *gdqp = NULL; in xfs_setattr_nonsize() local
828 ASSERT(udqp == NULL); in xfs_setattr_nonsize()
831 qflags, &udqp, &gdqp, NULL); in xfs_setattr_nonsize()
836 error = xfs_trans_alloc_ichange(ip, udqp, gdqp, NULL, in xfs_setattr_nonsize()
850 ASSERT(udqp); in xfs_setattr_nonsize()
851 old_udqp = xfs_qm_vop_chown(tp, ip, &ip->i_udquot, udqp); in xfs_setattr_nonsize()
874 xfs_qm_dqrele(udqp); in xfs_setattr_nonsize()
896 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()
745 xfs_qm_vop_create_dqattach(tp, du.ip, udqp, gdqp, pdqp); in xfs_create()
751 xfs_qm_dqrele(udqp); in xfs_create()
777 xfs_qm_dqrele(udqp); in xfs_create()
795 struct xfs_dquot *udqp; 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 Dxfs_icache.h60 int xfs_blockgc_free_dquots(struct xfs_mount *mp, struct xfs_dquot *udqp,
H A Dxfs_icache.c1633 struct xfs_dquot *udqp, in xfs_blockgc_free_dquots() argument
1641 if (!udqp && !gdqp && !pdqp) in xfs_blockgc_free_dquots()
1650 if (XFS_IS_UQUOTA_ENFORCED(mp) && udqp && xfs_dquot_lowsp(udqp)) { in xfs_blockgc_free_dquots()
1651 icw.icw_uid = make_kuid(mp->m_super->s_user_ns, udqp->q_id); in xfs_blockgc_free_dquots()
H A Dxfs_qm.c2065 struct xfs_dquot *udqp, in xfs_qm_vop_create_dqattach() argument
2077 if (udqp && XFS_IS_UQUOTA_ON(mp)) { in xfs_qm_vop_create_dqattach()
2079 ASSERT(i_uid_read(VFS_I(ip)) == udqp->q_id); in xfs_qm_vop_create_dqattach()
2081 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()
180 xfs_qm_dqrele(udqp); in xrep_tempfile_create()