Lines Matching defs:sbi
33 static int get_device_idx(struct f2fs_sb_info *sbi, u_int32_t segno) in get_device_idx()
49 static int get_zone_idx_from_dev(struct f2fs_sb_info *sbi, in get_zone_idx_from_dev()
58 bool is_usable_seg(struct f2fs_sb_info *sbi, unsigned int segno) in is_usable_seg()
78 unsigned int get_usable_seg_count(struct f2fs_sb_info *sbi) in get_usable_seg_count()
91 bool is_usable_seg(struct f2fs_sb_info *UNUSED(sbi), unsigned int UNUSED(segno)) in is_usable_seg()
96 unsigned int get_usable_seg_count(struct f2fs_sb_info *sbi) in get_usable_seg_count()
103 u32 get_free_segments(struct f2fs_sb_info *sbi) in get_free_segments()
117 void update_free_segments(struct f2fs_sb_info *sbi) in update_free_segments()
235 void print_inode_info(struct f2fs_sb_info *sbi, in print_inode_info()
346 void print_node_info(struct f2fs_sb_info *sbi, in print_node_info()
431 void print_ckpt_info(struct f2fs_sb_info *sbi) in print_ckpt_info()
590 bool f2fs_is_valid_blkaddr(struct f2fs_sb_info *sbi, in f2fs_is_valid_blkaddr()
628 int f2fs_ra_meta_pages(struct f2fs_sb_info *sbi, block_t start, int nrpages, in f2fs_ra_meta_pages()
947 int validate_super_block(struct f2fs_sb_info *sbi, enum SB_ADDR sb_addr) in validate_super_block()
1000 int init_sb_info(struct f2fs_sb_info *sbi) in init_sb_info()
1098 void *validate_checkpoint(struct f2fs_sb_info *sbi, block_t cp_addr, in validate_checkpoint()
1137 int get_valid_checkpoint(struct f2fs_sb_info *sbi) in get_valid_checkpoint()
1238 int sanity_check_ckpt(struct f2fs_sb_info *sbi) in sanity_check_ckpt()
1352 pgoff_t current_nat_addr(struct f2fs_sb_info *sbi, nid_t start, int *pack) in current_nat_addr()
1378 static int f2fs_early_init_nid_bitmap(struct f2fs_sb_info *sbi) in f2fs_early_init_nid_bitmap()
1431 static int f2fs_late_init_nid_bitmap(struct f2fs_sb_info *sbi) in f2fs_late_init_nid_bitmap()
1484 void write_nat_bits(struct f2fs_sb_info *sbi, in write_nat_bits()
1557 static int check_nat_bits(struct f2fs_sb_info *sbi, in check_nat_bits()
1636 int init_node_manager(struct f2fs_sb_info *sbi) in init_node_manager()
1669 int build_node_manager(struct f2fs_sb_info *sbi) in build_node_manager()
1683 int build_sit_info(struct f2fs_sb_info *sbi) in build_sit_info()
1763 void reset_curseg(struct f2fs_sb_info *sbi, int type) in reset_curseg()
1780 static void read_compacted_summaries(struct f2fs_sb_info *sbi) in read_compacted_summaries()
1834 static void restore_node_summary(struct f2fs_sb_info *sbi, in restore_node_summary()
1859 static void read_normal_summaries(struct f2fs_sb_info *sbi, int type) in read_normal_summaries()
1898 void update_sum_entry(struct f2fs_sb_info *sbi, block_t blk_addr, in update_sum_entry()
1929 static void restore_curseg_summaries(struct f2fs_sb_info *sbi) in restore_curseg_summaries()
1942 static int build_curseg(struct f2fs_sb_info *sbi) in build_curseg()
1993 static inline void check_seg_range(struct f2fs_sb_info *sbi, unsigned int segno) in check_seg_range()
1999 static inline block_t current_sit_addr(struct f2fs_sb_info *sbi, in current_sit_addr()
2015 void get_current_sit_page(struct f2fs_sb_info *sbi, in get_current_sit_page()
2023 void rewrite_current_sit_page(struct f2fs_sb_info *sbi, in rewrite_current_sit_page()
2031 void check_block_count(struct f2fs_sb_info *sbi, in check_block_count()
2071 void seg_info_from_raw_sit(struct f2fs_sb_info *sbi, struct seg_entry *se, in seg_info_from_raw_sit()
2083 struct seg_entry *get_seg_entry(struct f2fs_sb_info *sbi, in get_seg_entry()
2090 unsigned short get_seg_vblocks(struct f2fs_sb_info *sbi, struct seg_entry *se) in get_seg_vblocks()
2098 unsigned char *get_seg_bitmap(struct f2fs_sb_info *sbi, struct seg_entry *se) in get_seg_bitmap()
2106 unsigned char get_seg_type(struct f2fs_sb_info *sbi, struct seg_entry *se) in get_seg_type()
2114 struct f2fs_summary_block *get_sum_block(struct f2fs_sb_info *sbi, in get_sum_block()
2170 int get_sum_entry(struct f2fs_sb_info *sbi, u32 blk_addr, in get_sum_entry()
2189 static void get_nat_entry(struct f2fs_sb_info *sbi, nid_t nid, in get_nat_entry()
2214 void update_data_blkaddr(struct f2fs_sb_info *sbi, nid_t nid, in update_data_blkaddr()
2266 void update_nat_blkaddr(struct f2fs_sb_info *sbi, nid_t ino, in update_nat_blkaddr()
2294 void get_node_info(struct f2fs_sb_info *sbi, nid_t nid, struct node_info *ni) in get_node_info()
2310 static int build_sit_entries(struct f2fs_sb_info *sbi) in build_sit_entries()
2377 static int early_build_segment_manager(struct f2fs_sb_info *sbi) in early_build_segment_manager()
2407 static int late_build_segment_manager(struct f2fs_sb_info *sbi) in late_build_segment_manager()
2421 void build_sit_area_bitmap(struct f2fs_sb_info *sbi) in build_sit_area_bitmap()
2467 void rewrite_sit_area_bitmap(struct f2fs_sb_info *sbi) in rewrite_sit_area_bitmap()
2518 static int flush_sit_journal_entries(struct f2fs_sb_info *sbi) in flush_sit_journal_entries()
2552 static int flush_nat_journal_entries(struct f2fs_sb_info *sbi) in flush_nat_journal_entries()
2589 void flush_journal_entries(struct f2fs_sb_info *sbi) in flush_journal_entries()
2598 void flush_sit_entries(struct f2fs_sb_info *sbi) in flush_sit_entries()
2627 int relocate_curseg_offset(struct f2fs_sb_info *sbi, int type) in relocate_curseg_offset()
2654 void set_section_type(struct f2fs_sb_info *sbi, unsigned int segno, int type) in set_section_type()
2670 static bool write_pointer_at_zone_start(struct f2fs_sb_info *sbi, in write_pointer_at_zone_start()
2706 static bool write_pointer_at_zone_start(struct f2fs_sb_info *UNUSED(sbi), in write_pointer_at_zone_start()
2714 int find_next_free_block(struct f2fs_sb_info *sbi, u64 *to, int left, in find_next_free_block()
2782 static void move_one_curseg_info(struct f2fs_sb_info *sbi, u64 from, int left, in move_one_curseg_info()
2827 void move_curseg_info(struct f2fs_sb_info *sbi, u64 from, int left) in move_curseg_info()
2836 void update_curseg_info(struct f2fs_sb_info *sbi, int type) in update_curseg_info()
2843 void zero_journal_entries(struct f2fs_sb_info *sbi) in zero_journal_entries()
2851 void write_curseg_info(struct f2fs_sb_info *sbi) in write_curseg_info()
2872 int lookup_nat_in_journal(struct f2fs_sb_info *sbi, u32 nid, in lookup_nat_in_journal()
2890 void nullify_nat_entry(struct f2fs_sb_info *sbi, u32 nid) in nullify_nat_entry()
2933 void duplicate_checkpoint(struct f2fs_sb_info *sbi) in duplicate_checkpoint()
2974 void write_checkpoint(struct f2fs_sb_info *sbi) in write_checkpoint()
3065 void write_checkpoints(struct f2fs_sb_info *sbi) in write_checkpoints()
3075 void build_nat_area_bitmap(struct f2fs_sb_info *sbi) in build_nat_area_bitmap()
3229 static int tune_sb_features(struct f2fs_sb_info *sbi) in tune_sb_features()
3299 static int find_fsync_inode(struct f2fs_sb_info *sbi, struct list_head *head) in find_fsync_inode()
3362 static int do_record_fsync_data(struct f2fs_sb_info *sbi, in do_record_fsync_data()
3443 static int traverse_dnodes(struct f2fs_sb_info *sbi, in traverse_dnodes()
3490 static int record_fsync_data(struct f2fs_sb_info *sbi) in record_fsync_data()
3514 int f2fs_do_mount(struct f2fs_sb_info *sbi) in f2fs_do_mount()
3616 void f2fs_do_umount(struct f2fs_sb_info *sbi) in f2fs_do_umount()
3647 int f2fs_sparse_initialize_meta(struct f2fs_sb_info *sbi) in f2fs_sparse_initialize_meta()
3713 int f2fs_sparse_initialize_meta(struct f2fs_sb_info *sbi) { return 0; } in f2fs_sparse_initialize_meta()