Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/fs/xfs/
H A Dxfs_symlink.c159 struct xfs_dquot *udqp = NULL; in xfs_symlink() local
186 &udqp, &gdqp, &pdqp); in xfs_symlink()
218 error = xfs_trans_reserve_quota(tp, mp, udqp, gdqp, in xfs_symlink()
244 xfs_qm_vop_create_dqattach(tp, ip, udqp, gdqp, pdqp); in xfs_symlink()
327 xfs_qm_dqrele(udqp); in xfs_symlink()
347 xfs_qm_dqrele(udqp); in xfs_symlink()
H A Dxfs_quota.h114 prid_t prid, uint flags, struct xfs_dquot **udqp, in xfs_qm_vop_dqalloc() argument
117 *udqp = NULL; in xfs_qm_vop_dqalloc()
133 struct xfs_mount *mp, struct xfs_dquot *udqp, in xfs_trans_reserve_quota_bydquots() argument
H A Dxfs_trans_dquot.c742 struct xfs_dquot *udqp, in xfs_trans_reserve_quota_bydquots() argument
759 if (udqp) { in xfs_trans_reserve_quota_bydquots()
760 error = xfs_trans_dqresv(tp, mp, udqp, nblks, ninos, flags); in xfs_trans_reserve_quota_bydquots()
788 if (udqp) in xfs_trans_reserve_quota_bydquots()
789 xfs_trans_dqresv(tp, mp, udqp, -nblks, -ninos, flags); in xfs_trans_reserve_quota_bydquots()
H A Dxfs_iops.c664 struct xfs_dquot *udqp = NULL, *gdqp = NULL; in xfs_setattr_nonsize() local
698 ASSERT(udqp == NULL); in xfs_setattr_nonsize()
701 qflags, &udqp, &gdqp, NULL); in xfs_setattr_nonsize()
736 error = xfs_qm_vop_chown_reserve(tp, ip, udqp, gdqp, in xfs_setattr_nonsize()
760 ASSERT(udqp); in xfs_setattr_nonsize()
762 &ip->i_udquot, udqp); in xfs_setattr_nonsize()
799 xfs_qm_dqrele(udqp); in xfs_setattr_nonsize()
824 xfs_qm_dqrele(udqp); in xfs_setattr_nonsize()
H A Dxfs_qm.c1827 struct xfs_dquot *udqp, in xfs_qm_vop_chown_reserve() argument
1844 if (XFS_IS_UQUOTA_ON(mp) && udqp && in xfs_qm_vop_chown_reserve()
1845 i_uid_read(VFS_I(ip)) != udqp->q_id) in xfs_qm_vop_chown_reserve()
1846 udq_delblks = udqp; in xfs_qm_vop_chown_reserve()
1900 struct xfs_dquot *udqp, in xfs_qm_vop_create_dqattach() argument
1911 if (udqp && XFS_IS_UQUOTA_ON(mp)) { in xfs_qm_vop_create_dqattach()
1913 ASSERT(i_uid_read(VFS_I(ip)) == udqp->q_id); in xfs_qm_vop_create_dqattach()
1915 ip->i_udquot = xfs_qm_dqhold(udqp); in xfs_qm_vop_create_dqattach()
1916 xfs_trans_mod_dquot(tp, udqp, XFS_TRANS_DQ_ICOUNT, 1); in xfs_qm_vop_create_dqattach()
H A Dxfs_inode.c1124 struct xfs_dquot *udqp = NULL; in xfs_create() local
1142 &udqp, &gdqp, &pdqp); in xfs_create()
1175 error = xfs_trans_reserve_quota(tp, mp, udqp, gdqp, in xfs_create()
1229 xfs_qm_vop_create_dqattach(tp, ip, udqp, gdqp, pdqp); in xfs_create()
1235 xfs_qm_dqrele(udqp); in xfs_create()
1255 xfs_qm_dqrele(udqp); in xfs_create()
1275 struct xfs_dquot *udqp = NULL; in xfs_create_tmpfile() local
1291 &udqp, &gdqp, &pdqp); in xfs_create_tmpfile()
1302 error = xfs_trans_reserve_quota(tp, mp, udqp, gdqp, in xfs_create_tmpfile()
1319 xfs_qm_vop_create_dqattach(tp, ip, udqp, gdqp, pdqp); in xfs_create_tmpfile()
[all …]