Home
last modified time | relevance | path

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

/openbmc/linux/fs/xfs/
H A Dxfs_quota.h91 struct xfs_dquot *pdqp, int64_t dblocks);
121 struct xfs_dquot **gdqp, struct xfs_dquot **pdqp) in xfs_qm_vop_dqalloc() argument
125 *pdqp = NULL; in xfs_qm_vop_dqalloc()
141 struct xfs_dquot *gdqp, struct xfs_dquot *pdqp, in xfs_trans_reserve_quota_bydquots() argument
155 struct xfs_dquot *gdqp, struct xfs_dquot *pdqp, int64_t dblocks) in xfs_trans_reserve_quota_icreate() argument
H A Dxfs_symlink.c172 struct xfs_dquot *pdqp = NULL; in xfs_symlink() local
199 &udqp, &gdqp, &pdqp); in xfs_symlink()
214 pdqp, resblks, &tp); in xfs_symlink()
253 xfs_qm_vop_create_dqattach(tp, ip, udqp, gdqp, pdqp); in xfs_symlink()
337 xfs_qm_dqrele(pdqp); in xfs_symlink()
357 xfs_qm_dqrele(pdqp); in xfs_symlink()
H A Dxfs_trans.c1244 struct xfs_dquot *pdqp, in xfs_trans_alloc_icreate() argument
1257 error = xfs_trans_reserve_quota_icreate(tp, udqp, gdqp, pdqp, dblocks); in xfs_trans_alloc_icreate()
1260 xfs_blockgc_free_dquots(mp, udqp, gdqp, pdqp, 0); in xfs_trans_alloc_icreate()
1295 struct xfs_dquot *pdqp; in xfs_trans_alloc_ichange() local
1322 pdqp = (new_pdqp != ip->i_pdquot) ? new_pdqp : NULL; in xfs_trans_alloc_ichange()
1323 if (udqp || gdqp || pdqp) { in xfs_trans_alloc_ichange()
1336 pdqp, ip->i_nblocks + ip->i_delayed_blks, in xfs_trans_alloc_ichange()
1340 xfs_blockgc_free_dquots(mp, udqp, gdqp, pdqp, 0); in xfs_trans_alloc_ichange()
H A Dxfs_trans_dquot.c731 struct xfs_dquot *pdqp, in xfs_trans_reserve_quota_bydquots() argument
755 if (pdqp) { in xfs_trans_reserve_quota_bydquots()
756 error = xfs_trans_dqresv(tp, mp, pdqp, nblks, ninos, flags); in xfs_trans_reserve_quota_bydquots()
831 struct xfs_dquot *pdqp, in xfs_trans_reserve_quota_icreate() argument
839 return xfs_trans_reserve_quota_bydquots(tp, mp, udqp, gdqp, pdqp, in xfs_trans_reserve_quota_icreate()
H A Dxfs_trans.h267 struct xfs_dquot *pdqp, unsigned int dblocks,
270 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_inode.c972 struct xfs_dquot *pdqp = NULL; in xfs_create() local
990 &udqp, &gdqp, &pdqp); in xfs_create()
1013 error = xfs_trans_alloc_icreate(mp, tres, udqp, gdqp, pdqp, in xfs_create()
1074 xfs_qm_vop_create_dqattach(tp, ip, udqp, gdqp, pdqp); in xfs_create()
1082 xfs_qm_dqrele(pdqp); in xfs_create()
1102 xfs_qm_dqrele(pdqp); in xfs_create()
1123 struct xfs_dquot *pdqp = NULL; in xfs_create_tmpfile() local
1139 &udqp, &gdqp, &pdqp); in xfs_create_tmpfile()
1166 xfs_qm_vop_create_dqattach(tp, ip, udqp, gdqp, pdqp); in xfs_create_tmpfile()
1178 xfs_qm_dqrele(pdqp); in xfs_create_tmpfile()
[all …]
H A Dxfs_ioctl.c1196 struct xfs_dquot *pdqp) in xfs_ioctl_setattr_get_trans() argument
1208 error = xfs_trans_alloc_ichange(ip, NULL, NULL, pdqp, in xfs_ioctl_setattr_get_trans()
1317 struct xfs_dquot *pdqp = NULL; in xfs_fileattr_set() local
1348 XFS_QMOPT_PQUOTA, NULL, NULL, &pdqp); in xfs_fileattr_set()
1355 tp = xfs_ioctl_setattr_get_trans(ip, pdqp); in xfs_fileattr_set()
1391 &ip->i_pdquot, pdqp); in xfs_fileattr_set()
1420 xfs_qm_dqrele(pdqp); in xfs_fileattr_set()
1427 xfs_qm_dqrele(pdqp); in xfs_fileattr_set()
H A Dxfs_qm.c1892 struct xfs_dquot *pdqp) in xfs_qm_vop_create_dqattach() argument
1915 if (pdqp && XFS_IS_PQUOTA_ON(mp)) { in xfs_qm_vop_create_dqattach()
1917 ASSERT(ip->i_projid == pdqp->q_id); in xfs_qm_vop_create_dqattach()
1919 ip->i_pdquot = xfs_qm_dqhold(pdqp); in xfs_qm_vop_create_dqattach()
1920 xfs_trans_mod_dquot(tp, pdqp, XFS_TRANS_DQ_ICOUNT, 1); in xfs_qm_vop_create_dqattach()
H A Dxfs_icache.c1523 struct xfs_dquot *pdqp, in xfs_blockgc_free_dquots() argument
1529 if (!udqp && !gdqp && !pdqp) in xfs_blockgc_free_dquots()
1550 if (XFS_IS_PQUOTA_ENFORCED(mp) && pdqp && xfs_dquot_lowsp(pdqp)) { in xfs_blockgc_free_dquots()
1551 icw.icw_prid = pdqp->q_id; in xfs_blockgc_free_dquots()