| /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 | 1196 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 D | xfs_ioctl.c | 611 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 D | xfs_inode.c | 662 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 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 | 1636 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 D | xfs_qm.c | 2062 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 D | orphanage.c | 56 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 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()
|