Home
last modified time | relevance | path

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

/linux/fs/xfs/
H A Dxfs_quota.h108 struct xfs_dquot *pdqp, int64_t dblocks);
158 struct xfs_dquot **gdqp, struct xfs_dquot **pdqp) in xfs_qm_vop_dqalloc() argument
162 *pdqp = 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 Dxfs_trans.c1196 struct xfs_dquot *pdqp, 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()
1258 struct xfs_dquot *pdqp; in xfs_trans_alloc_ichange() local
1288 pdqp = (new_pdqp != ip->i_pdquot) ? new_pdqp : NULL; in xfs_trans_alloc_ichange()
1289 if (udqp || gdqp || pdqp) { in xfs_trans_alloc_ichange()
1317 pdqp, dblocks, 1, qflags); in xfs_trans_alloc_ichange()
1320 xfs_blockgc_free_dquots(mp, udqp, gdqp, pdqp, 0); in xfs_trans_alloc_ichange()
1330 pdqp, rblocks, 0, qflags); in xfs_trans_alloc_ichange()
1333 xfs_blockgc_free_dquots(mp, udqp, gdqp, pdqp, in xfs_trans_alloc_ichange()
[all...]
H A Dxfs_ioctl.c637 struct xfs_dquot *pdqp) in xfs_ioctl_setattr_get_trans() argument
649 error = xfs_trans_alloc_ichange(ip, NULL, NULL, pdqp, in xfs_ioctl_setattr_get_trans()
758 struct xfs_dquot *pdqp = NULL; in xfs_fileattr_set() local
800 XFS_QMOPT_PQUOTA, NULL, NULL, &pdqp); in xfs_fileattr_set()
807 tp = xfs_ioctl_setattr_get_trans(ip, pdqp); in xfs_fileattr_set()
843 &ip->i_pdquot, pdqp); in xfs_fileattr_set()
872 xfs_qm_dqrele(pdqp); in xfs_getbmap_format()
879 xfs_qm_dqrele(pdqp); in xfs_getbmap_format()
H A Dxfs_inode.c662 struct xfs_dquot *pdqp; 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()
753 xfs_qm_dqrele(pdqp); in xfs_create()
779 xfs_qm_dqrele(pdqp); in xfs_create()
797 struct xfs_dquot *pdqp; 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.h61 struct xfs_dquot *gdqp, struct xfs_dquot *pdqp,
H A Dxfs_icache.c1638 struct xfs_dquot *pdqp, in xfs_blockgc_free_dquots()
1644 if (!udqp && !gdqp && !pdqp) in xfs_blockgc_free_dquots()
1665 if (XFS_IS_PQUOTA_ENFORCED(mp) && pdqp && xfs_dquot_lowsp(pdqp)) { in xfs_blockgc_free_dquots()
1666 icw.icw_prid = pdqp->q_id; in xfs_blockgc_free_dquots()
1636 xfs_blockgc_free_dquots(struct xfs_mount * mp,struct xfs_dquot * udqp,struct xfs_dquot * gdqp,struct xfs_dquot * pdqp,unsigned int iwalk_flags) xfs_blockgc_free_dquots() argument
H A Dxfs_qm.c2062 struct xfs_dquot *pdqp) in xfs_qm_vop_create_dqattach() argument
2084 if (pdqp && XFS_IS_PQUOTA_ON(mp)) { in xfs_qm_vop_create_dqattach()
2086 ASSERT(ip->i_projid == pdqp->q_id); in xfs_qm_vop_create_dqattach()
2088 ip->i_pdquot = xfs_qm_dqhold(pdqp); 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()
94 oldp = xfs_qm_vop_chown(tp, dp, &dp->i_pdquot, pdqp); in xrep_chown_orphanage()
114 xfs_qm_dqrele(pdqp); in xrep_chown_orphanage()