| /Linux-v5.15/fs/xfs/ |
| D | xfs_quota.h | 90 struct xfs_dquot *udqp, struct xfs_dquot *gdqp, 120 prid_t prid, uint flags, struct xfs_dquot **udqp, in xfs_qm_vop_dqalloc() argument 123 *udqp = NULL; in xfs_qm_vop_dqalloc() 140 struct xfs_mount *mp, struct xfs_dquot *udqp, in xfs_trans_reserve_quota_bydquots() argument 154 xfs_trans_reserve_quota_icreate(struct xfs_trans *tp, struct xfs_dquot *udqp, in xfs_trans_reserve_quota_icreate() argument
|
| D | xfs_symlink.c | 161 struct xfs_dquot *udqp = NULL; in xfs_symlink() local 190 &udqp, &gdqp, &pdqp); in xfs_symlink() 204 error = xfs_trans_alloc_icreate(mp, &M_RES(mp)->tr_symlink, udqp, gdqp, in xfs_symlink() 249 xfs_qm_vop_create_dqattach(tp, ip, udqp, gdqp, pdqp); in xfs_symlink() 331 xfs_qm_dqrele(udqp); in xfs_symlink() 351 xfs_qm_dqrele(udqp); in xfs_symlink()
|
| D | xfs_trans_dquot.c | 731 struct xfs_dquot *udqp, in xfs_trans_reserve_quota_bydquots() argument 745 if (udqp) { in xfs_trans_reserve_quota_bydquots() 746 error = xfs_trans_dqresv(tp, mp, udqp, nblks, ninos, flags); in xfs_trans_reserve_quota_bydquots() 774 if (udqp) in xfs_trans_reserve_quota_bydquots() 775 xfs_trans_dqresv(tp, mp, udqp, -nblks, -ninos, flags); in xfs_trans_reserve_quota_bydquots() 831 struct xfs_dquot *udqp, in xfs_trans_reserve_quota_icreate() argument 841 return xfs_trans_reserve_quota_bydquots(tp, mp, udqp, gdqp, pdqp, in xfs_trans_reserve_quota_icreate()
|
| D | xfs_trans.c | 1091 struct xfs_dquot *udqp, in xfs_trans_alloc_icreate() argument 1106 error = xfs_trans_reserve_quota_icreate(tp, udqp, gdqp, pdqp, dblocks); in xfs_trans_alloc_icreate() 1109 xfs_blockgc_free_dquots(mp, udqp, gdqp, pdqp, 0); in xfs_trans_alloc_icreate() 1142 struct xfs_dquot *udqp; in xfs_trans_alloc_ichange() local 1169 udqp = (new_udqp != ip->i_udquot) ? new_udqp : NULL; in xfs_trans_alloc_ichange() 1172 if (udqp || gdqp || pdqp) { in xfs_trans_alloc_ichange() 1184 error = xfs_trans_reserve_quota_bydquots(tp, mp, udqp, gdqp, in xfs_trans_alloc_ichange() 1189 xfs_blockgc_free_dquots(mp, udqp, gdqp, pdqp, 0); in xfs_trans_alloc_ichange()
|
| D | xfs_iops.c | 704 struct xfs_dquot *udqp = NULL, *gdqp = NULL; in xfs_setattr_nonsize() local 738 ASSERT(udqp == NULL); in xfs_setattr_nonsize() 741 qflags, &udqp, &gdqp, NULL); in xfs_setattr_nonsize() 746 error = xfs_trans_alloc_ichange(ip, udqp, gdqp, NULL, in xfs_setattr_nonsize() 783 ASSERT(udqp); in xfs_setattr_nonsize() 785 &ip->i_udquot, udqp); in xfs_setattr_nonsize() 820 xfs_qm_dqrele(udqp); in xfs_setattr_nonsize() 842 xfs_qm_dqrele(udqp); in xfs_setattr_nonsize()
|
| D | xfs_trans.h | 262 struct xfs_dquot *udqp, struct xfs_dquot *gdqp, 265 int xfs_trans_alloc_ichange(struct xfs_inode *ip, struct xfs_dquot *udqp,
|
| D | xfs_icache.h | 57 int xfs_blockgc_free_dquots(struct xfs_mount *mp, struct xfs_dquot *udqp,
|
| D | xfs_inode.c | 980 struct xfs_dquot *udqp = NULL; in xfs_create() local 1000 &udqp, &gdqp, &pdqp); in xfs_create() 1018 error = xfs_trans_alloc_icreate(mp, tres, udqp, gdqp, pdqp, resblks, in xfs_create() 1023 error = xfs_trans_alloc_icreate(mp, tres, udqp, gdqp, pdqp, in xfs_create() 1089 xfs_qm_vop_create_dqattach(tp, ip, udqp, gdqp, pdqp); in xfs_create() 1095 xfs_qm_dqrele(udqp); in xfs_create() 1115 xfs_qm_dqrele(udqp); in xfs_create() 1136 struct xfs_dquot *udqp = NULL; in xfs_create_tmpfile() local 1154 &udqp, &gdqp, &pdqp); in xfs_create_tmpfile() 1161 error = xfs_trans_alloc_icreate(mp, tres, udqp, gdqp, pdqp, resblks, in xfs_create_tmpfile() [all …]
|
| D | xfs_icache.c | 1535 struct xfs_dquot *udqp, in xfs_blockgc_free_dquots() argument 1543 if (!udqp && !gdqp && !pdqp) in xfs_blockgc_free_dquots() 1552 if (XFS_IS_UQUOTA_ENFORCED(mp) && udqp && xfs_dquot_lowsp(udqp)) { in xfs_blockgc_free_dquots() 1553 icw.icw_uid = make_kuid(mp->m_super->s_user_ns, udqp->q_id); in xfs_blockgc_free_dquots()
|
| D | xfs_qm.c | 1851 struct xfs_dquot *udqp, in xfs_qm_vop_create_dqattach() argument 1862 if (udqp && XFS_IS_UQUOTA_ON(mp)) { in xfs_qm_vop_create_dqattach() 1864 ASSERT(i_uid_read(VFS_I(ip)) == udqp->q_id); in xfs_qm_vop_create_dqattach() 1866 ip->i_udquot = xfs_qm_dqhold(udqp); in xfs_qm_vop_create_dqattach() 1867 xfs_trans_mod_dquot(tp, udqp, XFS_TRANS_DQ_ICOUNT, 1); in xfs_qm_vop_create_dqattach()
|