| /linux/fs/xfs/ |
| H A D | xfs_quota.h | 107 struct xfs_dquot *udqp, struct xfs_dquot *gdqp, 157 prid_t prid, uint flags, struct xfs_dquot **udqp, in xfs_qm_vop_dqalloc() argument 160 *udqp = NULL; in xfs_qm_vop_dqalloc() 180 struct xfs_mount *mp, struct xfs_dquot *udqp, in xfs_trans_reserve_quota_bydquots() argument 188 xfs_trans_reserve_quota_icreate(struct xfs_trans *tp, struct xfs_dquot *udqp, in xfs_trans_reserve_quota_icreate() argument
|
| H A D | xfs_trans.c | 1194 struct xfs_dquot *udqp, in xfs_trans_alloc_icreate() argument 1220 error = xfs_trans_reserve_quota_icreate(tp, udqp, gdqp, pdqp, dblocks); in xfs_trans_alloc_icreate() 1223 xfs_blockgc_free_dquots(mp, udqp, gdqp, pdqp, 0); in xfs_trans_alloc_icreate() 1256 struct xfs_dquot *udqp; in xfs_trans_alloc_ichange() local 1286 udqp = (new_udqp != ip->i_udquot) ? new_udqp : NULL; in xfs_trans_alloc_ichange() 1289 if (udqp || gdqp || pdqp) { in xfs_trans_alloc_ichange() 1316 error = xfs_trans_reserve_quota_bydquots(tp, mp, udqp, gdqp, in xfs_trans_alloc_ichange() 1320 xfs_blockgc_free_dquots(mp, udqp, gdqp, pdqp, 0); in xfs_trans_alloc_ichange() 1329 error = xfs_trans_reserve_quota_bydquots(tp, mp, udqp, gdqp, in xfs_trans_alloc_ichange() 1333 xfs_blockgc_free_dquots(mp, udqp, gdqp, pdqp, 0); in xfs_trans_alloc_ichange()
|
| H A D | xfs_inode.c | 660 struct xfs_dquot *udqp; 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() 745 xfs_qm_vop_create_dqattach(tp, du.ip, udqp, gdqp, pdqp); in xfs_create() 751 xfs_qm_dqrele(udqp); in xfs_create() 777 xfs_qm_dqrele(udqp); in xfs_create() 795 struct xfs_dquot *udqp; in xfs_create_tmpfile() local 809 error = xfs_icreate_dqalloc(args, &udqp, &gdqp, &pdqp); in xfs_create_tmpfile() 816 error = xfs_trans_alloc_icreate(mp, tres, udqp, gdqp, pdqp, resblks, in xfs_create_tmpfile() 835 xfs_qm_vop_create_dqattach(tp, ip, udqp, gdqp, pdqp); in xfs_create_tmpfile() [all …]
|
| H A D | xfs_icache.h | 60 int xfs_blockgc_free_dquots(struct xfs_mount *mp, struct xfs_dquot *udqp,
|
| H A D | xfs_icache.c | 1634 struct xfs_dquot *udqp, in xfs_blockgc_free_dquots() argument 1642 if (!udqp && !gdqp && !pdqp) in xfs_blockgc_free_dquots() 1651 if (XFS_IS_UQUOTA_ENFORCED(mp) && udqp && xfs_dquot_lowsp(udqp)) { in xfs_blockgc_free_dquots() 1652 icw.icw_uid = make_kuid(mp->m_super->s_user_ns, udqp->q_id); in xfs_blockgc_free_dquots()
|
| H A D | xfs_qm.c | 2060 struct xfs_dquot *udqp, in xfs_qm_vop_create_dqattach() argument 2072 if (udqp && XFS_IS_UQUOTA_ON(mp)) { in xfs_qm_vop_create_dqattach() 2074 ASSERT(i_uid_read(VFS_I(ip)) == udqp->q_id); in xfs_qm_vop_create_dqattach() 2076 ip->i_udquot = xfs_qm_dqhold(udqp); 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() 84 oldu = xfs_qm_vop_chown(tp, dp, &dp->i_udquot, udqp); in xrep_chown_orphanage() 112 xfs_qm_dqrele(udqp); in xrep_chown_orphanage()
|