H A D | tree-checker.c | 51 * Append generic "corrupt leaf/node root=%llu block=%llu slot=%d: " to @fmt. 56 static void generic_err(const struct extent_buffer *eb, int slot, in generic_err() argument 69 "corrupt %s: root=%llu block=%llu slot=%d, %pV", in generic_err() 71 btrfs_header_owner(eb), btrfs_header_bytenr(eb), slot, &vaf); in generic_err() 81 static void file_extent_err(const struct extent_buffer *eb, int slot, in file_extent_err() argument 89 btrfs_item_key_to_cpu(eb, &key, slot); in file_extent_err() 96 "corrupt %s: root=%llu block=%llu slot=%d ino=%llu file_offset=%llu, %pV", in file_extent_err() 98 btrfs_header_owner(eb), btrfs_header_bytenr(eb), slot, in file_extent_err() 107 #define CHECK_FE_ALIGNED(leaf, slot, fi, name, alignment) \ argument 111 file_extent_err((leaf), (slot), \ 141 dir_item_err(const struct extent_buffer * eb,int slot,const char * fmt,...) dir_item_err() argument 173 check_prev_ino(struct extent_buffer * leaf,struct btrfs_key * key,int slot,struct btrfs_key * prev_key) check_prev_ino() argument 204 check_extent_data_item(struct extent_buffer * leaf,struct btrfs_key * key,int slot,struct btrfs_key * prev_key) check_extent_data_item() argument 344 check_csum_item(struct extent_buffer * leaf,struct btrfs_key * key,int slot,struct btrfs_key * prev_key) check_csum_item() argument 386 inode_item_err(eb,slot,fmt,...) global() argument 390 check_inode_key(struct extent_buffer * leaf,struct btrfs_key * key,int slot) check_inode_key() argument 442 check_root_key(struct extent_buffer * leaf,struct btrfs_key * key,int slot) check_root_key() argument 501 check_dir_item(struct extent_buffer * leaf,struct btrfs_key * key,struct btrfs_key * prev_key,int slot) check_dir_item() argument 637 block_group_err(const struct extent_buffer * eb,int slot,const char * fmt,...) block_group_err() argument 660 check_block_group_item(struct extent_buffer * leaf,struct btrfs_key * key,int slot) check_block_group_item() argument 756 int slot = -1; chunk_err() local 962 check_leaf_chunk_item(struct extent_buffer * leaf,struct btrfs_chunk * chunk,struct btrfs_key * key,int slot) check_leaf_chunk_item() argument 994 dev_item_err(const struct extent_buffer * eb,int slot,const char * fmt,...) dev_item_err() argument 1016 check_dev_item(struct extent_buffer * leaf,struct btrfs_key * key,int slot) check_dev_item() argument 1063 check_inode_item(struct extent_buffer * leaf,struct btrfs_key * key,int slot) check_inode_item() argument 1152 check_root_item(struct extent_buffer * leaf,struct btrfs_key * key,int slot) check_root_item() argument 1240 extent_err(const struct extent_buffer * eb,int slot,const char * fmt,...) extent_err() argument 1283 check_extent_item(struct extent_buffer * leaf,struct btrfs_key * key,int slot,struct btrfs_key * prev_key) check_extent_item() argument 1583 check_simple_keyed_refs(struct extent_buffer * leaf,struct btrfs_key * key,int slot) check_simple_keyed_refs() argument 1614 check_extent_data_ref(struct extent_buffer * leaf,struct btrfs_key * key,int slot) check_extent_data_ref() argument 1669 inode_ref_err(eb,slot,fmt,args...) global() argument 1673 check_inode_ref(struct extent_buffer * leaf,struct btrfs_key * key,struct btrfs_key * prev_key,int slot) check_inode_ref() argument 1723 check_dev_extent_item(const struct extent_buffer * leaf,const struct btrfs_key * key,int slot,struct btrfs_key * prev_key) check_dev_extent_item() argument 1792 check_leaf_item(struct extent_buffer * leaf,struct btrfs_key * key,int slot,struct btrfs_key * prev_key) check_leaf_item() argument 1858 int slot; __btrfs_check_leaf() local 2023 int slot; __btrfs_check_node() local [all...] |