| /linux/fs/xfs/ |
| H A D | xfs_symlink.c | 108 struct xfs_dquot *gdqp; in xfs_symlink() local 129 error = xfs_icreate_dqalloc(&args, &udqp, &gdqp, &pdqp); in xfs_symlink() 149 error = xfs_trans_alloc_icreate(mp, &M_RES(mp)->tr_symlink, udqp, gdqp, in xfs_symlink() 186 xfs_qm_vop_create_dqattach(tp, du.ip, udqp, gdqp, pdqp); in xfs_symlink() 216 xfs_qm_dqrele(gdqp); in xfs_symlink() 242 xfs_qm_dqrele(gdqp); in xfs_symlink()
|
| H A D | xfs_quota.h | 107 struct xfs_dquot *udqp, struct xfs_dquot *gdqp, 158 struct xfs_dquot **gdqp, struct xfs_dquot **pdqp) in xfs_qm_vop_dqalloc() argument 161 *gdqp = NULL; in xfs_qm_vop_dqalloc() 181 struct xfs_dquot *gdqp, struct xfs_dquot *pdqp, in xfs_trans_reserve_quota_bydquots() argument 189 struct xfs_dquot *gdqp, struct xfs_dquot *pdqp, int64_t dblocks) in xfs_trans_reserve_quota_icreate() argument
|
| H A D | xfs_trans.c | 1195 struct xfs_dquot *gdqp, in xfs_trans_alloc_icreate() argument 1209 error = xfs_trans_reserve_quota_icreate(tp, udqp, gdqp, pdqp, dblocks); in xfs_trans_alloc_icreate() 1212 xfs_blockgc_free_dquots(mp, udqp, gdqp, pdqp, 0); in xfs_trans_alloc_icreate() 1246 struct xfs_dquot *gdqp; in xfs_trans_alloc_ichange() local 1276 gdqp = (new_gdqp != ip->i_gdquot) ? new_gdqp : NULL; in xfs_trans_alloc_ichange() 1278 if (udqp || gdqp || pdqp) { in xfs_trans_alloc_ichange() 1305 error = xfs_trans_reserve_quota_bydquots(tp, mp, udqp, gdqp, in xfs_trans_alloc_ichange() 1309 xfs_blockgc_free_dquots(mp, udqp, gdqp, pdqp, 0); in xfs_trans_alloc_ichange() 1318 error = xfs_trans_reserve_quota_bydquots(tp, mp, udqp, gdqp, in xfs_trans_alloc_ichange() 1322 xfs_blockgc_free_dquots(mp, udqp, gdqp, pdqp, 0); in xfs_trans_alloc_ichange()
|
| H A D | xfs_trans_dquot.c | 923 struct xfs_dquot *gdqp, in xfs_trans_reserve_quota_bydquots() argument 942 if (gdqp) { in xfs_trans_reserve_quota_bydquots() 943 error = xfs_trans_dqresv(tp, mp, gdqp, nblks, ninos, flags); in xfs_trans_reserve_quota_bydquots() 961 if (gdqp) in xfs_trans_reserve_quota_bydquots() 962 xfs_trans_dqresv(tp, mp, gdqp, -nblks, -ninos, flags); in xfs_trans_reserve_quota_bydquots() 1025 struct xfs_dquot *gdqp, in xfs_trans_reserve_quota_icreate() argument 1034 return xfs_trans_reserve_quota_bydquots(tp, mp, udqp, gdqp, pdqp, in xfs_trans_reserve_quota_icreate()
|
| H A D | xfs_iops.c | 793 struct xfs_dquot *udqp = NULL, *gdqp = NULL; in xfs_setattr_nonsize() local 830 ASSERT(gdqp == NULL); in xfs_setattr_nonsize() 832 qflags, &udqp, &gdqp, NULL); in xfs_setattr_nonsize() 837 error = xfs_trans_alloc_ichange(ip, udqp, gdqp, NULL, in xfs_setattr_nonsize() 857 ASSERT(gdqp); in xfs_setattr_nonsize() 858 old_gdqp = xfs_qm_vop_chown(tp, ip, &ip->i_gdquot, gdqp); in xfs_setattr_nonsize() 876 xfs_qm_dqrele(gdqp); in xfs_setattr_nonsize() 898 xfs_qm_dqrele(gdqp); in xfs_setattr_nonsize()
|
| H A D | xfs_inode.c | 661 struct xfs_dquot *gdqp; in xfs_create() local 678 error = xfs_icreate_dqalloc(args, &udqp, &gdqp, &pdqp); in xfs_create() 700 error = xfs_trans_alloc_icreate(mp, tres, udqp, gdqp, pdqp, resblks, in xfs_create() 705 error = xfs_trans_alloc_icreate(mp, tres, udqp, gdqp, pdqp, in xfs_create() 751 xfs_qm_vop_create_dqattach(tp, du.ip, udqp, gdqp, pdqp); in xfs_create() 758 xfs_qm_dqrele(gdqp); in xfs_create() 784 xfs_qm_dqrele(gdqp); in xfs_create() 802 struct xfs_dquot *gdqp; in xfs_create_tmpfile() local 815 error = xfs_icreate_dqalloc(args, &udqp, &gdqp, &pdqp); in xfs_create_tmpfile() 822 error = xfs_trans_alloc_icreate(mp, tres, udqp, gdqp, pdqp, resblks, in xfs_create_tmpfile() [all …]
|
| H A D | xfs_trans.h | 259 struct xfs_dquot *udqp, struct xfs_dquot *gdqp, 263 struct xfs_dquot *gdqp, struct xfs_dquot *pdqp, bool force,
|
| H A D | xfs_icache.h | 61 struct xfs_dquot *gdqp, struct xfs_dquot *pdqp,
|
| H A D | xfs_icache.c | 1635 struct xfs_dquot *gdqp, in xfs_blockgc_free_dquots() argument 1642 if (!udqp && !gdqp && !pdqp) in xfs_blockgc_free_dquots() 1657 if (XFS_IS_UQUOTA_ENFORCED(mp) && gdqp && xfs_dquot_lowsp(gdqp)) { in xfs_blockgc_free_dquots() 1658 icw.icw_gid = make_kgid(mp->m_super->s_user_ns, gdqp->q_id); in xfs_blockgc_free_dquots()
|
| H A D | xfs_qm.c | 2061 struct xfs_dquot *gdqp, in xfs_qm_vop_create_dqattach() argument 2078 if (gdqp && XFS_IS_GQUOTA_ON(mp)) { in xfs_qm_vop_create_dqattach() 2080 ASSERT(i_gid_read(VFS_I(ip)) == gdqp->q_id); in xfs_qm_vop_create_dqattach() 2082 ip->i_gdquot = xfs_qm_dqhold(gdqp); in xfs_qm_vop_create_dqattach()
|
| /linux/fs/xfs/scrub/ |
| H A D | orphanage.c | 56 struct xfs_dquot *udqp = NULL, *gdqp = NULL, *pdqp = NULL; in xrep_chown_orphanage() local 62 XFS_QMOPT_QUOTALL, &udqp, &gdqp, &pdqp); in xrep_chown_orphanage() 66 error = xfs_trans_alloc_ichange(dp, udqp, gdqp, pdqp, true, &tp); in xrep_chown_orphanage() 89 oldg = xfs_qm_vop_chown(tp, dp, &dp->i_gdquot, gdqp); in xrep_chown_orphanage() 113 xfs_qm_dqrele(gdqp); in xrep_chown_orphanage()
|
| H A D | tempfile.c | 52 struct xfs_dquot *gdqp; in xrep_tempfile_create() local 74 error = xfs_icreate_dqalloc(&args, &udqp, &gdqp, &pdqp); in xrep_tempfile_create() 86 error = xfs_trans_alloc_icreate(mp, tres, udqp, gdqp, pdqp, resblks, in xrep_tempfile_create() 134 xfs_qm_vop_create_dqattach(tp, sc->tempip, udqp, gdqp, pdqp); in xrep_tempfile_create() 154 xfs_qm_dqrele(gdqp); in xrep_tempfile_create() 180 xfs_qm_dqrele(gdqp); in xrep_tempfile_create()
|