Home
last modified time | relevance | path

Searched refs:xfs_scrub (Results 1 – 25 of 38) sorted by relevance

12

/linux/fs/xfs/scrub/
H A Dcommon.h9 int xchk_trans_alloc(struct xfs_scrub *sc, uint resblks);
10 int xchk_trans_alloc_empty(struct xfs_scrub *sc);
11 void xchk_trans_cancel(struct xfs_scrub *sc);
13 bool xchk_process_error(struct xfs_scrub *sc, xfs_agnumber_t agno,
15 bool xchk_fblock_process_error(struct xfs_scrub *sc, int whichfork,
18 bool xchk_xref_process_error(struct xfs_scrub *sc,
20 bool xchk_fblock_xref_process_error(struct xfs_scrub *sc,
23 void xchk_block_set_preen(struct xfs_scrub *sc,
25 void xchk_ino_set_preen(struct xfs_scrub *sc, xfs_ino_t ino);
27 void xchk_set_corrupt(struct xfs_scrub *sc);
[all …]
H A Dscrub.h9 struct xfs_scrub;
80 int (*setup)(struct xfs_scrub *sc);
83 int (*scrub)(struct xfs_scrub *);
86 int (*repair)(struct xfs_scrub *);
94 int (*repair_eval)(struct xfs_scrub *sc);
120 struct xfs_scrub { struct
206 struct xfs_scrub sc;
207 struct xfs_scrub *parent_sc;
212 struct xfs_scrub_subord *xchk_scrub_create_subord(struct xfs_scrub *sc,
223 struct xfs_scrub *sc, in xchk_should_terminate()
[all …]
H A Dcommon.c73 struct xfs_scrub *sc, in __xchk_process_error()
114 struct xfs_scrub *sc, in xchk_process_error()
125 struct xfs_scrub *sc, in xchk_xref_process_error()
137 struct xfs_scrub *sc, in __xchk_fblock_process_error()
178 struct xfs_scrub *sc, in xchk_fblock_process_error()
189 struct xfs_scrub *sc, in xchk_fblock_xref_process_error()
213 struct xfs_scrub *sc, in xchk_block_set_preen()
227 struct xfs_scrub *sc, in xchk_ino_set_preen()
237 struct xfs_scrub *sc) in xchk_set_corrupt()
246 struct xfs_scrub *sc, in xchk_block_set_corrupt()
[all …]
H A Dbtree.h12 bool xchk_btree_process_error(struct xfs_scrub *sc,
16 bool xchk_btree_xref_process_error(struct xfs_scrub *sc,
20 void xchk_btree_set_corrupt(struct xfs_scrub *sc,
22 void xchk_btree_set_preen(struct xfs_scrub *sc, struct xfs_btree_cur *cur,
26 void xchk_btree_xref_set_corrupt(struct xfs_scrub *sc,
41 struct xfs_scrub *sc;
66 int xchk_btree(struct xfs_scrub *sc, struct xfs_btree_cur *cur,
H A Dhealth.h10 void xchk_update_health(struct xfs_scrub *sc);
11 void xchk_ag_btree_del_cursor_if_sick(struct xfs_scrub *sc,
13 void xchk_mark_healthy_if_clean(struct xfs_scrub *sc, unsigned int mask);
14 bool xchk_file_looks_zapped(struct xfs_scrub *sc, unsigned int mask);
15 int xchk_health_record(struct xfs_scrub *sc);
H A Dtempfile.c40 struct xfs_scrub *sc, in xrep_tempfile_create()
188 struct xfs_scrub *sc) in xrep_tempfile_iolock_nowait()
205 struct xfs_scrub *sc) in xrep_tempfile_iolock_polled()
221 struct xfs_scrub *sc) in xrep_tempfile_iounlock()
230 struct xfs_scrub *sc) in xrep_tempfile_ilock()
239 struct xfs_scrub *sc) in xrep_tempfile_ilock_nowait()
252 struct xfs_scrub *sc) in xrep_tempfile_iunlock()
264 struct xfs_scrub *sc) in xrep_tempfile_ilock_both()
274 struct xfs_scrub *sc) in xrep_tempfile_iunlock_both()
283 struct xfs_scrub *sc) in xrep_tempfile_rele()
[all …]
H A Dnewbt.h31 struct xfs_scrub *sc;
34 int (*alloc_vextent)(struct xfs_scrub *sc,
60 void xrep_newbt_init_bare(struct xrep_newbt *xnr, struct xfs_scrub *sc);
61 void xrep_newbt_init_ag(struct xrep_newbt *xnr, struct xfs_scrub *sc,
64 int xrep_newbt_init_inode(struct xrep_newbt *xnr, struct xfs_scrub *sc,
H A Dinode_repair.c104 struct xfs_scrub *sc;
146 struct xfs_scrub *sc, in xrep_setup_inode()
167 struct xfs_scrub *sc, in xrep_dinode_buf_core()
210 struct xfs_scrub *sc, in xrep_dinode_buf()
225 struct xfs_scrub *sc, in xrep_dinode_header()
244 struct xfs_scrub *sc, in xrep_dinode_findmode_dirent()
340 struct xfs_scrub *sc = ri->sc; in xrep_dinode_findmode_walk_directory()
394 struct xfs_scrub *sc = ri->sc; in xrep_dinode_find_mode()
485 struct xfs_scrub *sc = ri->sc; in xrep_dinode_mode()
533 struct xfs_scrub *sc, in xrep_dinode_flags()
[all …]
H A Dparent.c34 struct xfs_scrub *sc) in xchk_setup_parent()
52 struct xfs_scrub *sc;
59 struct xfs_scrub *sc, in xchk_parent_actor()
114 struct xfs_scrub *sc, in xchk_parent_validate()
230 struct xfs_scrub *sc;
258 struct xfs_scrub *sc, in xchk_parent_scan_dotdot()
290 struct xfs_scrub *sc = pp->sc; in xchk_parent_pptr_and_dotdot()
339 struct xfs_scrub *sc, in xchk_parent_lock_dir()
370 struct xfs_scrub *sc = pp->sc; in xchk_parent_dirent()
402 struct xfs_scrub *sc = pp->sc; in xchk_parent_iget()
[all …]
H A Drepair.c55 struct xfs_scrub *sc, in xrep_attempt()
132 struct xfs_scrub *sc) in xrep_probe()
148 struct xfs_scrub *sc) in xrep_roll_ag_trans()
193 struct xfs_scrub *sc) in xrep_roll_trans()
203 struct xfs_scrub *sc) in xrep_defer_finish()
273 struct xfs_scrub *sc) in xrep_calc_ag_resblks()
410 struct xfs_scrub *sc, in xrep_fix_freelist()
452 struct xfs_scrub *sc;
664 struct xfs_scrub *sc, in xrep_find_ag_btree_roots()
700 struct xfs_scrub *sc, in xrep_update_qflags()
[all …]
H A Dbmap_repair.c70 struct xfs_scrub *sc;
101 struct xfs_scrub *sc = rb->sc; in xrep_bmap_discover_shared()
134 struct xfs_scrub *sc = rb->sc; in xrep_bmap_from_rmap()
186 struct xfs_scrub *sc = rb->sc; in xrep_bmap_check_fork_rmap()
352 struct xfs_scrub *sc = rb->sc; in xrep_bmap_scan_ag()
411 struct xfs_scrub *sc = rb->sc; in xrep_bmap_find_mappings()
491 struct xfs_scrub *sc = rb->sc; in xrep_bmap_reset_counters()
562 struct xfs_scrub *sc = rb->sc; in xrep_bmap_btree_load()
620 struct xfs_scrub *sc = rb->sc; in xrep_bmap_build_new_fork()
702 struct xfs_scrub *sc = rb->sc; in xrep_bmap_remove_old_tree()
[all …]
H A Dquota.h9 xfs_dqtype_t xchk_quota_to_dqtype(struct xfs_scrub *sc);
14 struct xfs_scrub *sc;
32 void xchk_dqiter_init(struct xchk_dqiter *cursor, struct xfs_scrub *sc,
H A Dagheader_repair.c42 struct xfs_scrub *sc) in xrep_superblock()
87 struct xfs_scrub *sc;
118 struct xfs_scrub *sc = priv; in xrep_agf_check_agfl_block()
141 struct xfs_scrub *sc, in xrep_check_btree_root()
159 struct xfs_scrub *sc, in xrep_agf_find_btrees()
199 struct xfs_scrub *sc, in xrep_agf_init_header()
227 struct xfs_scrub *sc, in xrep_agf_set_roots()
251 struct xfs_scrub *sc, in xrep_agf_calc_from_btrees()
314 struct xfs_scrub *sc, in xrep_agf_commit_new()
344 struct xfs_scrub *sc) in xrep_agf()
[all …]
H A Dquota.c26 struct xfs_scrub *sc) in xchk_quota_to_dqtype()
43 struct xfs_scrub *sc) in xchk_setup_quota()
76 struct xfs_scrub *sc;
83 struct xfs_scrub *sc, in xchk_quota_item_bmap()
124 struct xfs_scrub *sc, in xchk_quota_item_timer()
144 struct xfs_scrub *sc = sqi->sc; in xchk_quota_item()
257 struct xfs_scrub *sc) in xchk_quota_data_fork()
297 struct xfs_scrub *sc) in xchk_quota()
H A Drtsummary.c42 struct xfs_scrub *sc) in xchk_setup_rtsummary()
115 struct xfs_scrub *sc, in xfsum_load()
126 struct xfs_scrub *sc, in xfsum_store()
137 struct xfs_scrub *sc, in xfsum_copyout()
163 struct xfs_scrub *sc = priv; in xchk_rtsum_record_free()
204 struct xfs_scrub *sc) in xchk_rtsum_compute()
221 struct xfs_scrub *sc) in xchk_rtsum_compare()
299 struct xfs_scrub *sc) in xchk_rtsummary()
H A Dalloc.c28 struct xfs_scrub *sc) in xchk_setup_ag_allocbt()
58 struct xfs_scrub *sc, in xchk_allocbt_xref_other()
98 struct xfs_scrub *sc, in xchk_allocbt_xref()
156 struct xfs_scrub *sc) in xchk_allocbt()
179 struct xfs_scrub *sc, in xchk_xref_is_used_space()
H A Dreap.c88 struct xfs_scrub *sc;
110 struct xfs_scrub *sc, in xreap_put_freelist()
263 struct xfs_scrub *sc = rs->sc; in xreap_agextent_binval()
331 struct xfs_scrub *sc = rs->sc; in xreap_agextent_select()
390 struct xfs_scrub *sc = rs->sc; in xreap_agextent_iter()
501 struct xfs_scrub *sc = rs->sc; in xreap_agmeta_extent()
542 struct xfs_scrub *sc, in xrep_reap_agblocks()
579 struct xfs_scrub *sc = rs->sc; in xreap_fsmeta_extent()
655 struct xfs_scrub *sc, in xrep_reap_fsblocks()
690 struct xfs_scrub *sc, in xreap_bmapi_select()
[all …]
H A Drmap.c35 struct xfs_scrub *sc) in xchk_setup_ag_rmapbt()
81 struct xfs_scrub *sc, in xchk_rmapbt_xref_refc()
112 struct xfs_scrub *sc, in xchk_rmapbt_xref()
149 struct xfs_scrub *sc = bs->sc; in xchk_rmapbt_check_unwritten_in_keyflags()
187 struct xfs_scrub *sc, in xchk_rmapbt_is_shareable()
287 struct xfs_scrub *sc = bs->sc; in xchk_rmapbt_mark_bitmap()
397 struct xfs_scrub *sc, in xchk_rmapbt_walk_ag_metadata()
510 struct xfs_scrub *sc, in xchk_rmapbt_check_bitmaps()
546 struct xfs_scrub *sc) in xchk_rmapbt()
585 struct xfs_scrub *sc, in xchk_xref_is_only_owned_by()
[all …]
H A Dnewbt.c46 struct xfs_scrub *sc = xnr->sc; in xrep_newbt_estimate_slack()
86 struct xfs_scrub *sc, in xrep_newbt_init_ag()
105 struct xfs_scrub *sc, in xrep_newbt_init_inode()
130 struct xfs_scrub *sc) in xrep_newbt_init_bare()
206 struct xfs_scrub *sc = xnr->sc; in xrep_newbt_validate_ag_alloc_hint()
223 struct xfs_scrub *sc = xnr->sc; in xrep_newbt_alloc_ag_blocks()
284 struct xfs_scrub *sc = xnr->sc; in xrep_newbt_validate_file_alloc_hint()
298 struct xfs_scrub *sc = xnr->sc; in xrep_newbt_alloc_file_blocks()
376 struct xfs_scrub *sc = xnr->sc; in xrep_newbt_free_extent()
431 struct xfs_scrub *sc = xnr->sc; in xrep_newbt_free()
H A Dialloc.c33 struct xfs_scrub *sc) in xchk_setup_ag_iallocbt()
66 struct xfs_scrub *sc, in xchk_inobt_xref_finobt()
133 struct xfs_scrub *sc, in xchk_inobt_chunk_xref_finobt()
169 struct xfs_scrub *sc, in xchk_finobt_xref_inobt()
221 struct xfs_scrub *sc, in xchk_finobt_chunk_xref_inobt()
259 struct xfs_scrub *sc = bs->sc; in xchk_iallocbt_chunk()
652 struct xfs_scrub *sc) in xchk_iallocbt_xref_rmap_btreeblks()
689 struct xfs_scrub *sc, in xchk_iallocbt_xref_rmap_inodes()
712 struct xfs_scrub *sc) in xchk_iallocbt()
756 struct xfs_scrub *sc, in xchk_xref_inode_check()
[all …]
H A Drtbitmap.c27 struct xfs_scrub *sc) in xchk_setup_rtbitmap()
81 struct xfs_scrub *sc = priv; in xchk_rtbitmap_rec()
96 struct xfs_scrub *sc) in xchk_rtbitmap_check_extents()
140 struct xfs_scrub *sc) in xchk_rtbitmap()
206 struct xfs_scrub *sc, in xchk_xref_is_used_rt_space()
H A Drefcount_repair.c112 struct xfs_scrub *sc;
124 struct xfs_scrub *sc) in xrep_setup_ag_refcountbt()
138 struct xfs_scrub *sc, in xrep_refc_check_ext()
180 struct xfs_scrub *sc = rr->sc; in xrep_refc_stash()
381 struct xfs_scrub *sc = rr->sc; in xrep_refc_push_rmaps_at()
411 struct xfs_scrub *sc = rr->sc; in xrep_refc_find_refcounts()
561 struct xfs_scrub *sc = rr->sc; in xrep_refc_reset_counters()
590 struct xfs_scrub *sc = rr->sc; in xrep_refc_build_new_tree()
681 struct xfs_scrub *sc = rr->sc; in xrep_refc_remove_old_tree()
704 struct xfs_scrub *sc) in xrep_refcountbt()
H A Drefcount.c29 struct xfs_scrub *sc) in xchk_setup_ag_refcountbt()
89 struct xfs_scrub *sc;
286 struct xfs_scrub *sc, in xchk_refcountbt_xref_rmap()
333 struct xfs_scrub *sc, in xchk_refcountbt_xref()
380 struct xfs_scrub *sc, in xchk_refcountbt_xref_gaps()
490 struct xfs_scrub *sc, in xchk_refcount_xref_rmap()
523 struct xfs_scrub *sc) in xchk_refcountbt()
551 struct xfs_scrub *sc, in xchk_xref_is_cow_staging()
595 struct xfs_scrub *sc, in xchk_xref_is_not_shared()
616 struct xfs_scrub *sc, in xchk_xref_is_not_cow_staging()
H A Dialloc_repair.c112 struct xfs_scrub *sc;
146 struct xfs_scrub *sc = ri->sc; in xrep_ibt_check_ifree()
226 struct xfs_scrub *sc = ri->sc; in xrep_ibt_cluster_record()
294 struct xfs_scrub *sc = ri->sc; in xrep_ibt_process_cluster()
340 struct xfs_scrub *sc, in xrep_ibt_check_inode_ext()
477 struct xfs_scrub *sc = ri->sc; in xrep_ibt_find_inodes()
501 struct xfs_scrub *sc = ri->sc; in xrep_ibt_reset_counters()
634 struct xfs_scrub *sc = ri->sc; in xrep_ibt_build_new_trees()
776 struct xfs_scrub *sc = ri->sc; in xrep_ibt_remove_old_trees()
803 struct xfs_scrub *sc) in xrep_iallocbt()
[all …]
H A Dquota_repair.c47 struct xfs_scrub *sc;
57 struct xfs_scrub *sc, in xrep_quota_item_fill_bmap_hole()
107 struct xfs_scrub *sc, in xrep_quota_item_bmap()
154 struct xfs_scrub *sc, in xrep_quota_item_timer()
174 struct xfs_scrub *sc = rqi->sc; in xrep_quota_item()
296 struct xfs_scrub *sc, in xrep_quota_block()
396 struct xfs_scrub *sc, in xrep_quota_data_fork()
505 struct xfs_scrub *sc, in xrep_quota_problems()
532 struct xfs_scrub *sc) in xrep_quota()

12