Home
last modified time | relevance | path

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

/linux/fs/xfs/
H A Dxfs_symlink.c109 struct xfs_dquot *pdqp; in xfs_symlink() local
129 error = xfs_icreate_dqalloc(&args, &udqp, &gdqp, &pdqp); in xfs_symlink()
150 pdqp, resblks, &tp); in xfs_symlink()
186 xfs_qm_vop_create_dqattach(tp, du.ip, udqp, gdqp, pdqp); in xfs_symlink()
217 xfs_qm_dqrele(pdqp); in xfs_symlink()
243 xfs_qm_dqrele(pdqp); in xfs_symlink()
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.c1204 struct xfs_dquot *pdqp, 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()
1255 struct xfs_dquot *pdqp; in xfs_trans_alloc_ichange() local
1285 pdqp = (new_pdqp != ip->i_pdquot) ? new_pdqp : NULL; in xfs_trans_alloc_ichange()
1286 if (udqp || gdqp || pdqp) { in xfs_trans_alloc_ichange()
1314 pdqp, dblocks, 1, qflags); in xfs_trans_alloc_ichange()
1317 xfs_blockgc_free_dquots(mp, udqp, gdqp, pdqp, 0); in xfs_trans_alloc_ichange()
1327 pdqp, rblocks, 0, qflags); in xfs_trans_alloc_ichange()
1330 xfs_blockgc_free_dquots(mp, udqp, gdqp, pdqp, 0); in xfs_trans_alloc_ichange()
H A Dxfs_ioctl.c612 struct xfs_dquot *pdqp) in xfs_ioctl_setattr_get_trans() argument
624 error = xfs_trans_alloc_ichange(ip, NULL, NULL, pdqp, in xfs_ioctl_setattr_get_trans()
733 struct xfs_dquot *pdqp = NULL; in xfs_fileattr_set() local
764 XFS_QMOPT_PQUOTA, NULL, NULL, &pdqp); in xfs_fileattr_set()
771 tp = xfs_ioctl_setattr_get_trans(ip, pdqp); in xfs_fileattr_set()
807 &ip->i_pdquot, pdqp); in xfs_fileattr_set()
836 xfs_qm_dqrele(pdqp); in xfs_fileattr_set()
843 xfs_qm_dqrele(pdqp); in xfs_fileattr_set()
H A Dxfs_trans_dquot.c924 struct xfs_dquot *pdqp, in xfs_trans_reserve_quota_bydquots() argument
948 if (pdqp) { in xfs_trans_reserve_quota_bydquots()
949 error = xfs_trans_dqresv(tp, mp, pdqp, nblks, ninos, flags); in xfs_trans_reserve_quota_bydquots()
1026 struct xfs_dquot *pdqp, 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_trans.h260 struct xfs_dquot *pdqp, unsigned int dblocks,
263 struct xfs_dquot *gdqp, struct xfs_dquot *pdqp, bool force,
H A Dxfs_icache.h61 struct xfs_dquot *gdqp, struct xfs_dquot *pdqp,
H A Dxfs_icache.c1629 struct xfs_dquot *pdqp, in xfs_blockgc_free_dquots() argument
1635 if (!udqp && !gdqp && !pdqp) in xfs_blockgc_free_dquots()
1656 if (XFS_IS_PQUOTA_ENFORCED(mp) && pdqp && xfs_dquot_lowsp(pdqp)) { in xfs_blockgc_free_dquots()
1657 icw.icw_prid = pdqp->q_id; in xfs_blockgc_free_dquots()
H A Dxfs_qm.c2187 struct xfs_dquot *pdqp) in xfs_qm_vop_create_dqattach() argument
2209 if (pdqp && XFS_IS_PQUOTA_ON(mp)) { in xfs_qm_vop_create_dqattach()
2211 ASSERT(ip->i_projid == pdqp->q_id); in xfs_qm_vop_create_dqattach()
2213 ip->i_pdquot = xfs_qm_dqhold(pdqp); in xfs_qm_vop_create_dqattach()
/linux/fs/xfs/scrub/
H A Dtempfile.c53 struct xfs_dquot *pdqp; 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()
155 xfs_qm_dqrele(pdqp); in xrep_tempfile_create()
181 xfs_qm_dqrele(pdqp); in xrep_tempfile_create()