/openbmc/linux/fs/xfs/ |
H A 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
|
H A D | xfs_symlink.c | 171 struct xfs_dquot *gdqp = NULL; in xfs_symlink() local 201 &udqp, &gdqp, &pdqp); in xfs_symlink() 215 error = xfs_trans_alloc_icreate(mp, &M_RES(mp)->tr_symlink, udqp, gdqp, in xfs_symlink() 255 xfs_qm_vop_create_dqattach(tp, ip, udqp, gdqp, pdqp); in xfs_symlink() 338 xfs_qm_dqrele(gdqp); in xfs_symlink() 358 xfs_qm_dqrele(gdqp); in xfs_symlink()
|
H A 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()
|
H A D | xfs_trans.c | 1235 struct xfs_dquot *gdqp, in xfs_trans_alloc_icreate() argument 1249 error = xfs_trans_reserve_quota_icreate(tp, udqp, gdqp, pdqp, dblocks); in xfs_trans_alloc_icreate() 1252 xfs_blockgc_free_dquots(mp, udqp, gdqp, pdqp, 0); in xfs_trans_alloc_icreate() 1286 struct xfs_dquot *gdqp; in xfs_trans_alloc_ichange() local 1313 gdqp = (new_gdqp != ip->i_gdquot) ? new_gdqp : NULL; in xfs_trans_alloc_ichange() 1315 if (udqp || gdqp || pdqp) { in xfs_trans_alloc_ichange() 1327 error = xfs_trans_reserve_quota_bydquots(tp, mp, udqp, gdqp, in xfs_trans_alloc_ichange() 1332 xfs_blockgc_free_dquots(mp, udqp, gdqp, pdqp, 0); in xfs_trans_alloc_ichange()
|
H A D | xfs_iops.c | 670 struct xfs_dquot *udqp = NULL, *gdqp = NULL; in xfs_setattr_nonsize() local 707 ASSERT(gdqp == NULL); in xfs_setattr_nonsize() 709 qflags, &udqp, &gdqp, NULL); in xfs_setattr_nonsize() 714 error = xfs_trans_alloc_ichange(ip, udqp, gdqp, NULL, in xfs_setattr_nonsize() 734 ASSERT(gdqp); in xfs_setattr_nonsize() 735 old_gdqp = xfs_qm_vop_chown(tp, ip, &ip->i_gdquot, gdqp); in xfs_setattr_nonsize() 753 xfs_qm_dqrele(gdqp); in xfs_setattr_nonsize() 775 xfs_qm_dqrele(gdqp); in xfs_setattr_nonsize()
|
H A D | xfs_inode.c | 971 struct xfs_dquot *gdqp = NULL; in xfs_create() local 992 &udqp, &gdqp, &pdqp); in xfs_create() 1010 error = xfs_trans_alloc_icreate(mp, tres, udqp, gdqp, pdqp, resblks, in xfs_create() 1015 error = xfs_trans_alloc_icreate(mp, tres, udqp, gdqp, pdqp, in xfs_create() 1076 xfs_qm_vop_create_dqattach(tp, ip, udqp, gdqp, pdqp); in xfs_create() 1083 xfs_qm_dqrele(gdqp); in xfs_create() 1103 xfs_qm_dqrele(gdqp); in xfs_create() 1124 struct xfs_dquot *gdqp = NULL; in xfs_create_tmpfile() local 1143 &udqp, &gdqp, &pdqp); in xfs_create_tmpfile() 1150 error = xfs_trans_alloc_icreate(mp, tres, udqp, gdqp, pdqp, resblks, in xfs_create_tmpfile() [all …]
|
H A D | xfs_trans.h | 266 struct xfs_dquot *udqp, struct xfs_dquot *gdqp, 270 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_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()
|
H A D | xfs_icache.c | 1531 struct xfs_dquot *gdqp, in xfs_blockgc_free_dquots() argument 1538 if (!udqp && !gdqp && !pdqp) in xfs_blockgc_free_dquots() 1553 if (XFS_IS_UQUOTA_ENFORCED(mp) && gdqp && xfs_dquot_lowsp(gdqp)) { in xfs_blockgc_free_dquots() 1554 icw.icw_gid = make_kgid(mp->m_super->s_user_ns, gdqp->q_id); in xfs_blockgc_free_dquots()
|