Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/fs/xfs/
H A Dxfs_symlink.c160 struct xfs_dquot *gdqp = 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()
328 xfs_qm_dqrele(gdqp); in xfs_symlink()
348 xfs_qm_dqrele(gdqp); in xfs_symlink()
H A Dxfs_quota.h115 struct xfs_dquot **gdqp, struct xfs_dquot **pdqp) in xfs_qm_vop_dqalloc() argument
118 *gdqp = NULL; in xfs_qm_vop_dqalloc()
134 struct xfs_dquot *gdqp, struct xfs_dquot *pdqp, in xfs_trans_reserve_quota_bydquots() argument
H A Dxfs_trans_dquot.c743 struct xfs_dquot *gdqp, in xfs_trans_reserve_quota_bydquots() argument
765 if (gdqp) { in xfs_trans_reserve_quota_bydquots()
766 error = xfs_trans_dqresv(tp, mp, gdqp, nblks, ninos, flags); in xfs_trans_reserve_quota_bydquots()
784 if (gdqp) in xfs_trans_reserve_quota_bydquots()
785 xfs_trans_dqresv(tp, mp, gdqp, -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
699 ASSERT(gdqp == 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()
771 ASSERT(gdqp); in xfs_setattr_nonsize()
773 &ip->i_gdquot, gdqp); in xfs_setattr_nonsize()
800 xfs_qm_dqrele(gdqp); in xfs_setattr_nonsize()
825 xfs_qm_dqrele(gdqp); in xfs_setattr_nonsize()
H A Dxfs_qm.c1828 struct xfs_dquot *gdqp, in xfs_qm_vop_chown_reserve() argument
1848 if (XFS_IS_GQUOTA_ON(ip->i_mount) && gdqp && in xfs_qm_vop_chown_reserve()
1849 i_gid_read(VFS_I(ip)) != gdqp->q_id) in xfs_qm_vop_chown_reserve()
1850 gdq_delblks = gdqp; in xfs_qm_vop_chown_reserve()
1901 struct xfs_dquot *gdqp, in xfs_qm_vop_create_dqattach() argument
1918 if (gdqp && XFS_IS_GQUOTA_ON(mp)) { in xfs_qm_vop_create_dqattach()
1920 ASSERT(i_gid_read(VFS_I(ip)) == gdqp->q_id); in xfs_qm_vop_create_dqattach()
1922 ip->i_gdquot = xfs_qm_dqhold(gdqp); in xfs_qm_vop_create_dqattach()
1923 xfs_trans_mod_dquot(tp, gdqp, XFS_TRANS_DQ_ICOUNT, 1); in xfs_qm_vop_create_dqattach()
H A Dxfs_inode.c1125 struct xfs_dquot *gdqp = 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()
1236 xfs_qm_dqrele(gdqp); in xfs_create()
1256 xfs_qm_dqrele(gdqp); in xfs_create()
1276 struct xfs_dquot *gdqp = 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 …]