Lines Matching defs:sbi
19 int f2fs_set_main_bitmap(struct f2fs_sb_info *sbi, u32 blk, int type) in f2fs_set_main_bitmap()
40 static inline int f2fs_test_main_bitmap(struct f2fs_sb_info *sbi, u32 blk) in f2fs_test_main_bitmap()
48 static inline int f2fs_clear_main_bitmap(struct f2fs_sb_info *sbi, u32 blk) in f2fs_clear_main_bitmap()
56 static inline int f2fs_test_sit_bitmap(struct f2fs_sb_info *sbi, u32 blk) in f2fs_test_sit_bitmap()
63 int f2fs_set_sit_bitmap(struct f2fs_sb_info *sbi, u32 blk) in f2fs_set_sit_bitmap()
70 static int add_into_hard_link_list(struct f2fs_sb_info *sbi, in add_into_hard_link_list()
111 static int find_and_dec_hard_link_list(struct f2fs_sb_info *sbi, u32 nid) in find_and_dec_hard_link_list()
144 static int is_valid_ssa_node_blk(struct f2fs_sb_info *sbi, u32 nid, in is_valid_ssa_node_blk()
221 static int is_valid_summary(struct f2fs_sb_info *sbi, struct f2fs_summary *sum, in is_valid_summary()
265 static int is_valid_ssa_data_blk(struct f2fs_sb_info *sbi, u32 blk_addr, in is_valid_ssa_data_blk()
385 static int sanity_check_nid(struct f2fs_sb_info *sbi, u32 nid, in sanity_check_nid()
498 int fsck_sanity_check_nid(struct f2fs_sb_info *sbi, u32 nid, in fsck_sanity_check_nid()
506 static int fsck_chk_xattr_blk(struct f2fs_sb_info *sbi, u32 ino, in fsck_chk_xattr_blk()
534 int fsck_chk_node_blk(struct f2fs_sb_info *sbi, struct f2fs_inode *inode, in fsck_chk_node_blk()
644 void fsck_reada_node_block(struct f2fs_sb_info *sbi, u32 nid) in fsck_reada_node_block()
655 void fsck_reada_all_direct_node_blocks(struct f2fs_sb_info *sbi, in fsck_reada_all_direct_node_blocks()
668 void fsck_chk_inode_blk(struct f2fs_sb_info *sbi, u32 nid, in fsck_chk_inode_blk()
1131 int fsck_chk_dnode_blk(struct f2fs_sb_info *sbi, struct f2fs_inode *inode, in fsck_chk_dnode_blk()
1176 int fsck_chk_idnode_blk(struct f2fs_sb_info *sbi, struct f2fs_inode *inode, in fsck_chk_idnode_blk()
1218 int fsck_chk_didnode_blk(struct f2fs_sb_info *sbi, struct f2fs_inode *inode, in fsck_chk_didnode_blk()
1412 static int __chk_dots_dentries(struct f2fs_sb_info *sbi, in __chk_dots_dentries()
1467 static int __chk_dentries(struct f2fs_sb_info *sbi, int casefolded, in __chk_dentries()
1644 int fsck_chk_inline_dentries(struct f2fs_sb_info *sbi, in fsck_chk_inline_dentries()
1674 int fsck_chk_dentry_blk(struct f2fs_sb_info *sbi, int casefolded, u32 blk_addr, in fsck_chk_dentry_blk()
1709 int fsck_chk_data_blk(struct f2fs_sb_info *sbi, int casefolded, in fsck_chk_data_blk()
1753 int fsck_chk_orphan_node(struct f2fs_sb_info *sbi) in fsck_chk_orphan_node()
1826 int fsck_chk_quota_node(struct f2fs_sb_info *sbi) in fsck_chk_quota_node()
1862 int fsck_chk_quota_files(struct f2fs_sb_info *sbi) in fsck_chk_quota_files()
1909 int fsck_chk_meta(struct f2fs_sb_info *sbi) in fsck_chk_meta()
2025 void fsck_chk_checkpoint(struct f2fs_sb_info *sbi) in fsck_chk_checkpoint()
2038 void fsck_init(struct f2fs_sb_info *sbi) in fsck_init()
2066 static void fix_hard_links(struct f2fs_sb_info *sbi) in fix_hard_links()
2101 static void fix_nat_entries(struct f2fs_sb_info *sbi) in fix_nat_entries()
2111 static void flush_curseg_sit_entries(struct f2fs_sb_info *sbi) in flush_curseg_sit_entries()
2138 static void fix_checksum(struct f2fs_sb_info *sbi) in fix_checksum()
2155 static void fix_checkpoint(struct f2fs_sb_info *sbi) in fix_checkpoint()
2246 static void fix_checkpoints(struct f2fs_sb_info *sbi) in fix_checkpoints()
2263 static int last_vblk_off_in_zone(struct f2fs_sb_info *sbi, in last_vblk_off_in_zone()
2286 static int check_curseg_write_pointer(struct f2fs_sb_info *sbi, int type) in check_curseg_write_pointer()
2373 static int check_curseg_write_pointer(struct f2fs_sb_info *UNUSED(sbi), in check_curseg_write_pointer()
2381 int check_curseg_offset(struct f2fs_sb_info *sbi, int type) in check_curseg_offset()
2421 int check_curseg_offsets(struct f2fs_sb_info *sbi) in check_curseg_offsets()
2433 static void fix_curseg_info(struct f2fs_sb_info *sbi) in fix_curseg_info()
2450 int check_sit_types(struct f2fs_sb_info *sbi) in check_sit_types()
2473 static struct f2fs_node *fsck_get_lpf(struct f2fs_sb_info *sbi) in fsck_get_lpf()
2534 static int fsck_do_reconnect_file(struct f2fs_sb_info *sbi, in fsck_do_reconnect_file()
2575 static void fsck_failed_reconnect_file_dnode(struct f2fs_sb_info *sbi, in fsck_failed_reconnect_file_dnode()
2608 static void fsck_failed_reconnect_file_idnode(struct f2fs_sb_info *sbi, in fsck_failed_reconnect_file_idnode()
2638 static void fsck_failed_reconnect_file_didnode(struct f2fs_sb_info *sbi, in fsck_failed_reconnect_file_didnode()
2673 static void fsck_failed_reconnect_file(struct f2fs_sb_info *sbi, nid_t ino) in fsck_failed_reconnect_file()
2749 static int fsck_reconnect_file(struct f2fs_sb_info *sbi) in fsck_reconnect_file()
2840 struct f2fs_sb_info *sbi; member
2848 struct f2fs_sb_info *sbi = wpd->sbi; in chk_and_fix_wp_with_sit() local
2921 static void fix_wp_sit_alignment(struct f2fs_sb_info *sbi) in fix_wp_sit_alignment()
2946 static void fix_wp_sit_alignment(struct f2fs_sb_info *UNUSED(sbi)) in fix_wp_sit_alignment()
2957 void fsck_chk_and_fix_write_pointers(struct f2fs_sb_info *sbi) in fsck_chk_and_fix_write_pointers()
2972 int fsck_chk_curseg_info(struct f2fs_sb_info *sbi) in fsck_chk_curseg_info()
3016 int fsck_verify(struct f2fs_sb_info *sbi) in fsck_verify()
3211 void fsck_free(struct f2fs_sb_info *sbi) in fsck_free()