Home
last modified time | relevance | path

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

/fs/xfs/
Dxfs_symlink.c168 struct xfs_dquot *udqp = NULL; in xfs_symlink() local
188 udqp = gdqp = NULL; in xfs_symlink()
196 &udqp, &gdqp, &pdqp); in xfs_symlink()
228 error = xfs_trans_reserve_quota(tp, mp, udqp, gdqp, in xfs_symlink()
254 xfs_qm_vop_create_dqattach(tp, ip, udqp, gdqp, pdqp); in xfs_symlink()
341 xfs_qm_dqrele(udqp); in xfs_symlink()
361 xfs_qm_dqrele(udqp); in xfs_symlink()
Dxfs_quota.h113 prid_t prid, uint flags, struct xfs_dquot **udqp, in xfs_qm_vop_dqalloc() argument
116 *udqp = NULL; in xfs_qm_vop_dqalloc()
132 struct xfs_mount *mp, struct xfs_dquot *udqp, in xfs_trans_reserve_quota_bydquots() argument
Dxfs_iops.c633 struct xfs_dquot *udqp = NULL, *gdqp = NULL; in xfs_setattr_nonsize() local
667 ASSERT(udqp == NULL); in xfs_setattr_nonsize()
670 qflags, &udqp, &gdqp, NULL); in xfs_setattr_nonsize()
705 error = xfs_qm_vop_chown_reserve(tp, ip, udqp, gdqp, in xfs_setattr_nonsize()
734 ASSERT(udqp); in xfs_setattr_nonsize()
736 &ip->i_udquot, udqp); in xfs_setattr_nonsize()
773 xfs_qm_dqrele(udqp); in xfs_setattr_nonsize()
798 xfs_qm_dqrele(udqp); in xfs_setattr_nonsize()
Dxfs_trans_dquot.c744 struct xfs_dquot *udqp, in xfs_trans_reserve_quota_bydquots() argument
761 if (udqp) { in xfs_trans_reserve_quota_bydquots()
762 error = xfs_trans_dqresv(tp, mp, udqp, nblks, ninos, in xfs_trans_reserve_quota_bydquots()
792 if (udqp) in xfs_trans_reserve_quota_bydquots()
793 xfs_trans_dqresv(tp, mp, udqp, -nblks, -ninos, flags); in xfs_trans_reserve_quota_bydquots()
Dxfs_qm.c1809 struct xfs_dquot *udqp, in xfs_qm_vop_chown_reserve() argument
1833 if (XFS_IS_UQUOTA_ON(mp) && udqp && in xfs_qm_vop_chown_reserve()
1834 i_uid_read(VFS_I(ip)) != be32_to_cpu(udqp->q_core.d_id)) { in xfs_qm_vop_chown_reserve()
1835 udq_delblks = udqp; in xfs_qm_vop_chown_reserve()
1930 struct xfs_dquot *udqp, in xfs_qm_vop_create_dqattach() argument
1942 if (udqp && XFS_IS_UQUOTA_ON(mp)) { in xfs_qm_vop_create_dqattach()
1944 ASSERT(i_uid_read(VFS_I(ip)) == be32_to_cpu(udqp->q_core.d_id)); in xfs_qm_vop_create_dqattach()
1946 ip->i_udquot = xfs_qm_dqhold(udqp); in xfs_qm_vop_create_dqattach()
1947 xfs_trans_mod_dquot(tp, udqp, XFS_TRANS_DQ_ICOUNT, 1); in xfs_qm_vop_create_dqattach()
Dxfs_inode.c1122 struct xfs_dquot *udqp = NULL; in xfs_create() local
1140 &udqp, &gdqp, &pdqp); in xfs_create()
1173 error = xfs_trans_reserve_quota(tp, mp, udqp, gdqp, in xfs_create()
1228 xfs_qm_vop_create_dqattach(tp, ip, udqp, gdqp, pdqp); in xfs_create()
1234 xfs_qm_dqrele(udqp); in xfs_create()
1254 xfs_qm_dqrele(udqp); in xfs_create()
1274 struct xfs_dquot *udqp = NULL; in xfs_create_tmpfile() local
1290 &udqp, &gdqp, &pdqp); in xfs_create_tmpfile()
1301 error = xfs_trans_reserve_quota(tp, mp, udqp, gdqp, in xfs_create_tmpfile()
1318 xfs_qm_vop_create_dqattach(tp, ip, udqp, gdqp, pdqp); in xfs_create_tmpfile()
[all …]
Dxfs_ioctl.c1553 struct xfs_dquot *udqp = NULL; in xfs_ioctl_setattr() local
1576 XFS_QMOPT_PQUOTA, &udqp, NULL, &pdqp); in xfs_ioctl_setattr()
1600 code = xfs_qm_vop_chown_reserve(tp, ip, udqp, NULL, pdqp, in xfs_ioctl_setattr()
1666 xfs_qm_dqrele(udqp); in xfs_ioctl_setattr()
1674 xfs_qm_dqrele(udqp); in xfs_ioctl_setattr()