Lines Matching refs:f2fs_sb_info
37 static int get_device_idx(struct f2fs_sb_info *sbi, uint32_t segno) in get_device_idx()
51 static int get_zone_idx_from_dev(struct f2fs_sb_info *sbi, in get_zone_idx_from_dev()
60 bool is_usable_seg(struct f2fs_sb_info *sbi, unsigned int segno) in is_usable_seg()
80 unsigned int get_usable_seg_count(struct f2fs_sb_info *sbi) in get_usable_seg_count()
93 bool is_usable_seg(struct f2fs_sb_info *UNUSED(sbi), unsigned int UNUSED(segno)) in is_usable_seg()
98 unsigned int get_usable_seg_count(struct f2fs_sb_info *sbi) in get_usable_seg_count()
105 u32 get_free_segments(struct f2fs_sb_info *sbi) in get_free_segments()
119 void update_free_segments(struct f2fs_sb_info *sbi) in update_free_segments()
237 void print_inode_info(struct f2fs_sb_info *sbi, in print_inode_info()
348 void print_node_info(struct f2fs_sb_info *sbi, in print_node_info()
433 void print_ckpt_info(struct f2fs_sb_info *sbi) in print_ckpt_info()
651 bool f2fs_is_valid_blkaddr(struct f2fs_sb_info *sbi, in f2fs_is_valid_blkaddr()
683 static inline block_t current_sit_addr(struct f2fs_sb_info *sbi,
689 int f2fs_ra_meta_pages(struct f2fs_sb_info *sbi, block_t start, int nrpages, in f2fs_ra_meta_pages()
1002 static int check_and_set_one_feature(struct f2fs_sb_info *sbi, int feature) in check_and_set_one_feature()
1013 static void check_and_set_features(struct f2fs_sb_info *sbi, enum SB_ADDR sb_addr) in check_and_set_features()
1042 int validate_super_block(struct f2fs_sb_info *sbi, enum SB_ADDR sb_addr) in validate_super_block()
1093 int init_sb_info(struct f2fs_sb_info *sbi) in init_sb_info()
1201 void *validate_checkpoint(struct f2fs_sb_info *sbi, block_t cp_addr, in validate_checkpoint()
1240 int get_valid_checkpoint(struct f2fs_sb_info *sbi) in get_valid_checkpoint()
1368 int sanity_check_ckpt(struct f2fs_sb_info *sbi) in sanity_check_ckpt()
1482 pgoff_t current_nat_addr(struct f2fs_sb_info *sbi, nid_t start, int *pack) in current_nat_addr()
1508 static int f2fs_early_init_nid_bitmap(struct f2fs_sb_info *sbi) in f2fs_early_init_nid_bitmap()
1561 static int f2fs_late_init_nid_bitmap(struct f2fs_sb_info *sbi) in f2fs_late_init_nid_bitmap()
1614 void write_nat_bits(struct f2fs_sb_info *sbi, in write_nat_bits()
1687 static int check_nat_bits(struct f2fs_sb_info *sbi, in check_nat_bits()
1766 int init_node_manager(struct f2fs_sb_info *sbi) in init_node_manager()
1799 int build_node_manager(struct f2fs_sb_info *sbi) in build_node_manager()
1813 int build_sit_info(struct f2fs_sb_info *sbi) in build_sit_info()
1893 void reset_curseg(struct f2fs_sb_info *sbi, int type) in reset_curseg()
1910 static void read_compacted_summaries(struct f2fs_sb_info *sbi) in read_compacted_summaries()
1964 static void restore_node_summary(struct f2fs_sb_info *sbi, in restore_node_summary()
1989 static void read_normal_summaries(struct f2fs_sb_info *sbi, int type) in read_normal_summaries()
2028 void update_sum_entry(struct f2fs_sb_info *sbi, block_t blk_addr, in update_sum_entry()
2059 static void restore_curseg_summaries(struct f2fs_sb_info *sbi) in restore_curseg_summaries()
2072 static int build_curseg(struct f2fs_sb_info *sbi) in build_curseg()
2123 static inline void check_seg_range(struct f2fs_sb_info *sbi, unsigned int segno) in check_seg_range()
2129 static inline block_t current_sit_addr(struct f2fs_sb_info *sbi, in current_sit_addr()
2145 void get_current_sit_page(struct f2fs_sb_info *sbi, in get_current_sit_page()
2153 void rewrite_current_sit_page(struct f2fs_sb_info *sbi, in rewrite_current_sit_page()
2161 void check_block_count(struct f2fs_sb_info *sbi, in check_block_count()
2201 void seg_info_from_raw_sit(struct f2fs_sb_info *sbi, struct seg_entry *se, in seg_info_from_raw_sit()
2213 struct seg_entry *get_seg_entry(struct f2fs_sb_info *sbi, in get_seg_entry()
2220 unsigned short get_seg_vblocks(struct f2fs_sb_info *sbi, struct seg_entry *se) in get_seg_vblocks()
2228 unsigned char *get_seg_bitmap(struct f2fs_sb_info *sbi, struct seg_entry *se) in get_seg_bitmap()
2236 unsigned char get_seg_type(struct f2fs_sb_info *sbi, struct seg_entry *se) in get_seg_type()
2244 struct f2fs_summary_block *get_sum_block(struct f2fs_sb_info *sbi, in get_sum_block()
2300 int get_sum_entry(struct f2fs_sb_info *sbi, u32 blk_addr, in get_sum_entry()
2319 static void get_nat_entry(struct f2fs_sb_info *sbi, nid_t nid, in get_nat_entry()
2344 void update_data_blkaddr(struct f2fs_sb_info *sbi, nid_t nid, in update_data_blkaddr()
2396 void update_nat_blkaddr(struct f2fs_sb_info *sbi, nid_t ino, in update_nat_blkaddr()
2424 void get_node_info(struct f2fs_sb_info *sbi, nid_t nid, struct node_info *ni) in get_node_info()
2440 static int build_sit_entries(struct f2fs_sb_info *sbi) in build_sit_entries()
2507 static int early_build_segment_manager(struct f2fs_sb_info *sbi) in early_build_segment_manager()
2537 static int late_build_segment_manager(struct f2fs_sb_info *sbi) in late_build_segment_manager()
2551 void build_sit_area_bitmap(struct f2fs_sb_info *sbi) in build_sit_area_bitmap()
2597 void rewrite_sit_area_bitmap(struct f2fs_sb_info *sbi) in rewrite_sit_area_bitmap()
2648 static int flush_sit_journal_entries(struct f2fs_sb_info *sbi) in flush_sit_journal_entries()
2682 static int flush_nat_journal_entries(struct f2fs_sb_info *sbi) in flush_nat_journal_entries()
2719 void flush_journal_entries(struct f2fs_sb_info *sbi) in flush_journal_entries()
2728 void flush_sit_entries(struct f2fs_sb_info *sbi) in flush_sit_entries()
2757 int relocate_curseg_offset(struct f2fs_sb_info *sbi, int type) in relocate_curseg_offset()
2784 void set_section_type(struct f2fs_sb_info *sbi, unsigned int segno, int type) in set_section_type()
2800 static bool write_pointer_at_zone_start(struct f2fs_sb_info *sbi, in write_pointer_at_zone_start()
2836 static bool write_pointer_at_zone_start(struct f2fs_sb_info *UNUSED(sbi), in write_pointer_at_zone_start()
2844 int find_next_free_block(struct f2fs_sb_info *sbi, u64 *to, int left, in find_next_free_block()
2912 static void move_one_curseg_info(struct f2fs_sb_info *sbi, u64 from, int left, in move_one_curseg_info()
2965 void move_curseg_info(struct f2fs_sb_info *sbi, u64 from, int left) in move_curseg_info()
2974 void update_curseg_info(struct f2fs_sb_info *sbi, int type) in update_curseg_info()
2981 void zero_journal_entries(struct f2fs_sb_info *sbi) in zero_journal_entries()
2989 void write_curseg_info(struct f2fs_sb_info *sbi) in write_curseg_info()
3010 int lookup_nat_in_journal(struct f2fs_sb_info *sbi, u32 nid, in lookup_nat_in_journal()
3028 void nullify_nat_entry(struct f2fs_sb_info *sbi, u32 nid) in nullify_nat_entry()
3071 void duplicate_checkpoint(struct f2fs_sb_info *sbi) in duplicate_checkpoint()
3112 void write_checkpoint(struct f2fs_sb_info *sbi) in write_checkpoint()
3203 void write_checkpoints(struct f2fs_sb_info *sbi) in write_checkpoints()
3213 void build_nat_area_bitmap(struct f2fs_sb_info *sbi) in build_nat_area_bitmap()
3367 static int tune_sb_features(struct f2fs_sb_info *sbi) in tune_sb_features()
3437 static int find_fsync_inode(struct f2fs_sb_info *sbi, struct list_head *head) in find_fsync_inode()
3500 static int do_record_fsync_data(struct f2fs_sb_info *sbi, in do_record_fsync_data()
3581 static int traverse_dnodes(struct f2fs_sb_info *sbi, in traverse_dnodes()
3628 static int record_fsync_data(struct f2fs_sb_info *sbi) in record_fsync_data()
3652 int f2fs_do_mount(struct f2fs_sb_info *sbi) in f2fs_do_mount()
3802 void f2fs_do_umount(struct f2fs_sb_info *sbi) in f2fs_do_umount()
3833 int f2fs_sparse_initialize_meta(struct f2fs_sb_info *sbi) in f2fs_sparse_initialize_meta()
3899 int f2fs_sparse_initialize_meta(struct f2fs_sb_info *sbi) { return 0; } in f2fs_sparse_initialize_meta()