Home
last modified time | relevance | path

Searched refs:iscan (Results 1 – 14 of 14) sorted by relevance

/linux/fs/xfs/scrub/
H A Discan.c60 struct xchk_iscan *iscan, in xchk_iscan_mask_skipino() argument
65 struct xfs_scrub *sc = iscan->sc; in xchk_iscan_mask_skipino()
67 xfs_agnumber_t skip_agno = XFS_INO_TO_AGNO(mp, iscan->skip_ino); in xchk_iscan_mask_skipino()
68 xfs_agnumber_t skip_agino = XFS_INO_TO_AGINO(mp, iscan->skip_ino); in xchk_iscan_mask_skipino()
86 struct xchk_iscan *iscan, in xchk_iscan_find_next() argument
93 struct xfs_scrub *sc = iscan->sc; in xchk_iscan_find_next()
156 if (iscan->skip_ino) in xchk_iscan_find_next()
157 xchk_iscan_mask_skipino(iscan, pag, &rec, lastino); in xchk_iscan_find_next()
200 struct xchk_iscan *iscan, in xchk_iscan_move_cursor() argument
204 struct xfs_scrub *sc = iscan->sc; in xchk_iscan_move_cursor()
[all …]
H A Discan.h66 xchk_iscan_aborted(const struct xchk_iscan *iscan) in xchk_iscan_aborted() argument
68 return test_bit(XCHK_ISCAN_OPSTATE_ABORTED, &iscan->__opstate); in xchk_iscan_aborted()
72 xchk_iscan_abort(struct xchk_iscan *iscan) in xchk_iscan_abort() argument
74 set_bit(XCHK_ISCAN_OPSTATE_ABORTED, &iscan->__opstate); in xchk_iscan_abort()
78 xchk_iscan_agi_needs_trylock(const struct xchk_iscan *iscan) in xchk_iscan_agi_needs_trylock() argument
80 return test_bit(XCHK_ISCAN_OPSTATE_TRYLOCK_AGI, &iscan->__opstate); in xchk_iscan_agi_needs_trylock()
84 xchk_iscan_set_agi_trylock(struct xchk_iscan *iscan) in xchk_iscan_set_agi_trylock() argument
86 set_bit(XCHK_ISCAN_OPSTATE_TRYLOCK_AGI, &iscan->__opstate); in xchk_iscan_set_agi_trylock()
90 unsigned int iget_retry_delay, struct xchk_iscan *iscan);
91 void xchk_iscan_finish_early(struct xchk_iscan *iscan);
[all …]
H A Dquotacheck.c251 if (!xchk_iscan_want_live_update(&xqc->iscan, p->ino)) in xqcheck_mod_live_ino_dqtrx()
303 xchk_iscan_abort(&xqc->iscan); in xqcheck_mod_live_ino_dqtrx()
342 if (xchk_iscan_aborted(&xqc->iscan) || counts == NULL) in xqcheck_apply_live_dqtrx()
382 xchk_iscan_abort(&xqc->iscan); in xqcheck_apply_live_dqtrx()
409 xchk_iscan_mark_visited(&xqc->iscan, ip); in xqcheck_collect_inode()
433 if (xchk_iscan_aborted(&xqc->iscan)) { in xqcheck_collect_inode()
465 xchk_iscan_mark_visited(&xqc->iscan, ip); in xqcheck_collect_inode()
471 xchk_iscan_abort(&xqc->iscan); in xqcheck_collect_inode()
510 while ((error = xchk_iscan_iter(&xqc->iscan, &ip)) == 1) { in xqcheck_collect_counts()
519 xchk_iscan_iter_finish(&xqc->iscan); in xqcheck_collect_counts()
[all …]
H A Drtrmap_repair.c91 struct xchk_iscan iscan; member
161 if (xchk_iscan_aborted(&rr->iscan)) in xrep_rtrmap_stash()
184 xchk_iscan_abort(&rr->iscan); in xrep_rtrmap_stash()
375 xchk_iscan_mark_visited(&rr->iscan, ip); in xrep_rtrmap_scan_inode()
582 while ((error = xchk_iscan_iter(&rr->iscan, &ip)) == 1) { in xrep_rtrmap_find_rmaps()
591 xchk_iscan_iter_finish(&rr->iscan); in xrep_rtrmap_find_rmaps()
611 if (xchk_iscan_aborted(&rr->iscan)) in xrep_rtrmap_find_rmaps()
789 xchk_iscan_abort(&rr->iscan); in xrep_rtrmap_build_new_tree()
810 struct xchk_iscan *iscan, in xrep_rtrmapbt_want_live_update() argument
813 if (xchk_iscan_aborted(iscan)) in xrep_rtrmapbt_want_live_update()
[all …]
H A Dfindparent.c231 xchk_iscan_want_live_update(&pscan->iscan, p->dp->i_ino)) { in xrep_findparent_live_update()
264 xchk_iscan_start(sc, 30000, 100, &pscan->iscan); in __xrep_findparent_scan_start()
282 xchk_iscan_teardown(&pscan->iscan); in __xrep_findparent_scan_start()
311 while ((ret = xchk_iscan_iter(&pscan->iscan, &fpi.dp)) == 1) { in xrep_findparent_scan()
316 xchk_iscan_mark_visited(&pscan->iscan, fpi.dp); in xrep_findparent_scan()
324 xchk_iscan_iter_finish(&pscan->iscan); in xrep_findparent_scan()
335 xchk_iscan_teardown(&pscan->iscan); in xrep_findparent_scan_teardown()
346 xchk_iscan_finish_early(&pscan->iscan); in xrep_findparent_scan_finish_early()
H A Drmap_repair.c149 struct xchk_iscan iscan; member
231 if (xchk_iscan_aborted(&rr->iscan)) in xrep_rmap_stash()
253 xchk_iscan_abort(&rr->iscan); in xrep_rmap_stash()
654 xchk_iscan_mark_visited(&rr->iscan, ip); in xrep_rmap_scan_inode()
954 while ((error = xchk_iscan_iter(&rr->iscan, &ip)) == 1) { in xrep_rmap_find_rmaps()
963 xchk_iscan_iter_finish(&rr->iscan); in xrep_rmap_find_rmaps()
983 if (xchk_iscan_aborted(&rr->iscan)) in xrep_rmap_find_rmaps()
1418 xchk_iscan_abort(&rr->iscan); in xrep_rmap_build_new_tree()
1568 struct xchk_iscan *iscan, in xrep_rmapbt_want_live_update() argument
1571 if (xchk_iscan_aborted(iscan)) in xrep_rmapbt_want_live_update()
[all …]
H A Dtrace.h1279 TP_PROTO(struct xchk_iscan *iscan),
1280 TP_ARGS(iscan),
1287 __entry->dev = iscan->sc->mp->m_super->s_dev;
1288 __entry->cursor = iscan->cursor_ino;
1289 __entry->visited = iscan->__visited_ino;
1298 TP_PROTO(struct xchk_iscan *iscan), \
1299 TP_ARGS(iscan))
1306 TP_PROTO(struct xchk_iscan *iscan, xfs_ino_t ino),
1307 TP_ARGS(iscan, ino),
1316 __entry->dev = iscan->sc->mp->m_super->s_dev;
[all …]
H A Dquotacheck.h48 struct xchk_iscan iscan; member
H A Dfindparent.h13 struct xchk_iscan iscan; member
H A Dparent_repair.c535 xchk_iscan_mark_visited(&rp->pscan.iscan, ip); in xrep_parent_scan_file()
574 while ((error = xchk_iscan_iter(&rp->pscan.iscan, &ip)) == 1) { in xrep_parent_scan_dirtree()
604 xchk_iscan_iter_finish(&rp->pscan.iscan); in xrep_parent_scan_dirtree()
649 xchk_iscan_want_live_update(&rp->pscan.iscan, p->dp->i_ino)) { in xrep_parent_live_update()
665 xchk_iscan_abort(&rp->pscan.iscan); in xrep_parent_live_update()
1301 if (xchk_iscan_aborted(&rp->pscan.iscan)) in xrep_parent_rebuild_pptrs()
H A Ddir_repair.c1265 xchk_iscan_mark_visited(&rd->pscan.iscan, ip); in xrep_dir_scan_file()
1298 while ((error = xchk_iscan_iter(&rd->pscan.iscan, &ip)) == 1) { in xrep_dir_scan_dirtree()
1328 xchk_iscan_iter_finish(&rd->pscan.iscan); in xrep_dir_scan_dirtree()
1373 xchk_iscan_want_live_update(&rd->pscan.iscan, p->ip->i_ino)) { in xrep_dir_live_update()
1392 xchk_iscan_want_live_update(&rd->pscan.iscan, p->dp->i_ino)) { in xrep_dir_live_update()
1410 xchk_iscan_abort(&rd->pscan.iscan); in xrep_dir_live_update()
1750 if (xchk_iscan_aborted(&rd->pscan.iscan)) in xrep_dir_rebuild_tree()
H A Dquotacheck_repair.c62 if (xchk_iscan_aborted(&xqc->iscan)) { in xqcheck_commit_dquot()
/linux/fs/xfs/
H A DMakefile185 iscan.o \
/linux/Documentation/filesystems/xfs/
H A Dxfs-online-fsck-design.rst3633 It combines a :ref:`coordinated inode scanner <iscan>`, :ref:`live update hooks
4403 Directory rebuilding uses a :ref:`coordinated inode scan <iscan>` and