/linux/fs/xfs/ |
H A D | xfs_symlink.c | 109 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 D | xfs_quota.h | 108 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 D | xfs_trans.c | 1204 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 D | xfs_ioctl.c | 612 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 D | xfs_trans_dquot.c | 924 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 D | xfs_trans.h | 260 struct xfs_dquot *pdqp, unsigned int dblocks, 263 struct xfs_dquot *gdqp, struct xfs_dquot *pdqp, bool force,
|
H A D | xfs_icache.h | 61 struct xfs_dquot *gdqp, struct xfs_dquot *pdqp,
|
H A D | xfs_icache.c | 1629 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 D | xfs_qm.c | 2187 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 D | tempfile.c | 53 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()
|