Home
last modified time | relevance | path

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

12

/fs/xfs/scrub/
Dcommon.h16 struct xfs_scrub *sc, in xchk_should_terminate()
34 int xchk_trans_alloc(struct xfs_scrub *sc, uint resblks);
35 bool xchk_process_error(struct xfs_scrub *sc, xfs_agnumber_t agno,
37 bool xchk_fblock_process_error(struct xfs_scrub *sc, int whichfork,
40 bool xchk_xref_process_error(struct xfs_scrub *sc,
42 bool xchk_fblock_xref_process_error(struct xfs_scrub *sc,
45 void xchk_block_set_preen(struct xfs_scrub *sc,
47 void xchk_ino_set_preen(struct xfs_scrub *sc, xfs_ino_t ino);
49 void xchk_set_corrupt(struct xfs_scrub *sc);
50 void xchk_block_set_corrupt(struct xfs_scrub *sc,
[all …]
Dscrub.h9 struct xfs_scrub;
21 int (*setup)(struct xfs_scrub *,
25 int (*scrub)(struct xfs_scrub *);
28 int (*repair)(struct xfs_scrub *);
56 struct xfs_scrub { struct
87 int xchk_tester(struct xfs_scrub *sc); argument
88 int xchk_superblock(struct xfs_scrub *sc);
89 int xchk_agf(struct xfs_scrub *sc);
90 int xchk_agfl(struct xfs_scrub *sc);
91 int xchk_agi(struct xfs_scrub *sc);
[all …]
Drepair.h9 static inline int xrep_notsupported(struct xfs_scrub *sc) in xrep_notsupported()
18 int xrep_attempt(struct xfs_inode *ip, struct xfs_scrub *sc);
20 int xrep_roll_ag_trans(struct xfs_scrub *sc);
23 xfs_extlen_t xrep_calc_ag_resblks(struct xfs_scrub *sc);
24 int xrep_alloc_ag_block(struct xfs_scrub *sc,
27 int xrep_init_btblock(struct xfs_scrub *sc, xfs_fsblock_t fsb,
33 int xrep_fix_freelist(struct xfs_scrub *sc, bool can_shrink);
34 int xrep_invalidate_blocks(struct xfs_scrub *sc, struct xfs_bitmap *btlist);
35 int xrep_reap_extents(struct xfs_scrub *sc, struct xfs_bitmap *exlist,
50 int xrep_find_ag_btree_roots(struct xfs_scrub *sc, struct xfs_buf *agf_bp,
[all …]
Dcommon.c65 struct xfs_scrub *sc, in __xchk_process_error()
95 struct xfs_scrub *sc, in xchk_process_error()
106 struct xfs_scrub *sc, in xchk_xref_process_error()
118 struct xfs_scrub *sc, in __xchk_fblock_process_error()
148 struct xfs_scrub *sc, in xchk_fblock_process_error()
159 struct xfs_scrub *sc, in xchk_fblock_xref_process_error()
183 struct xfs_scrub *sc, in xchk_block_set_preen()
197 struct xfs_scrub *sc, in xchk_ino_set_preen()
207 struct xfs_scrub *sc) in xchk_set_corrupt()
216 struct xfs_scrub *sc, in xchk_block_set_corrupt()
[all …]
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,
24 void xchk_btree_xref_set_corrupt(struct xfs_scrub *sc,
34 struct xfs_scrub *sc;
47 int xchk_btree(struct xfs_scrub *sc, struct xfs_btree_cur *cur,
Dattr.h33 struct xfs_scrub *sc) in xchk_xattr_valuebuf()
43 struct xfs_scrub *sc) in xchk_xattr_usedmap()
53 struct xfs_scrub *sc) in xchk_xattr_freemap()
62 struct xfs_scrub *sc) in xchk_xattr_dstmap()
68 int xchk_setup_xattr_buf(struct xfs_scrub *sc, size_t value_size,
Dalloc.c24 struct xfs_scrub *sc, in xchk_setup_ag_allocbt()
37 struct xfs_scrub *sc, in xchk_allocbt_xref_other()
77 struct xfs_scrub *sc, in xchk_allocbt_xref()
117 struct xfs_scrub *sc, in xchk_allocbt()
128 struct xfs_scrub *sc) in xchk_bnobt()
135 struct xfs_scrub *sc) in xchk_cntbt()
143 struct xfs_scrub *sc, in xchk_xref_is_used_space()
Dagheader_repair.c34 struct xfs_scrub *sc) in xrep_superblock()
63 struct xfs_scrub *sc;
94 struct xfs_scrub *sc = priv; in xrep_agf_check_agfl_block()
117 struct xfs_scrub *sc, in xrep_check_btree_root()
138 struct xfs_scrub *sc, in xrep_agf_find_btrees()
179 struct xfs_scrub *sc, in xrep_agf_init_header()
206 struct xfs_scrub *sc, in xrep_agf_set_roots()
236 struct xfs_scrub *sc, in xrep_agf_calc_from_btrees()
301 struct xfs_scrub *sc, in xrep_agf_commit_new()
334 struct xfs_scrub *sc) in xrep_agf()
[all …]
Drmap.c24 struct xfs_scrub *sc, in xchk_setup_ag_rmapbt()
35 struct xfs_scrub *sc, in xchk_rmapbt_xref_refc()
66 struct xfs_scrub *sc, in xchk_rmapbt_xref()
166 struct xfs_scrub *sc) in xchk_rmapbt()
175 struct xfs_scrub *sc, in xchk_xref_check_owner()
198 struct xfs_scrub *sc, in xchk_xref_is_owned_by()
209 struct xfs_scrub *sc, in xchk_xref_is_not_owned_by()
220 struct xfs_scrub *sc, in xchk_xref_has_no_owner()
Drepair.c41 struct xfs_scrub *sc) in xrep_attempt()
103 struct xfs_scrub *sc) in xrep_probe()
119 struct xfs_scrub *sc) in xrep_roll_ag_trans()
176 struct xfs_scrub *sc) in xrep_calc_ag_resblks()
284 struct xfs_scrub *sc, in xrep_alloc_ag_block()
335 struct xfs_scrub *sc, in xrep_init_btblock()
432 struct xfs_scrub *sc, in xrep_invalidate_blocks()
467 struct xfs_scrub *sc, in xrep_fix_freelist()
487 struct xfs_scrub *sc, in xrep_put_freelist()
521 struct xfs_scrub *sc, in xrep_reap_block()
[all …]
Dinode.c31 struct xfs_scrub *sc, in xchk_setup_inode()
70 struct xfs_scrub *sc, in xchk_inode_extsize()
92 struct xfs_scrub *sc, in xchk_inode_cowextsize()
111 struct xfs_scrub *sc, in xchk_inode_flags()
156 struct xfs_scrub *sc, in xchk_inode_flags2()
200 struct xfs_scrub *sc, in xchk_dinode()
420 struct xfs_scrub *sc, in xchk_inode_xref_finobt()
463 struct xfs_scrub *sc, in xchk_inode_xref_bmap()
497 struct xfs_scrub *sc, in xchk_inode_xref()
532 struct xfs_scrub *sc, in xchk_inode_check_reflink_iflag()
[all …]
Drtbitmap.c22 struct xfs_scrub *sc, in xchk_setup_rt()
47 struct xfs_scrub *sc = priv; in xchk_rtbitmap_rec()
64 struct xfs_scrub *sc) in xchk_rtbitmap()
84 struct xfs_scrub *sc) in xchk_rtsummary()
121 struct xfs_scrub *sc, in xchk_xref_is_used_rt_space()
Dialloc.c32 struct xfs_scrub *sc, in xchk_setup_ag_iallocbt()
58 struct xfs_scrub *sc, in xchk_iallocbt_chunk_xref_other()
83 struct xfs_scrub *sc, in xchk_iallocbt_chunk_xref()
513 struct xfs_scrub *sc, in xchk_iallocbt_xref_rmap_btreeblks()
551 struct xfs_scrub *sc, in xchk_iallocbt_xref_rmap_inodes()
575 struct xfs_scrub *sc, in xchk_iallocbt()
609 struct xfs_scrub *sc) in xchk_inobt()
616 struct xfs_scrub *sc) in xchk_finobt()
624 struct xfs_scrub *sc, in xchk_xref_inode_check()
646 struct xfs_scrub *sc, in xchk_xref_is_not_inode_chunk()
[all …]
Dquota.c23 struct xfs_scrub *sc) in xchk_quota_to_dqtype()
40 struct xfs_scrub *sc, in xchk_setup_quota()
68 struct xfs_scrub *sc;
80 struct xfs_scrub *sc = sqi->sc; in xchk_quota_item()
187 struct xfs_scrub *sc) in xchk_quota_data_fork()
226 struct xfs_scrub *sc) in xchk_quota()
Drefcount.c22 struct xfs_scrub *sc, in xchk_setup_ag_refcountbt()
72 struct xfs_scrub *sc;
269 struct xfs_scrub *sc, in xchk_refcountbt_xref_rmap()
316 struct xfs_scrub *sc, in xchk_refcountbt_xref()
372 struct xfs_scrub *sc, in xchk_refcount_xref_rmap()
405 struct xfs_scrub *sc) in xchk_refcountbt()
423 struct xfs_scrub *sc, in xchk_xref_is_cow_staging()
469 struct xfs_scrub *sc, in xchk_xref_is_not_shared()
Dagheader.c25 struct xfs_scrub *sc, in xchk_superblock_xref()
60 struct xfs_scrub *sc) in xchk_superblock()
359 struct xfs_scrub *sc) in xchk_agf_xref_freeblks()
379 struct xfs_scrub *sc) in xchk_agf_xref_cntbt()
411 struct xfs_scrub *sc) in xchk_agf_xref_btreeblks()
457 struct xfs_scrub *sc) in xchk_agf_xref_refcblks()
476 struct xfs_scrub *sc) in xchk_agf_xref()
506 struct xfs_scrub *sc) in xchk_agf()
604 struct xfs_scrub *sc;
610 struct xfs_scrub *sc, in xchk_agfl_block_xref()
[all …]
Dbmap.c29 struct xfs_scrub *sc, in xchk_setup_inode_bmap()
92 struct xfs_scrub *sc;
444 struct xfs_scrub *sc, in xchk_bmap_btree()
473 struct xfs_scrub *sc;
488 struct xfs_scrub *sc = sbcri->sc; in xchk_bmap_check_rmap()
552 struct xfs_scrub *sc, in xchk_bmap_check_ag_rmaps()
586 struct xfs_scrub *sc, in xchk_bmap_check_rmaps()
643 struct xfs_scrub *sc, in xchk_bmap()
751 struct xfs_scrub *sc) in xchk_bmap_data()
759 struct xfs_scrub *sc) in xchk_bmap_attr()
[all …]
Dtrace.h7 #define TRACE_SYSTEM xfs_scrub
129 TP_PROTO(struct xfs_scrub *sc, xfs_agnumber_t agno,
158 TP_PROTO(struct xfs_scrub *sc, int whichfork,
190 TP_PROTO(struct xfs_scrub *sc, xfs_daddr_t daddr, void *ret_ip),
224 TP_PROTO(struct xfs_scrub *sc, xfs_daddr_t daddr, \
233 TP_PROTO(struct xfs_scrub *sc, xfs_ino_t ino, void *ret_ip),
256 TP_PROTO(struct xfs_scrub *sc, xfs_ino_t ino, \
265 TP_PROTO(struct xfs_scrub *sc, int whichfork,
295 TP_PROTO(struct xfs_scrub *sc, int whichfork, \
303 TP_PROTO(struct xfs_scrub *sc, void *ret_ip),
[all …]
Dfscounters.c64 struct xfs_scrub *sc) in xchk_fscount_warmup()
122 struct xfs_scrub *sc, in xchk_setup_fscounters()
158 struct xfs_scrub *sc, in xchk_fscount_aggregate_agcounts()
257 struct xfs_scrub *sc, in xchk_fscount_within_range()
304 struct xfs_scrub *sc) in xchk_fscounters()
Dhealth.h10 void xchk_update_health(struct xfs_scrub *sc);
11 bool xchk_ag_btree_healthy_enough(struct xfs_scrub *sc, struct xfs_perag *pag,
Dparent.c23 struct xfs_scrub *sc, in xchk_setup_parent()
60 struct xfs_scrub *sc, in xchk_parent_count_parent_dentries()
116 struct xfs_scrub *sc, in xchk_parent_validate()
250 struct xfs_scrub *sc) in xchk_parent()
Dscrub.c135 struct xfs_scrub *sc) in xchk_probe()
150 struct xfs_scrub *sc, in xchk_teardown()
429 static inline void xchk_postmortem(struct xfs_scrub *sc) in xchk_postmortem()
442 static inline void xchk_postmortem(struct xfs_scrub *sc) in xchk_postmortem()
461 struct xfs_scrub sc = { in xfs_scrub_metadata()
Dattr.c30 struct xfs_scrub *sc, in xchk_setup_xattr_buf()
72 struct xfs_scrub *sc, in xchk_setup_xattr()
95 struct xfs_scrub *sc;
187 struct xfs_scrub *sc, in xchk_xattr_set_map()
215 struct xfs_scrub *sc, in xchk_xattr_check_freemap()
473 struct xfs_scrub *sc) in xchk_xattr()
Ddabtree.h16 struct xfs_scrub *sc;
41 int xchk_da_btree(struct xfs_scrub *sc, int whichfork,
Ddir.c25 struct xfs_scrub *sc, in xchk_setup_directory()
39 struct xfs_scrub *sc;
291 struct xfs_scrub *sc, in xchk_directory_check_free_entry()
316 struct xfs_scrub *sc, in xchk_directory_data_bestfree()
457 struct xfs_scrub *sc, in xchk_directory_check_freesp()
476 struct xfs_scrub *sc, in xchk_directory_leaf1_bestfree()
574 struct xfs_scrub *sc, in xchk_directory_free_bestfree()
628 struct xfs_scrub *sc) in xchk_directory_blocks()
772 struct xfs_scrub *sc) in xchk_directory()

12