Searched refs:f2fs_sb_info (Results 1 – 6 of 6) sorted by relevance
/external/f2fs-tools/fsck/ |
D | fsck.h | 23 struct f2fs_sb_info sbi; 81 extern void fsck_chk_orphan_node(struct f2fs_sb_info *); 82 extern int fsck_chk_node_blk(struct f2fs_sb_info *, struct f2fs_inode *, u32, 84 extern void fsck_chk_inode_blk(struct f2fs_sb_info *, u32, enum FILE_TYPE, 86 extern int fsck_chk_dnode_blk(struct f2fs_sb_info *, struct f2fs_inode *, 89 extern int fsck_chk_idnode_blk(struct f2fs_sb_info *, struct f2fs_inode *, 91 extern int fsck_chk_didnode_blk(struct f2fs_sb_info *, struct f2fs_inode *, 93 extern int fsck_chk_data_blk(struct f2fs_sb_info *sbi, u32, u32 *, u32 *, 95 extern int fsck_chk_dentry_blk(struct f2fs_sb_info *, u32, u32 *, u32 *, int); 96 int fsck_chk_inline_dentries(struct f2fs_sb_info *, struct f2fs_node *, [all …]
|
D | f2fs.h | 126 struct f2fs_sb_info { struct 165 static inline struct f2fs_super_block *F2FS_RAW_SUPER(struct f2fs_sb_info *sbi) in F2FS_RAW_SUPER() argument 170 static inline struct f2fs_checkpoint *F2FS_CKPT(struct f2fs_sb_info *sbi) in F2FS_CKPT() 175 static inline struct f2fs_fsck *F2FS_FSCK(struct f2fs_sb_info *sbi) in F2FS_FSCK() 180 static inline struct f2fs_nm_info *NM_I(struct f2fs_sb_info *sbi) in NM_I() 185 static inline struct f2fs_sm_info *SM_I(struct f2fs_sb_info *sbi) in SM_I() 190 static inline struct sit_info *SIT_I(struct f2fs_sb_info *sbi) in SIT_I() 206 static inline unsigned long __bitmap_size(struct f2fs_sb_info *sbi, int flag) in __bitmap_size() 219 static inline void *__bitmap_ptr(struct f2fs_sb_info *sbi, int flag) in __bitmap_ptr() 241 static inline block_t __start_cp_addr(struct f2fs_sb_info *sbi) in __start_cp_addr() [all …]
|
D | mount.c | 101 void print_raw_sb_info(struct f2fs_sb_info *sbi) in print_raw_sb_info() 150 void print_ckpt_info(struct f2fs_sb_info *sbi) in print_ckpt_info() 239 int validate_super_block(struct f2fs_sb_info *sbi, int block) in validate_super_block() 292 int init_sb_info(struct f2fs_sb_info *sbi) in init_sb_info() 315 void *validate_checkpoint(struct f2fs_sb_info *sbi, block_t cp_addr, in validate_checkpoint() 372 int get_valid_checkpoint(struct f2fs_sb_info *sbi) in get_valid_checkpoint() 443 int sanity_check_ckpt(struct f2fs_sb_info *sbi) in sanity_check_ckpt() 462 int init_node_manager(struct f2fs_sb_info *sbi) in init_node_manager() 494 int build_node_manager(struct f2fs_sb_info *sbi) in build_node_manager() 508 int build_sit_info(struct f2fs_sb_info *sbi) in build_sit_info() [all …]
|
D | fsck.c | 16 static inline int f2fs_set_main_bitmap(struct f2fs_sb_info *sbi, u32 blk, 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_test_sit_bitmap(struct f2fs_sb_info *sbi, u32 blk) in f2fs_test_sit_bitmap() 55 static int add_into_hard_link_list(struct f2fs_sb_info *sbi, in add_into_hard_link_list() 95 static int find_and_dec_hard_link_list(struct f2fs_sb_info *sbi, u32 nid) in find_and_dec_hard_link_list() 127 static int is_valid_ssa_node_blk(struct f2fs_sb_info *sbi, u32 nid, in is_valid_ssa_node_blk() 158 static int is_valid_ssa_data_blk(struct f2fs_sb_info *sbi, u32 blk_addr, in is_valid_ssa_data_blk() 192 static int sanity_check_nid(struct f2fs_sb_info *sbi, u32 nid, in sanity_check_nid() 285 static int fsck_chk_xattr_blk(struct f2fs_sb_info *sbi, u32 ino, in fsck_chk_xattr_blk() 313 int fsck_chk_node_blk(struct f2fs_sb_info *sbi, struct f2fs_inode *inode, in fsck_chk_node_blk() [all …]
|
D | dump.c | 25 void sit_dump(struct f2fs_sb_info *sbi, int start_sit, int end_sit) in sit_dump() 66 void ssa_dump(struct f2fs_sb_info *sbi, int start_ssa, int end_ssa) in ssa_dump() 139 static void dump_node_blk(struct f2fs_sb_info *sbi, int ntype, in dump_node_blk() 190 static void dump_inode_blk(struct f2fs_sb_info *sbi, u32 nid, in dump_inode_blk() 227 void dump_file(struct f2fs_sb_info *sbi, struct node_info *ni, in dump_file() 270 void dump_node(struct f2fs_sb_info *sbi, nid_t nid) in dump_node() 374 int dump_info_from_blkaddr(struct f2fs_sb_info *sbi, u32 blk_addr) in dump_info_from_blkaddr()
|
D | main.c | 141 static void do_fsck(struct f2fs_sb_info *sbi) in do_fsck() 157 static void do_dump(struct f2fs_sb_info *sbi) in do_dump() 202 struct f2fs_sb_info *sbi; in main()
|