/Linux-v5.4/fs/xfs/ |
D | xfs_symlink.c | 168 struct xfs_dquot *udqp = NULL; in xfs_symlink() local 188 udqp = gdqp = NULL; in xfs_symlink() 198 &udqp, &gdqp, &pdqp); in xfs_symlink() 230 error = xfs_trans_reserve_quota(tp, mp, udqp, gdqp, in xfs_symlink() 256 xfs_qm_vop_create_dqattach(tp, ip, udqp, gdqp, pdqp); in xfs_symlink() 342 xfs_qm_dqrele(udqp); in xfs_symlink() 362 xfs_qm_dqrele(udqp); in xfs_symlink()
|
D | xfs_quota.h | 113 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
|
D | xfs_iops.c | 629 struct xfs_dquot *udqp = NULL, *gdqp = NULL; in xfs_setattr_nonsize() local 663 ASSERT(udqp == NULL); in xfs_setattr_nonsize() 668 qflags, &udqp, &gdqp, NULL); in xfs_setattr_nonsize() 703 error = xfs_qm_vop_chown_reserve(tp, ip, udqp, gdqp, in xfs_setattr_nonsize() 732 ASSERT(udqp); in xfs_setattr_nonsize() 734 &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()
|
D | xfs_trans_dquot.c | 734 struct xfs_dquot *udqp, in xfs_trans_reserve_quota_bydquots() argument 751 if (udqp) { in xfs_trans_reserve_quota_bydquots() 752 error = xfs_trans_dqresv(tp, mp, udqp, nblks, ninos, in xfs_trans_reserve_quota_bydquots() 781 if (udqp) in xfs_trans_reserve_quota_bydquots() 782 xfs_trans_dqresv(tp, mp, udqp, -nblks, -ninos, flags); in xfs_trans_reserve_quota_bydquots()
|
D | xfs_qm.c | 1783 struct xfs_dquot *udqp, in xfs_qm_vop_chown_reserve() argument 1807 if (XFS_IS_UQUOTA_ON(mp) && udqp && in xfs_qm_vop_chown_reserve() 1808 ip->i_d.di_uid != be32_to_cpu(udqp->q_core.d_id)) { in xfs_qm_vop_chown_reserve() 1809 udq_delblks = udqp; in xfs_qm_vop_chown_reserve() 1904 struct xfs_dquot *udqp, in xfs_qm_vop_create_dqattach() argument 1916 if (udqp && XFS_IS_UQUOTA_ON(mp)) { in xfs_qm_vop_create_dqattach() 1918 ASSERT(ip->i_d.di_uid == be32_to_cpu(udqp->q_core.d_id)); in xfs_qm_vop_create_dqattach() 1920 ip->i_udquot = xfs_qm_dqhold(udqp); in xfs_qm_vop_create_dqattach() 1921 xfs_trans_mod_dquot(tp, udqp, XFS_TRANS_DQ_ICOUNT, 1); in xfs_qm_vop_create_dqattach()
|
D | xfs_inode.c | 1140 struct xfs_dquot *udqp = NULL; in xfs_create() local 1159 &udqp, &gdqp, &pdqp); in xfs_create() 1192 error = xfs_trans_reserve_quota(tp, mp, udqp, gdqp, in xfs_create() 1247 xfs_qm_vop_create_dqattach(tp, ip, udqp, gdqp, pdqp); in xfs_create() 1253 xfs_qm_dqrele(udqp); in xfs_create() 1273 xfs_qm_dqrele(udqp); in xfs_create() 1293 struct xfs_dquot *udqp = NULL; in xfs_create_tmpfile() local 1310 &udqp, &gdqp, &pdqp); in xfs_create_tmpfile() 1321 error = xfs_trans_reserve_quota(tp, mp, udqp, gdqp, in xfs_create_tmpfile() 1338 xfs_qm_vop_create_dqattach(tp, ip, udqp, gdqp, pdqp); in xfs_create_tmpfile() [all …]
|
D | xfs_ioctl.c | 1526 struct xfs_dquot *udqp = NULL; in xfs_ioctl_setattr() local 1549 XFS_QMOPT_PQUOTA, &udqp, NULL, &pdqp); in xfs_ioctl_setattr() 1573 code = xfs_qm_vop_chown_reserve(tp, ip, udqp, NULL, pdqp, in xfs_ioctl_setattr() 1640 xfs_qm_dqrele(udqp); in xfs_ioctl_setattr() 1648 xfs_qm_dqrele(udqp); in xfs_ioctl_setattr()
|