/linux-4.19.296/fs/xfs/scrub/ |
D | scrub.h | 9 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 73 int xchk_tester(struct xfs_scrub *sc); argument 74 int xchk_superblock(struct xfs_scrub *sc); 75 int xchk_agf(struct xfs_scrub *sc); 76 int xchk_agfl(struct xfs_scrub *sc); 77 int xchk_agi(struct xfs_scrub *sc); [all …]
|
D | common.h | 16 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_block_set_corrupt(struct xfs_scrub *sc, 51 void xchk_ino_set_corrupt(struct xfs_scrub *sc, xfs_ino_t ino); [all …]
|
D | repair.h | 9 static inline int xrep_notsupported(struct xfs_scrub *sc) in xrep_notsupported() 18 int xrep_attempt(struct xfs_inode *ip, struct xfs_scrub *sc, bool *fixed); 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, struct xfs_owner_info *oinfo, 26 int xrep_init_btblock(struct xfs_scrub *sc, xfs_fsblock_t fsb, 32 int xrep_fix_freelist(struct xfs_scrub *sc, bool can_shrink); 33 int xrep_invalidate_blocks(struct xfs_scrub *sc, struct xfs_bitmap *btlist); 34 int xrep_reap_extents(struct xfs_scrub *sc, struct xfs_bitmap *exlist, 52 int xrep_find_ag_btree_roots(struct xfs_scrub *sc, struct xfs_buf *agf_bp, [all …]
|
D | common.c | 72 struct xfs_scrub *sc, in __xchk_process_error() 102 struct xfs_scrub *sc, in xchk_process_error() 113 struct xfs_scrub *sc, in xchk_xref_process_error() 125 struct xfs_scrub *sc, in __xchk_fblock_process_error() 155 struct xfs_scrub *sc, in xchk_fblock_process_error() 166 struct xfs_scrub *sc, in xchk_fblock_xref_process_error() 190 struct xfs_scrub *sc, in xchk_block_set_preen() 204 struct xfs_scrub *sc, in xchk_ino_set_preen() 214 struct xfs_scrub *sc, in xchk_block_set_corrupt() 224 struct xfs_scrub *sc, in xchk_block_xref_set_corrupt() [all …]
|
D | btree.h | 12 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,
|
D | alloc.c | 31 struct xfs_scrub *sc, in xchk_setup_ag_allocbt() 44 struct xfs_scrub *sc, in xchk_allocbt_xref_other() 84 struct xfs_scrub *sc, in xchk_allocbt_xref() 125 struct xfs_scrub *sc, in xchk_allocbt() 138 struct xfs_scrub *sc) in xchk_bnobt() 145 struct xfs_scrub *sc) in xchk_cntbt() 153 struct xfs_scrub *sc, in xchk_xref_is_used_space()
|
D | rmap.c | 33 struct xfs_scrub *sc, in xchk_setup_ag_rmapbt() 44 struct xfs_scrub *sc, in xchk_rmapbt_xref_refc() 75 struct xfs_scrub *sc, in xchk_rmapbt_xref() 175 struct xfs_scrub *sc) in xchk_rmapbt() 187 struct xfs_scrub *sc, in xchk_xref_check_owner() 210 struct xfs_scrub *sc, in xchk_xref_is_owned_by() 221 struct xfs_scrub *sc, in xchk_xref_is_not_owned_by() 232 struct xfs_scrub *sc, in xchk_xref_has_no_owner()
|
D | agheader_repair.c | 39 struct xfs_scrub *sc) in xrep_superblock() 68 struct xfs_scrub *sc; 99 struct xfs_scrub *sc = priv; in xrep_agf_check_agfl_block() 122 struct xfs_scrub *sc, in xrep_check_btree_root() 143 struct xfs_scrub *sc, in xrep_agf_find_btrees() 184 struct xfs_scrub *sc, in xrep_agf_init_header() 211 struct xfs_scrub *sc, in xrep_agf_set_roots() 241 struct xfs_scrub *sc, in xrep_agf_calc_from_btrees() 306 struct xfs_scrub *sc, in xrep_agf_commit_new() 339 struct xfs_scrub *sc) in xrep_agf() [all …]
|
D | rtbitmap.c | 29 struct xfs_scrub *sc, in xchk_setup_rt() 54 struct xfs_scrub *sc = priv; in xchk_rtbitmap_rec() 71 struct xfs_scrub *sc) in xchk_rtbitmap() 91 struct xfs_scrub *sc) in xchk_rtsummary() 128 struct xfs_scrub *sc, in xchk_xref_is_used_rt_space()
|
D | ialloc.c | 39 struct xfs_scrub *sc, in xchk_setup_ag_iallocbt() 54 struct xfs_scrub *sc, in xchk_iallocbt_chunk_xref_other() 79 struct xfs_scrub *sc, in xchk_iallocbt_chunk_xref() 366 struct xfs_scrub *sc, in xchk_iallocbt_xref_rmap_btreeblks() 406 struct xfs_scrub *sc, in xchk_iallocbt_xref_rmap_inodes() 430 struct xfs_scrub *sc, in xchk_iallocbt() 462 struct xfs_scrub *sc) in xchk_inobt() 469 struct xfs_scrub *sc) in xchk_finobt() 477 struct xfs_scrub *sc, in xchk_xref_inode_check() 499 struct xfs_scrub *sc, in xchk_xref_is_not_inode_chunk() [all …]
|
D | inode.c | 41 struct xfs_scrub *sc, in xchk_setup_inode() 80 struct xfs_scrub *sc, in xchk_inode_extsize() 102 struct xfs_scrub *sc, in xchk_inode_cowextsize() 121 struct xfs_scrub *sc, in xchk_inode_flags() 166 struct xfs_scrub *sc, in xchk_inode_flags2() 210 struct xfs_scrub *sc, in xchk_dinode() 430 struct xfs_scrub *sc, in xchk_inode_xref_finobt() 473 struct xfs_scrub *sc, in xchk_inode_xref_bmap() 507 struct xfs_scrub *sc, in xchk_inode_xref() 544 struct xfs_scrub *sc, in xchk_inode_check_reflink_iflag() [all …]
|
D | repair.c | 47 struct xfs_scrub *sc, in xrep_attempt() 110 struct xfs_scrub *sc) in xrep_probe() 126 struct xfs_scrub *sc) in xrep_roll_ag_trans() 192 struct xfs_scrub *sc) in xrep_calc_ag_resblks() 300 struct xfs_scrub *sc, in xrep_alloc_ag_block() 351 struct xfs_scrub *sc, in xrep_init_btblock() 448 struct xfs_scrub *sc, in xrep_invalidate_blocks() 483 struct xfs_scrub *sc, in xrep_fix_freelist() 503 struct xfs_scrub *sc, in xrep_put_freelist() 539 struct xfs_scrub *sc, in xrep_reap_block() [all …]
|
D | quota.c | 34 struct xfs_scrub *sc) in xchk_quota_to_dqtype() 51 struct xfs_scrub *sc, in xchk_setup_quota() 79 struct xfs_scrub *sc; 91 struct xfs_scrub *sc = sqi->sc; in xchk_quota_item() 198 struct xfs_scrub *sc) in xchk_quota_data_fork() 237 struct xfs_scrub *sc) in xchk_quota()
|
D | refcount.c | 32 struct xfs_scrub *sc, in xchk_setup_ag_refcountbt() 82 struct xfs_scrub *sc; 279 struct xfs_scrub *sc, in xchk_refcountbt_xref_rmap() 326 struct xfs_scrub *sc, in xchk_refcountbt_xref() 383 struct xfs_scrub *sc, in xchk_refcount_xref_rmap() 418 struct xfs_scrub *sc) in xchk_refcountbt() 438 struct xfs_scrub *sc, in xchk_xref_is_cow_staging() 484 struct xfs_scrub *sc, in xchk_xref_is_not_shared()
|
D | bmap.c | 37 struct xfs_scrub *sc, in xchk_setup_inode_bmap() 100 struct xfs_scrub *sc; 414 struct xfs_scrub *sc, in xchk_bmap_btree() 432 struct xfs_scrub *sc; 447 struct xfs_scrub *sc = sbcri->sc; in xchk_bmap_check_rmap() 511 struct xfs_scrub *sc, in xchk_bmap_check_ag_rmaps() 545 struct xfs_scrub *sc, in xchk_bmap_check_rmaps() 602 struct xfs_scrub *sc, in xchk_bmap() 717 struct xfs_scrub *sc) in xchk_bmap_data() 725 struct xfs_scrub *sc) in xchk_bmap_attr() [all …]
|
D | dabtree.h | 16 struct xfs_scrub *sc; 41 int xchk_da_btree(struct xfs_scrub *sc, int whichfork,
|
D | agheader.c | 32 struct xfs_scrub *sc, in xchk_superblock_xref() 69 struct xfs_scrub *sc) in xchk_superblock() 368 struct xfs_scrub *sc) in xchk_agf_xref_freeblks() 388 struct xfs_scrub *sc) in xchk_agf_xref_cntbt() 420 struct xfs_scrub *sc) in xchk_agf_xref_btreeblks() 466 struct xfs_scrub *sc) in xchk_agf_xref_refcblks() 485 struct xfs_scrub *sc) in xchk_agf_xref() 517 struct xfs_scrub *sc) in xchk_agf() 605 struct xfs_scrub *sc; 611 struct xfs_scrub *sc, in xchk_agfl_block_xref() [all …]
|
D | trace.h | 7 #define TRACE_SYSTEM xfs_scrub 62 TP_PROTO(struct xfs_scrub *sc, xfs_agnumber_t agno, 91 TP_PROTO(struct xfs_scrub *sc, int whichfork, 123 TP_PROTO(struct xfs_scrub *sc, xfs_daddr_t daddr, void *ret_ip), 157 TP_PROTO(struct xfs_scrub *sc, xfs_daddr_t daddr, \ 165 TP_PROTO(struct xfs_scrub *sc, xfs_ino_t ino, void *ret_ip), 188 TP_PROTO(struct xfs_scrub *sc, xfs_ino_t ino, \ 197 TP_PROTO(struct xfs_scrub *sc, int whichfork, 227 TP_PROTO(struct xfs_scrub *sc, int whichfork, \ 235 TP_PROTO(struct xfs_scrub *sc, void *ret_ip), [all …]
|
D | symlink.c | 29 struct xfs_scrub *sc, in xchk_setup_symlink() 44 struct xfs_scrub *sc) in xchk_symlink()
|
D | parent.c | 31 struct xfs_scrub *sc, in xchk_setup_parent() 68 struct xfs_scrub *sc, in xchk_parent_count_parent_dentries() 124 struct xfs_scrub *sc, in xchk_parent_validate() 258 struct xfs_scrub *sc) in xchk_parent()
|
D | scrub.c | 154 struct xfs_scrub *sc) in xchk_probe() 169 struct xfs_scrub *sc, in xchk_teardown() 450 static inline void xchk_postmortem(struct xfs_scrub *sc) in xchk_postmortem() 463 static inline void xchk_postmortem(struct xfs_scrub *sc) in xchk_postmortem() 482 struct xfs_scrub sc; in xfs_scrub_metadata()
|
D | btree.c | 33 struct xfs_scrub *sc, in __xchk_btree_process_error() 68 struct xfs_scrub *sc, in xchk_btree_process_error() 79 struct xfs_scrub *sc, in xchk_btree_xref_process_error() 91 struct xfs_scrub *sc, in __xchk_btree_set_corrupt() 109 struct xfs_scrub *sc, in xchk_btree_set_corrupt() 119 struct xfs_scrub *sc, in xchk_btree_xref_set_corrupt() 595 struct xfs_scrub *sc, in xchk_btree()
|
D | dir.c | 35 struct xfs_scrub *sc, in xchk_setup_directory() 49 struct xfs_scrub *sc; 295 struct xfs_scrub *sc, in xchk_directory_check_free_entry() 320 struct xfs_scrub *sc, in xchk_directory_data_bestfree() 461 struct xfs_scrub *sc, in xchk_directory_check_freesp() 480 struct xfs_scrub *sc, in xchk_directory_leaf1_bestfree() 578 struct xfs_scrub *sc, in xchk_directory_free_bestfree() 632 struct xfs_scrub *sc) in xchk_directory_blocks() 776 struct xfs_scrub *sc) in xchk_directory()
|
D | attr.c | 36 struct xfs_scrub *sc, in xchk_setup_xattr() 60 struct xfs_scrub *sc; 130 struct xfs_scrub *sc, in xchk_xattr_set_map() 158 struct xfs_scrub *sc, in xchk_xattr_check_freemap() 408 struct xfs_scrub *sc) in xchk_xattr()
|
D | dabtree.c | 43 struct xfs_scrub *sc = ds->sc; in xchk_da_process_error() 78 struct xfs_scrub *sc = ds->sc; in xchk_da_set_corrupt() 477 struct xfs_scrub *sc, in xchk_da_btree()
|