Home
last modified time | relevance | path

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

/openbmc/linux/fs/xfs/
H A Dxfs_quota.h90 struct xfs_dquot *udqp, struct xfs_dquot *gdqp,
120 prid_t prid, uint flags, struct xfs_dquot **udqp, in xfs_qm_vop_dqalloc() argument
123 *udqp = NULL; in xfs_qm_vop_dqalloc()
140 struct xfs_mount *mp, struct xfs_dquot *udqp, in xfs_trans_reserve_quota_bydquots() argument
154 xfs_trans_reserve_quota_icreate(struct xfs_trans *tp, struct xfs_dquot *udqp, in xfs_trans_reserve_quota_icreate() argument
H A Dxfs_symlink.c170 struct xfs_dquot *udqp = NULL; in xfs_symlink() local
201 &udqp, &gdqp, &pdqp); in xfs_symlink()
215 error = xfs_trans_alloc_icreate(mp, &M_RES(mp)->tr_symlink, udqp, gdqp, in xfs_symlink()
255 xfs_qm_vop_create_dqattach(tp, ip, udqp, gdqp, pdqp); in xfs_symlink()
337 xfs_qm_dqrele(udqp); in xfs_symlink()
357 xfs_qm_dqrele(udqp); in xfs_symlink()
H A Dxfs_trans_dquot.c729 struct xfs_dquot *udqp, in xfs_trans_reserve_quota_bydquots() argument
743 if (udqp) { in xfs_trans_reserve_quota_bydquots()
744 error = xfs_trans_dqresv(tp, mp, udqp, nblks, ninos, flags); in xfs_trans_reserve_quota_bydquots()
772 if (udqp) in xfs_trans_reserve_quota_bydquots()
773 xfs_trans_dqresv(tp, mp, udqp, -nblks, -ninos, flags); in xfs_trans_reserve_quota_bydquots()
829 struct xfs_dquot *udqp, 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.c1234 struct xfs_dquot *udqp, 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()
1285 struct xfs_dquot *udqp; in xfs_trans_alloc_ichange() local
1312 udqp = (new_udqp != ip->i_udquot) ? new_udqp : NULL; in xfs_trans_alloc_ichange()
1315 if (udqp || gdqp || pdqp) { in xfs_trans_alloc_ichange()
1327 error = xfs_trans_reserve_quota_bydquots(tp, mp, udqp, gdqp, in xfs_trans_alloc_ichange()
1332 xfs_blockgc_free_dquots(mp, udqp, gdqp, pdqp, 0); in xfs_trans_alloc_ichange()
H A Dxfs_iops.c670 struct xfs_dquot *udqp = NULL, *gdqp = NULL; in xfs_setattr_nonsize() local
706 ASSERT(udqp == NULL); in xfs_setattr_nonsize()
709 qflags, &udqp, &gdqp, NULL); in xfs_setattr_nonsize()
714 error = xfs_trans_alloc_ichange(ip, udqp, gdqp, NULL, in xfs_setattr_nonsize()
728 ASSERT(udqp); in xfs_setattr_nonsize()
729 old_udqp = xfs_qm_vop_chown(tp, ip, &ip->i_udquot, udqp); in xfs_setattr_nonsize()
752 xfs_qm_dqrele(udqp); in xfs_setattr_nonsize()
774 xfs_qm_dqrele(udqp); in xfs_setattr_nonsize()
H A Dxfs_inode.c970 struct xfs_dquot *udqp = 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()
1082 xfs_qm_dqrele(udqp); in xfs_create()
1102 xfs_qm_dqrele(udqp); in xfs_create()
1123 struct xfs_dquot *udqp = 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 Dxfs_trans.h266 struct xfs_dquot *udqp, struct xfs_dquot *gdqp,
269 int xfs_trans_alloc_ichange(struct xfs_inode *ip, struct xfs_dquot *udqp,
H A Dxfs_icache.h60 int xfs_blockgc_free_dquots(struct xfs_mount *mp, struct xfs_dquot *udqp,
H A Dxfs_qm.c1890 struct xfs_dquot *udqp, in xfs_qm_vop_create_dqattach() argument
1901 if (udqp && XFS_IS_UQUOTA_ON(mp)) { in xfs_qm_vop_create_dqattach()
1903 ASSERT(i_uid_read(VFS_I(ip)) == udqp->q_id); in xfs_qm_vop_create_dqattach()
1905 ip->i_udquot = xfs_qm_dqhold(udqp); in xfs_qm_vop_create_dqattach()
1906 xfs_trans_mod_dquot(tp, udqp, XFS_TRANS_DQ_ICOUNT, 1); in xfs_qm_vop_create_dqattach()
H A Dxfs_icache.c1530 struct xfs_dquot *udqp, in xfs_blockgc_free_dquots() argument
1538 if (!udqp && !gdqp && !pdqp) in xfs_blockgc_free_dquots()
1547 if (XFS_IS_UQUOTA_ENFORCED(mp) && udqp && xfs_dquot_lowsp(udqp)) { in xfs_blockgc_free_dquots()
1548 icw.icw_uid = make_kuid(mp->m_super->s_user_ns, udqp->q_id); in xfs_blockgc_free_dquots()