/linux/fs/xfs/scrub/ |
H A D | quotacheck_repair.c | 46 xfs_dqtype_t dqtype, in xqcheck_commit_dquot() argument 50 struct xfarray *counts = xqcheck_counters_for(xqc, dqtype); in xqcheck_commit_dquot() 142 unsigned int dqtype) in xqcheck_commit_dqtype() argument 148 struct xfarray *counts = xqcheck_counters_for(xqc, dqtype); in xqcheck_commit_dqtype() 156 xchk_dqiter_init(&cursor, sc, dqtype); in xqcheck_commit_dqtype() 158 error = xqcheck_commit_dquot(xqc, dqtype, dq); in xqcheck_commit_dqtype() 185 error = xfs_qm_dqget(mp, id, dqtype, true, &dq); in xqcheck_commit_dqtype() 189 error = xqcheck_commit_dquot(xqc, dqtype, dq); in xqcheck_commit_dqtype()
|
H A D | quota_repair.c | 298 xfs_dqtype_t dqtype, in xrep_quota_block() argument 304 struct xfs_def_quota *defq = xfs_get_defquota(qi, dqtype); in xrep_quota_block() 330 if ((ddq->d_type & XFS_DQTYPE_REC_MASK) != dqtype || in xrep_quota_block() 346 trace_xrep_disk_dquot(sc->mp, dqtype, id + i); in xrep_quota_block() 350 ddq->d_type = dqtype; in xrep_quota_block() 374 switch (dqtype) { in xrep_quota_block() 397 xfs_dqtype_t dqtype) in xrep_quota_data_fork() argument 488 dqtype, off * qi->qi_dqperchunk); in xrep_quota_data_fork() 506 xfs_dqtype_t dqtype) in xrep_quota_problems() argument 513 xchk_dqiter_init(&cursor, sc, dqtype); in xrep_quota_problems() [all …]
|
H A D | dqiterate.c | 29 xfs_dqtype_t dqtype) in xchk_dqiter_init() argument 33 cursor->dqtype = dqtype & XFS_DQTYPE_REC_MASK; in xchk_dqiter_init() 34 cursor->quota_ip = xfs_quota_inode(sc->mp, cursor->dqtype); in xchk_dqiter_init() 149 struct radix_tree_root *tree = xfs_dquot_tree(qi, cursor->dqtype); in xchk_dquot_iter_advance_incore() 204 error = xfs_qm_dqget(mp, cursor->id, cursor->dqtype, false, &dq); in xchk_dquot_iter()
|
H A D | quota.c | 45 xfs_dqtype_t dqtype; in xchk_setup_quota() local 51 dqtype = xchk_quota_to_dqtype(sc); in xchk_setup_quota() 52 if (dqtype == 0) in xchk_setup_quota() 55 if (!xfs_this_quota_on(sc->mp, dqtype)) in xchk_setup_quota() 65 error = xchk_install_live_inode(sc, xfs_quota_inode(sc->mp, dqtype)); in xchk_setup_quota() 310 xfs_dqtype_t dqtype; in xchk_quota() local 313 dqtype = xchk_quota_to_dqtype(sc); in xchk_quota() 330 xchk_dqiter_init(&cursor, sc, dqtype); in xchk_quota()
|
H A D | quota.h | 26 xfs_dqtype_t dqtype; member 33 xfs_dqtype_t dqtype);
|
H A D | quotacheck.h | 61 xfs_dqtype_t dqtype) in xqcheck_counters_for() argument 63 switch (dqtype) { in xqcheck_counters_for()
|
H A D | common.h | 36 void xchk_qcheck_set_corrupt(struct xfs_scrub *sc, unsigned int dqtype,
|
H A D | trace.h | 472 __field(xfs_dqtype_t, dqtype) 483 __entry->dqtype = cursor->dqtype; 494 __print_symbolic(__entry->dqtype, XFS_DQTYPE_STRINGS), 514 TP_PROTO(struct xfs_scrub *sc, xfs_dqtype_t dqtype, xfs_dqid_t id, 516 TP_ARGS(sc, dqtype, id, ret_ip), 519 __field(xfs_dqtype_t, dqtype) 525 __entry->dqtype = dqtype; 531 __print_symbolic(__entry->dqtype, XFS_DQTYPE_STRINGS),
|
H A D | common.c | 274 unsigned int dqtype, in xchk_qcheck_set_corrupt() argument 278 trace_xchk_qcheck_error(sc, dqtype, id, __return_address); in xchk_qcheck_set_corrupt()
|