/Linux-v6.6/fs/xfs/ |
D | xfs_quota.h | 90 struct xfs_dquot *udqp, struct xfs_dquot *gdqp, 121 struct xfs_dquot **gdqp, struct xfs_dquot **pdqp) in xfs_qm_vop_dqalloc() argument 124 *gdqp = NULL; in xfs_qm_vop_dqalloc() 141 struct xfs_dquot *gdqp, struct xfs_dquot *pdqp, in xfs_trans_reserve_quota_bydquots() argument 155 struct xfs_dquot *gdqp, struct xfs_dquot *pdqp, int64_t dblocks) in xfs_trans_reserve_quota_icreate() argument
|
D | xfs_symlink.c | 171 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()
|
D | xfs_trans_dquot.c | 730 struct xfs_dquot *gdqp, in xfs_trans_reserve_quota_bydquots() argument 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() argument 839 return xfs_trans_reserve_quota_bydquots(tp, mp, udqp, gdqp, pdqp, in xfs_trans_reserve_quota_icreate()
|
D | xfs_trans.c | 1243 struct xfs_dquot *gdqp, in xfs_trans_alloc_icreate() argument 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()
|
D | xfs_iops.c | 669 struct xfs_dquot *udqp = NULL, *gdqp = NULL; in xfs_setattr_nonsize() local 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()
|
D | xfs_inode.c | 964 struct xfs_dquot *gdqp = NULL; in xfs_create() local 983 &udqp, &gdqp, &pdqp); in xfs_create() 1001 error = xfs_trans_alloc_icreate(mp, tres, udqp, gdqp, pdqp, resblks, in xfs_create() 1006 error = xfs_trans_alloc_icreate(mp, tres, udqp, gdqp, pdqp, in xfs_create() 1067 xfs_qm_vop_create_dqattach(tp, ip, udqp, gdqp, pdqp); in xfs_create() 1074 xfs_qm_dqrele(gdqp); in xfs_create() 1094 xfs_qm_dqrele(gdqp); in xfs_create() 1115 struct xfs_dquot *gdqp = NULL; in xfs_create_tmpfile() local 1132 &udqp, &gdqp, &pdqp); in xfs_create_tmpfile() 1139 error = xfs_trans_alloc_icreate(mp, tres, udqp, gdqp, pdqp, resblks, in xfs_create_tmpfile() [all …]
|
D | xfs_trans.h | 264 struct xfs_dquot *udqp, struct xfs_dquot *gdqp, 268 struct xfs_dquot *gdqp, struct xfs_dquot *pdqp, bool force,
|
D | xfs_icache.h | 61 struct xfs_dquot *gdqp, struct xfs_dquot *pdqp,
|
D | xfs_icache.c | 1522 struct xfs_dquot *gdqp, in xfs_blockgc_free_dquots() argument 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()
|
D | xfs_qm.c | 1891 struct xfs_dquot *gdqp, in xfs_qm_vop_create_dqattach() argument 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()
|