| /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, 160 struct xfs_dquot **gdqp, struct xfs_dquot **pdqp) in xfs_qm_vop_dqalloc() 163 *gdqp = NULL; in xfs_qm_vop_dqalloc() 183 struct xfs_dquot *gdqp, struct xfs_dquot *pdqp, in xfs_trans_reserve_quota_bydquots() 191 struct xfs_dquot *gdqp, struct xfs_dquot *pdqp, int64_t dblocks) in xfs_trans_reserve_quota_icreate() 158 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 181 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 189 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 D | xfs_iops.c | 810 struct xfs_dquot *udqp = NULL, *gdqp = NULL; in xfs_setattr_nonsize() 842 * We take a reference when we initialize udqp and gdqp, in xfs_setattr_nonsize() 847 ASSERT(gdqp == NULL); in xfs_setattr_nonsize() 849 qflags, &udqp, &gdqp, NULL); in xfs_setattr_nonsize() 854 error = xfs_trans_alloc_ichange(ip, udqp, gdqp, NULL, in xfs_setattr_nonsize() 874 ASSERT(gdqp); in xfs_setattr_nonsize() 875 old_gdqp = xfs_qm_vop_chown(tp, ip, &ip->i_gdquot, gdqp); in xfs_setattr_nonsize() 893 xfs_qm_dqrele(gdqp); in xfs_setattr_nonsize() 915 xfs_qm_dqrele(gdqp); in xfs_vn_setattr_size() 792 struct xfs_dquot *udqp = NULL, *gdqp = NULL; xfs_setattr_nonsize() local
|
| 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() 745 xfs_qm_vop_create_dqattach(tp, du.ip, udqp, gdqp, pdqp); in xfs_create() 752 xfs_qm_dqrele(gdqp); in xfs_create() 778 xfs_qm_dqrele(gdqp); in xfs_create() 796 struct xfs_dquot *gdqp; in xfs_create_tmpfile() local 809 error = xfs_icreate_dqalloc(args, &udqp, &gdqp, &pdqp); in xfs_create_tmpfile() 816 error = xfs_trans_alloc_icreate(mp, tres, udqp, gdqp, pdqp, resblks, in xfs_create_tmpfile() 835 xfs_qm_vop_create_dqattach(tp, ip, udqp, gdqp, pdq in xfs_create_tmpfile() [all...] |
| H A D | xfs_icache.h | 61 struct xfs_dquot *gdqp, struct xfs_dquot *pdqp,
|
| H A D | xfs_icache.c | 1634 struct xfs_dquot *gdqp, in xfs_blockgc_free_dquots() argument 1641 if (!udqp && !gdqp && !pdqp) in xfs_blockgc_free_dquots() 1656 if (XFS_IS_GQUOTA_ENFORCED(mp) && gdqp && xfs_dquot_lowsp(gdqp)) { in xfs_blockgc_free_dquots() 1657 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 | 2096 struct xfs_dquot *gdqp, in xfs_qm_vop_create_dqattach() 2113 if (gdqp && XFS_IS_GQUOTA_ON(mp)) { in xfs_inode_near_dquot_enforcement() 2115 ASSERT(i_gid_read(VFS_I(ip)) == gdqp->q_id); in xfs_inode_near_dquot_enforcement() 2117 ip->i_gdquot = xfs_qm_dqhold(gdqp); in xfs_inode_near_dquot_enforcement() 2066 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
|
| /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() 181 xfs_qm_dqrele(gdqp); in xrep_tempfile_create()
|