Lines Matching defs:sbi
36 static int get_device_idx(struct f2fs_sb_info *sbi, uint32_t segno) in get_device_idx()
50 static int get_zone_idx_from_dev(struct f2fs_sb_info *sbi, in get_zone_idx_from_dev()
59 bool is_usable_seg(struct f2fs_sb_info *sbi, unsigned int segno) in is_usable_seg()
79 unsigned int get_usable_seg_count(struct f2fs_sb_info *sbi) in get_usable_seg_count()
92 bool is_usable_seg(struct f2fs_sb_info *UNUSED(sbi), unsigned int UNUSED(segno)) in is_usable_seg()
97 unsigned int get_usable_seg_count(struct f2fs_sb_info *sbi) in get_usable_seg_count()
104 u32 get_free_segments(struct f2fs_sb_info *sbi) in get_free_segments()
118 void update_free_segments(struct f2fs_sb_info *sbi) in update_free_segments()
236 void print_inode_info(struct f2fs_sb_info *sbi, in print_inode_info()
347 void print_node_info(struct f2fs_sb_info *sbi, in print_node_info()
432 void print_ckpt_info(struct f2fs_sb_info *sbi) in print_ckpt_info()
586 bool f2fs_is_valid_blkaddr(struct f2fs_sb_info *sbi, in f2fs_is_valid_blkaddr()
624 int f2fs_ra_meta_pages(struct f2fs_sb_info *sbi, block_t start, int nrpages, in f2fs_ra_meta_pages()
943 static int check_and_set_one_feature(struct f2fs_sb_info *sbi, int feature) in check_and_set_one_feature()
954 static void check_and_set_features(struct f2fs_sb_info *sbi, enum SB_ADDR sb_addr) in check_and_set_features()
983 int validate_super_block(struct f2fs_sb_info *sbi, enum SB_ADDR sb_addr) in validate_super_block()
1071 int init_sb_info(struct f2fs_sb_info *sbi) in init_sb_info()
1171 void *validate_checkpoint(struct f2fs_sb_info *sbi, block_t cp_addr, in validate_checkpoint()
1210 int get_valid_checkpoint(struct f2fs_sb_info *sbi) in get_valid_checkpoint()
1311 int sanity_check_ckpt(struct f2fs_sb_info *sbi) in sanity_check_ckpt()
1425 pgoff_t current_nat_addr(struct f2fs_sb_info *sbi, nid_t start, int *pack) in current_nat_addr()
1451 static int f2fs_early_init_nid_bitmap(struct f2fs_sb_info *sbi) in f2fs_early_init_nid_bitmap()
1504 static int f2fs_late_init_nid_bitmap(struct f2fs_sb_info *sbi) in f2fs_late_init_nid_bitmap()
1557 void write_nat_bits(struct f2fs_sb_info *sbi, in write_nat_bits()
1630 static int check_nat_bits(struct f2fs_sb_info *sbi, in check_nat_bits()
1709 int init_node_manager(struct f2fs_sb_info *sbi) in init_node_manager()
1742 int build_node_manager(struct f2fs_sb_info *sbi) in build_node_manager()
1756 int build_sit_info(struct f2fs_sb_info *sbi) in build_sit_info()
1836 void reset_curseg(struct f2fs_sb_info *sbi, int type) in reset_curseg()
1853 static void read_compacted_summaries(struct f2fs_sb_info *sbi) in read_compacted_summaries()
1907 static void restore_node_summary(struct f2fs_sb_info *sbi, in restore_node_summary()
1932 static void read_normal_summaries(struct f2fs_sb_info *sbi, int type) in read_normal_summaries()
1971 void update_sum_entry(struct f2fs_sb_info *sbi, block_t blk_addr, in update_sum_entry()
2002 static void restore_curseg_summaries(struct f2fs_sb_info *sbi) in restore_curseg_summaries()
2015 static int build_curseg(struct f2fs_sb_info *sbi) in build_curseg()
2066 static inline void check_seg_range(struct f2fs_sb_info *sbi, unsigned int segno) in check_seg_range()
2072 static inline block_t current_sit_addr(struct f2fs_sb_info *sbi, in current_sit_addr()
2088 void get_current_sit_page(struct f2fs_sb_info *sbi, in get_current_sit_page()
2096 void rewrite_current_sit_page(struct f2fs_sb_info *sbi, in rewrite_current_sit_page()
2104 void check_block_count(struct f2fs_sb_info *sbi, in check_block_count()
2144 void seg_info_from_raw_sit(struct f2fs_sb_info *sbi, struct seg_entry *se, in seg_info_from_raw_sit()
2156 struct seg_entry *get_seg_entry(struct f2fs_sb_info *sbi, in get_seg_entry()
2163 unsigned short get_seg_vblocks(struct f2fs_sb_info *sbi, struct seg_entry *se) in get_seg_vblocks()
2171 unsigned char *get_seg_bitmap(struct f2fs_sb_info *sbi, struct seg_entry *se) in get_seg_bitmap()
2179 unsigned char get_seg_type(struct f2fs_sb_info *sbi, struct seg_entry *se) in get_seg_type()
2187 struct f2fs_summary_block *get_sum_block(struct f2fs_sb_info *sbi, in get_sum_block()
2243 int get_sum_entry(struct f2fs_sb_info *sbi, u32 blk_addr, in get_sum_entry()
2262 static void get_nat_entry(struct f2fs_sb_info *sbi, nid_t nid, in get_nat_entry()
2287 void update_data_blkaddr(struct f2fs_sb_info *sbi, nid_t nid, in update_data_blkaddr()
2339 void update_nat_blkaddr(struct f2fs_sb_info *sbi, nid_t ino, in update_nat_blkaddr()
2367 void get_node_info(struct f2fs_sb_info *sbi, nid_t nid, struct node_info *ni) in get_node_info()
2383 static int build_sit_entries(struct f2fs_sb_info *sbi) in build_sit_entries()
2450 static int early_build_segment_manager(struct f2fs_sb_info *sbi) in early_build_segment_manager()
2480 static int late_build_segment_manager(struct f2fs_sb_info *sbi) in late_build_segment_manager()
2494 void build_sit_area_bitmap(struct f2fs_sb_info *sbi) in build_sit_area_bitmap()
2540 void rewrite_sit_area_bitmap(struct f2fs_sb_info *sbi) in rewrite_sit_area_bitmap()
2591 static int flush_sit_journal_entries(struct f2fs_sb_info *sbi) in flush_sit_journal_entries()
2625 static int flush_nat_journal_entries(struct f2fs_sb_info *sbi) in flush_nat_journal_entries()
2662 void flush_journal_entries(struct f2fs_sb_info *sbi) in flush_journal_entries()
2671 void flush_sit_entries(struct f2fs_sb_info *sbi) in flush_sit_entries()
2700 int relocate_curseg_offset(struct f2fs_sb_info *sbi, int type) in relocate_curseg_offset()
2727 void set_section_type(struct f2fs_sb_info *sbi, unsigned int segno, int type) in set_section_type()
2743 static bool write_pointer_at_zone_start(struct f2fs_sb_info *sbi, in write_pointer_at_zone_start()
2779 static bool write_pointer_at_zone_start(struct f2fs_sb_info *UNUSED(sbi), in write_pointer_at_zone_start()
2787 int find_next_free_block(struct f2fs_sb_info *sbi, u64 *to, int left, in find_next_free_block()
2855 static void move_one_curseg_info(struct f2fs_sb_info *sbi, u64 from, int left, in move_one_curseg_info()
2900 void move_curseg_info(struct f2fs_sb_info *sbi, u64 from, int left) in move_curseg_info()
2909 void update_curseg_info(struct f2fs_sb_info *sbi, int type) in update_curseg_info()
2916 void zero_journal_entries(struct f2fs_sb_info *sbi) in zero_journal_entries()
2924 void write_curseg_info(struct f2fs_sb_info *sbi) in write_curseg_info()
2945 int lookup_nat_in_journal(struct f2fs_sb_info *sbi, u32 nid, in lookup_nat_in_journal()
2963 void nullify_nat_entry(struct f2fs_sb_info *sbi, u32 nid) in nullify_nat_entry()
3006 void duplicate_checkpoint(struct f2fs_sb_info *sbi) in duplicate_checkpoint()
3047 void write_checkpoint(struct f2fs_sb_info *sbi) in write_checkpoint()
3138 void write_checkpoints(struct f2fs_sb_info *sbi) in write_checkpoints()
3148 void build_nat_area_bitmap(struct f2fs_sb_info *sbi) in build_nat_area_bitmap()
3302 static int tune_sb_features(struct f2fs_sb_info *sbi) in tune_sb_features()
3372 static int find_fsync_inode(struct f2fs_sb_info *sbi, struct list_head *head) in find_fsync_inode()
3435 static int do_record_fsync_data(struct f2fs_sb_info *sbi, in do_record_fsync_data()
3516 static int traverse_dnodes(struct f2fs_sb_info *sbi, in traverse_dnodes()
3563 static int record_fsync_data(struct f2fs_sb_info *sbi) in record_fsync_data()
3587 int f2fs_do_mount(struct f2fs_sb_info *sbi) in f2fs_do_mount()
3689 void f2fs_do_umount(struct f2fs_sb_info *sbi) in f2fs_do_umount()
3720 int f2fs_sparse_initialize_meta(struct f2fs_sb_info *sbi) in f2fs_sparse_initialize_meta()
3786 int f2fs_sparse_initialize_meta(struct f2fs_sb_info *sbi) { return 0; } in f2fs_sparse_initialize_meta()