/linux/fs/xfs/ |
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
|
A D | xfs_symlink.c | 163 struct xfs_dquot *pdqp = NULL; in xfs_symlink() local 190 &udqp, &gdqp, &pdqp); in xfs_symlink() 205 pdqp, resblks, &tp); in xfs_symlink() 249 xfs_qm_vop_create_dqattach(tp, ip, udqp, gdqp, pdqp); in xfs_symlink() 333 xfs_qm_dqrele(pdqp); in xfs_symlink() 353 xfs_qm_dqrele(pdqp); in xfs_symlink()
|
A D | xfs_trans.c | 1093 struct xfs_dquot *pdqp, in xfs_trans_alloc_icreate() argument 1106 error = xfs_trans_reserve_quota_icreate(tp, udqp, gdqp, pdqp, dblocks); in xfs_trans_alloc_icreate() 1109 xfs_blockgc_free_dquots(mp, udqp, gdqp, pdqp, 0); in xfs_trans_alloc_icreate() 1144 struct xfs_dquot *pdqp; in xfs_trans_alloc_ichange() local 1171 pdqp = (new_pdqp != ip->i_pdquot) ? new_pdqp : NULL; in xfs_trans_alloc_ichange() 1172 if (udqp || gdqp || pdqp) { in xfs_trans_alloc_ichange() 1185 pdqp, ip->i_nblocks + ip->i_delayed_blks, in xfs_trans_alloc_ichange() 1189 xfs_blockgc_free_dquots(mp, udqp, gdqp, pdqp, 0); in xfs_trans_alloc_ichange()
|
A D | xfs_trans_dquot.c | 733 struct xfs_dquot *pdqp, in xfs_trans_reserve_quota_bydquots() argument 757 if (pdqp) { in xfs_trans_reserve_quota_bydquots() 758 error = xfs_trans_dqresv(tp, mp, pdqp, nblks, ninos, flags); in xfs_trans_reserve_quota_bydquots() 833 struct xfs_dquot *pdqp, in xfs_trans_reserve_quota_icreate() argument 841 return xfs_trans_reserve_quota_bydquots(tp, mp, udqp, gdqp, pdqp, in xfs_trans_reserve_quota_icreate()
|
A D | xfs_trans.h | 257 struct xfs_dquot *pdqp, unsigned int dblocks, 260 struct xfs_dquot *gdqp, struct xfs_dquot *pdqp, bool force,
|
A D | xfs_inode.c | 976 struct xfs_dquot *pdqp = NULL; in xfs_create() local 994 &udqp, &gdqp, &pdqp); in xfs_create() 1017 error = xfs_trans_alloc_icreate(mp, tres, udqp, gdqp, pdqp, in xfs_create() 1083 xfs_qm_vop_create_dqattach(tp, ip, udqp, gdqp, pdqp); in xfs_create() 1091 xfs_qm_dqrele(pdqp); in xfs_create() 1111 xfs_qm_dqrele(pdqp); in xfs_create() 1132 struct xfs_dquot *pdqp = NULL; in xfs_create_tmpfile() local 1148 &udqp, &gdqp, &pdqp); in xfs_create_tmpfile() 1175 xfs_qm_vop_create_dqattach(tp, ip, udqp, gdqp, pdqp); in xfs_create_tmpfile() 1187 xfs_qm_dqrele(pdqp); in xfs_create_tmpfile() [all …]
|
A D | xfs_ioctl.c | 1260 struct xfs_dquot *pdqp) in xfs_ioctl_setattr_get_trans() argument 1272 error = xfs_trans_alloc_ichange(ip, NULL, NULL, pdqp, in xfs_ioctl_setattr_get_trans() 1381 struct xfs_dquot *pdqp = NULL; in xfs_fileattr_set() local 1412 XFS_QMOPT_PQUOTA, NULL, NULL, &pdqp); in xfs_fileattr_set() 1419 tp = xfs_ioctl_setattr_get_trans(ip, pdqp); in xfs_fileattr_set() 1455 &ip->i_pdquot, pdqp); in xfs_fileattr_set() 1484 xfs_qm_dqrele(pdqp); in xfs_fileattr_set() 1491 xfs_qm_dqrele(pdqp); in xfs_fileattr_set()
|
A D | xfs_icache.h | 58 struct xfs_dquot *gdqp, struct xfs_dquot *pdqp,
|
A D | xfs_icache.c | 1516 struct xfs_dquot *pdqp, in xfs_blockgc_free_dquots() argument 1522 if (!udqp && !gdqp && !pdqp) in xfs_blockgc_free_dquots() 1543 if (XFS_IS_PQUOTA_ENFORCED(mp) && pdqp && xfs_dquot_lowsp(pdqp)) { in xfs_blockgc_free_dquots() 1544 icw.icw_prid = pdqp->q_id; in xfs_blockgc_free_dquots()
|
A D | xfs_qm.c | 1853 struct xfs_dquot *pdqp) in xfs_qm_vop_create_dqattach() argument 1876 if (pdqp && XFS_IS_PQUOTA_ON(mp)) { in xfs_qm_vop_create_dqattach() 1878 ASSERT(ip->i_projid == pdqp->q_id); in xfs_qm_vop_create_dqattach() 1880 ip->i_pdquot = xfs_qm_dqhold(pdqp); in xfs_qm_vop_create_dqattach() 1881 xfs_trans_mod_dquot(tp, pdqp, XFS_TRANS_DQ_ICOUNT, 1); in xfs_qm_vop_create_dqattach()
|