Home
last modified time | relevance | path

Searched refs:pdqp (Results 1 – 12 of 12) 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.c1196 struct xfs_dquot *pdqp, 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()
1247 struct xfs_dquot *pdqp; in xfs_trans_alloc_ichange() local
1277 pdqp = (new_pdqp != ip->i_pdquot) ? new_pdqp : NULL; in xfs_trans_alloc_ichange()
1278 if (udqp || gdqp || pdqp) { in xfs_trans_alloc_ichange()
1306 pdqp, dblocks, 1, qflags); in xfs_trans_alloc_ichange()
1309 xfs_blockgc_free_dquots(mp, udqp, gdqp, pdqp, 0); in xfs_trans_alloc_ichange()
1319 pdqp, rblocks, 0, qflags); in xfs_trans_alloc_ichange()
1322 xfs_blockgc_free_dquots(mp, udqp, gdqp, pdqp, 0); in xfs_trans_alloc_ichange()
H A Dxfs_ioctl.c611 struct xfs_dquot *pdqp) in xfs_ioctl_setattr_get_trans() argument
623 error = xfs_trans_alloc_ichange(ip, NULL, NULL, pdqp, in xfs_ioctl_setattr_get_trans()
732 struct xfs_dquot *pdqp = NULL; in xfs_fileattr_set() local
760 XFS_QMOPT_PQUOTA, NULL, NULL, &pdqp); in xfs_fileattr_set()
767 tp = xfs_ioctl_setattr_get_trans(ip, pdqp); in xfs_fileattr_set()
803 &ip->i_pdquot, pdqp); in xfs_fileattr_set()
832 xfs_qm_dqrele(pdqp); in xfs_fileattr_set()
839 xfs_qm_dqrele(pdqp); in xfs_fileattr_set()
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()
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()
759 xfs_qm_dqrele(pdqp); in xfs_create()
785 xfs_qm_dqrele(pdqp); in xfs_create()
803 struct xfs_dquot *pdqp; 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_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.c1636 struct xfs_dquot *pdqp, in xfs_blockgc_free_dquots() argument
1642 if (!udqp && !gdqp && !pdqp) in xfs_blockgc_free_dquots()
1663 if (XFS_IS_PQUOTA_ENFORCED(mp) && pdqp && xfs_dquot_lowsp(pdqp)) { in xfs_blockgc_free_dquots()
1664 icw.icw_prid = pdqp->q_id; in xfs_blockgc_free_dquots()
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()
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()