/openbmc/linux/fs/xfs/ |
H A D | xfs_quota.h | 91 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 D | xfs_symlink.c | 172 struct xfs_dquot *pdqp = NULL; in xfs_symlink() local 201 &udqp, &gdqp, &pdqp); in xfs_symlink() 216 pdqp, resblks, &tp); in xfs_symlink() 255 xfs_qm_vop_create_dqattach(tp, ip, udqp, gdqp, pdqp); in xfs_symlink() 339 xfs_qm_dqrele(pdqp); in xfs_symlink() 359 xfs_qm_dqrele(pdqp); in xfs_symlink()
|
H A D | xfs_trans.c | 1236 struct xfs_dquot *pdqp, in xfs_trans_alloc_icreate() argument 1249 error = xfs_trans_reserve_quota_icreate(tp, udqp, gdqp, pdqp, dblocks); in xfs_trans_alloc_icreate() 1252 xfs_blockgc_free_dquots(mp, udqp, gdqp, pdqp, 0); in xfs_trans_alloc_icreate() 1287 struct xfs_dquot *pdqp; in xfs_trans_alloc_ichange() local 1314 pdqp = (new_pdqp != ip->i_pdquot) ? new_pdqp : NULL; in xfs_trans_alloc_ichange() 1315 if (udqp || gdqp || pdqp) { in xfs_trans_alloc_ichange() 1328 pdqp, ip->i_nblocks + ip->i_delayed_blks, in xfs_trans_alloc_ichange() 1332 xfs_blockgc_free_dquots(mp, udqp, gdqp, pdqp, 0); in xfs_trans_alloc_ichange()
|
H A D | xfs_trans_dquot.c | 731 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 D | xfs_inode.c | 972 struct xfs_dquot *pdqp = NULL; in xfs_create() local 992 &udqp, &gdqp, &pdqp); in xfs_create() 1010 error = xfs_trans_alloc_icreate(mp, tres, udqp, gdqp, pdqp, resblks, in xfs_create() 1015 error = xfs_trans_alloc_icreate(mp, tres, udqp, gdqp, pdqp, in xfs_create() 1076 xfs_qm_vop_create_dqattach(tp, ip, udqp, gdqp, pdqp); in xfs_create() 1084 xfs_qm_dqrele(pdqp); in xfs_create() 1104 xfs_qm_dqrele(pdqp); in xfs_create() 1125 struct xfs_dquot *pdqp = NULL; in xfs_create_tmpfile() local 1143 &udqp, &gdqp, &pdqp); in xfs_create_tmpfile() 1150 error = xfs_trans_alloc_icreate(mp, tres, udqp, gdqp, pdqp, resblks, in xfs_create_tmpfile() [all …]
|
H A D | xfs_trans.h | 267 struct xfs_dquot *pdqp, unsigned int dblocks, 270 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_ioctl.c | 1208 struct xfs_dquot *pdqp) in xfs_ioctl_setattr_get_trans() argument 1220 error = xfs_trans_alloc_ichange(ip, NULL, NULL, pdqp, in xfs_ioctl_setattr_get_trans() 1329 struct xfs_dquot *pdqp = NULL; in xfs_fileattr_set() local 1360 XFS_QMOPT_PQUOTA, NULL, NULL, &pdqp); in xfs_fileattr_set() 1367 tp = xfs_ioctl_setattr_get_trans(ip, pdqp); in xfs_fileattr_set() 1403 &ip->i_pdquot, pdqp); in xfs_fileattr_set() 1432 xfs_qm_dqrele(pdqp); in xfs_fileattr_set() 1439 xfs_qm_dqrele(pdqp); in xfs_fileattr_set()
|
H A D | xfs_qm.c | 1892 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 D | xfs_icache.c | 1532 struct xfs_dquot *pdqp, in xfs_blockgc_free_dquots() argument 1538 if (!udqp && !gdqp && !pdqp) in xfs_blockgc_free_dquots() 1559 if (XFS_IS_PQUOTA_ENFORCED(mp) && pdqp && xfs_dquot_lowsp(pdqp)) { in xfs_blockgc_free_dquots() 1560 icw.icw_prid = pdqp->q_id; in xfs_blockgc_free_dquots()
|