Home
last modified time | relevance | path

Searched refs:gdqp (Results 1 - 16 of 16) sorted by relevance

/kernel/linux/linux-6.6/fs/xfs/
H A Dxfs_quota.h90 struct xfs_dquot *udqp, struct xfs_dquot *gdqp,
121 struct xfs_dquot **gdqp, struct xfs_dquot **pdqp) in xfs_qm_vop_dqalloc()
124 *gdqp = NULL; in xfs_qm_vop_dqalloc()
141 struct xfs_dquot *gdqp, struct xfs_dquot *pdqp, in xfs_trans_reserve_quota_bydquots()
155 struct xfs_dquot *gdqp, struct xfs_dquot *pdqp, int64_t dblocks) in xfs_trans_reserve_quota_icreate()
119 xfs_qm_vop_dqalloc(struct xfs_inode *ip, kuid_t kuid, kgid_t kgid, prid_t prid, uint flags, struct xfs_dquot **udqp, struct xfs_dquot **gdqp, struct xfs_dquot **pdqp) xfs_qm_vop_dqalloc() argument
139 xfs_trans_reserve_quota_bydquots(struct xfs_trans *tp, struct xfs_mount *mp, struct xfs_dquot *udqp, struct xfs_dquot *gdqp, struct xfs_dquot *pdqp, int64_t nblks, long nions, uint flags) xfs_trans_reserve_quota_bydquots() argument
154 xfs_trans_reserve_quota_icreate(struct xfs_trans *tp, struct xfs_dquot *udqp, struct xfs_dquot *gdqp, struct xfs_dquot *pdqp, int64_t dblocks) xfs_trans_reserve_quota_icreate() argument
H A Dxfs_symlink.c171 struct xfs_dquot *gdqp = NULL; in xfs_symlink() local
199 &udqp, &gdqp, &pdqp); in xfs_symlink()
213 error = xfs_trans_alloc_icreate(mp, &M_RES(mp)->tr_symlink, udqp, gdqp, in xfs_symlink()
253 xfs_qm_vop_create_dqattach(tp, ip, udqp, gdqp, pdqp); in xfs_symlink()
336 xfs_qm_dqrele(gdqp); in xfs_symlink()
356 xfs_qm_dqrele(gdqp); in xfs_symlink()
H A Dxfs_trans_dquot.c730 struct xfs_dquot *gdqp, in xfs_trans_reserve_quota_bydquots()
749 if (gdqp) { in xfs_trans_reserve_quota_bydquots()
750 error = xfs_trans_dqresv(tp, mp, gdqp, nblks, ninos, flags); in xfs_trans_reserve_quota_bydquots()
768 if (gdqp) in xfs_trans_reserve_quota_bydquots()
769 xfs_trans_dqresv(tp, mp, gdqp, -nblks, -ninos, flags); in xfs_trans_reserve_quota_bydquots()
830 struct xfs_dquot *gdqp, in xfs_trans_reserve_quota_icreate()
839 return xfs_trans_reserve_quota_bydquots(tp, mp, udqp, gdqp, pdqp, in xfs_trans_reserve_quota_icreate()
726 xfs_trans_reserve_quota_bydquots( struct xfs_trans *tp, struct xfs_mount *mp, struct xfs_dquot *udqp, struct xfs_dquot *gdqp, struct xfs_dquot *pdqp, int64_t nblks, long ninos, uint flags) xfs_trans_reserve_quota_bydquots() argument
827 xfs_trans_reserve_quota_icreate( struct xfs_trans *tp, struct xfs_dquot *udqp, struct xfs_dquot *gdqp, struct xfs_dquot *pdqp, int64_t dblocks) xfs_trans_reserve_quota_icreate() argument
H A Dxfs_trans.c1243 struct xfs_dquot *gdqp, in xfs_trans_alloc_icreate()
1257 error = xfs_trans_reserve_quota_icreate(tp, udqp, gdqp, pdqp, dblocks); in xfs_trans_alloc_icreate()
1260 xfs_blockgc_free_dquots(mp, udqp, gdqp, pdqp, 0); in xfs_trans_alloc_icreate()
1294 struct xfs_dquot *gdqp; in xfs_trans_alloc_ichange() local
1321 gdqp = (new_gdqp != ip->i_gdquot) ? new_gdqp : NULL; in xfs_trans_alloc_ichange()
1323 if (udqp || gdqp || pdqp) { in xfs_trans_alloc_ichange()
1335 error = xfs_trans_reserve_quota_bydquots(tp, mp, udqp, gdqp, in xfs_trans_alloc_ichange()
1340 xfs_blockgc_free_dquots(mp, udqp, gdqp, pdqp, 0); in xfs_trans_alloc_ichange()
1239 xfs_trans_alloc_icreate( struct xfs_mount *mp, struct xfs_trans_res *resv, struct xfs_dquot *udqp, struct xfs_dquot *gdqp, struct xfs_dquot *pdqp, unsigned int dblocks, struct xfs_trans **tpp) xfs_trans_alloc_icreate() argument
H A Dxfs_iops.c669 struct xfs_dquot *udqp = NULL, *gdqp = NULL; in xfs_setattr_nonsize() local
701 * We take a reference when we initialize udqp and gdqp, in xfs_setattr_nonsize()
706 ASSERT(gdqp == NULL); in xfs_setattr_nonsize()
708 qflags, &udqp, &gdqp, NULL); in xfs_setattr_nonsize()
713 error = xfs_trans_alloc_ichange(ip, udqp, gdqp, NULL, in xfs_setattr_nonsize()
733 ASSERT(gdqp); in xfs_setattr_nonsize()
734 old_gdqp = xfs_qm_vop_chown(tp, ip, &ip->i_gdquot, gdqp); in xfs_setattr_nonsize()
752 xfs_qm_dqrele(gdqp); in xfs_setattr_nonsize()
774 xfs_qm_dqrele(gdqp); in xfs_setattr_nonsize()
H A Dxfs_icache.h61 struct xfs_dquot *gdqp, struct xfs_dquot *pdqp,
H A Dxfs_inode.c971 struct xfs_dquot *gdqp = NULL; in xfs_create() local
990 &udqp, &gdqp, &pdqp); in xfs_create()
1008 error = xfs_trans_alloc_icreate(mp, tres, udqp, gdqp, pdqp, resblks, in xfs_create()
1013 error = xfs_trans_alloc_icreate(mp, tres, udqp, gdqp, pdqp, in xfs_create()
1074 xfs_qm_vop_create_dqattach(tp, ip, udqp, gdqp, pdqp); in xfs_create()
1081 xfs_qm_dqrele(gdqp); in xfs_create()
1101 xfs_qm_dqrele(gdqp); in xfs_create()
1122 struct xfs_dquot *gdqp = NULL; in xfs_create_tmpfile() local
1139 &udqp, &gdqp, &pdqp); in xfs_create_tmpfile()
1146 error = xfs_trans_alloc_icreate(mp, tres, udqp, gdqp, pdq in xfs_create_tmpfile()
[all...]
H A Dxfs_trans.h264 struct xfs_dquot *udqp, struct xfs_dquot *gdqp,
268 struct xfs_dquot *gdqp, struct xfs_dquot *pdqp, bool force,
H A Dxfs_qm.c1891 struct xfs_dquot *gdqp, in xfs_qm_vop_create_dqattach()
1908 if (gdqp && XFS_IS_GQUOTA_ON(mp)) { in xfs_qm_vop_create_dqattach()
1910 ASSERT(i_gid_read(VFS_I(ip)) == gdqp->q_id); in xfs_qm_vop_create_dqattach()
1912 ip->i_gdquot = xfs_qm_dqhold(gdqp); in xfs_qm_vop_create_dqattach()
1913 xfs_trans_mod_dquot(tp, gdqp, XFS_TRANS_DQ_ICOUNT, 1); in xfs_qm_vop_create_dqattach()
1887 xfs_qm_vop_create_dqattach( struct xfs_trans *tp, struct xfs_inode *ip, struct xfs_dquot *udqp, struct xfs_dquot *gdqp, struct xfs_dquot *pdqp) xfs_qm_vop_create_dqattach() argument
H A Dxfs_icache.c1522 struct xfs_dquot *gdqp, in xfs_blockgc_free_dquots()
1529 if (!udqp && !gdqp && !pdqp) in xfs_blockgc_free_dquots()
1544 if (XFS_IS_UQUOTA_ENFORCED(mp) && gdqp && xfs_dquot_lowsp(gdqp)) { in xfs_blockgc_free_dquots()
1545 icw.icw_gid = make_kgid(mp->m_super->s_user_ns, gdqp->q_id); in xfs_blockgc_free_dquots()
1519 xfs_blockgc_free_dquots( struct xfs_mount *mp, struct xfs_dquot *udqp, struct xfs_dquot *gdqp, struct xfs_dquot *pdqp, unsigned int iwalk_flags) xfs_blockgc_free_dquots() argument
/kernel/linux/linux-5.10/fs/xfs/
H A Dxfs_quota.h115 struct xfs_dquot **gdqp, struct xfs_dquot **pdqp) in xfs_qm_vop_dqalloc()
118 *gdqp = NULL; in xfs_qm_vop_dqalloc()
134 struct xfs_dquot *gdqp, struct xfs_dquot *pdqp, in xfs_trans_reserve_quota_bydquots()
113 xfs_qm_vop_dqalloc(struct xfs_inode *ip, kuid_t kuid, kgid_t kgid, prid_t prid, uint flags, struct xfs_dquot **udqp, struct xfs_dquot **gdqp, struct xfs_dquot **pdqp) xfs_qm_vop_dqalloc() argument
132 xfs_trans_reserve_quota_bydquots(struct xfs_trans *tp, struct xfs_mount *mp, struct xfs_dquot *udqp, struct xfs_dquot *gdqp, struct xfs_dquot *pdqp, int64_t nblks, long nions, uint flags) xfs_trans_reserve_quota_bydquots() argument
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_trans_dquot.c750 struct xfs_dquot *gdqp, in xfs_trans_reserve_quota_bydquots()
772 if (gdqp) { in xfs_trans_reserve_quota_bydquots()
773 error = xfs_trans_dqresv(tp, mp, gdqp, nblks, ninos, flags); in xfs_trans_reserve_quota_bydquots()
791 if (gdqp) in xfs_trans_reserve_quota_bydquots()
792 xfs_trans_dqresv(tp, mp, gdqp, -nblks, -ninos, flags); in xfs_trans_reserve_quota_bydquots()
746 xfs_trans_reserve_quota_bydquots( struct xfs_trans *tp, struct xfs_mount *mp, struct xfs_dquot *udqp, struct xfs_dquot *gdqp, struct xfs_dquot *pdqp, int64_t nblks, long ninos, uint flags) xfs_trans_reserve_quota_bydquots() argument
H A Dxfs_iops.c633 struct xfs_dquot *udqp = NULL, *gdqp = NULL; in xfs_setattr_nonsize() local
663 * We take a reference when we initialize udqp and gdqp, in xfs_setattr_nonsize()
668 ASSERT(gdqp == 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()
729 ASSERT(gdqp); in xfs_setattr_nonsize()
731 &ip->i_gdquot, gdqp); in xfs_setattr_nonsize()
753 xfs_qm_dqrele(gdqp); in xfs_setattr_nonsize()
778 xfs_qm_dqrele(gdqp); in xfs_setattr_nonsize()
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, pdq in xfs_create_tmpfile()
[all...]
H A Dxfs_qm.c1835 struct xfs_dquot *gdqp, in xfs_qm_vop_chown_reserve()
1855 if (XFS_IS_GQUOTA_ON(ip->i_mount) && gdqp && in xfs_qm_vop_chown_reserve()
1856 i_gid_read(VFS_I(ip)) != gdqp->q_id) in xfs_qm_vop_chown_reserve()
1857 gdq_delblks = gdqp; in xfs_qm_vop_chown_reserve()
1908 struct xfs_dquot *gdqp, in xfs_qm_vop_create_dqattach()
1925 if (gdqp && XFS_IS_GQUOTA_ON(mp)) { in xfs_qm_vop_create_dqattach()
1927 ASSERT(i_gid_read(VFS_I(ip)) == gdqp->q_id); in xfs_qm_vop_create_dqattach()
1929 ip->i_gdquot = xfs_qm_dqhold(gdqp); in xfs_qm_vop_create_dqattach()
1930 xfs_trans_mod_dquot(tp, gdqp, XFS_TRANS_DQ_ICOUNT, 1); in xfs_qm_vop_create_dqattach()
1831 xfs_qm_vop_chown_reserve( struct xfs_trans *tp, struct xfs_inode *ip, struct xfs_dquot *udqp, struct xfs_dquot *gdqp, struct xfs_dquot *pdqp, uint flags) xfs_qm_vop_chown_reserve() argument
1904 xfs_qm_vop_create_dqattach( struct xfs_trans *tp, struct xfs_inode *ip, struct xfs_dquot *udqp, struct xfs_dquot *gdqp, struct xfs_dquot *pdqp) xfs_qm_vop_create_dqattach() argument

Completed in 30 milliseconds