H A D | mount.c | 37 static int get_device_idx(struct f2fs_sb_info *sbi, uint32_t segno) in get_device_idx() argument 43 segno * DEFAULT_BLOCKS_PER_SEGMENT; in get_device_idx() 52 uint32_t segno, uint32_t dev_idx) in get_zone_idx_from_dev() 54 block_t seg_start_blkaddr = START_BLOCK(sbi, segno); in get_zone_idx_from_dev() 60 bool is_usable_seg(struct f2fs_sb_info *sbi, unsigned int segno) in is_usable_seg() argument 62 unsigned int secno = segno / sbi->segs_per_sec; in is_usable_seg() 63 block_t seg_start = START_BLOCK(sbi, segno); in is_usable_seg() 65 unsigned int dev_idx = get_device_idx(sbi, segno); in is_usable_seg() 66 unsigned int zone_idx = get_zone_idx_from_dev(sbi, segno, dev_idx); in is_usable_seg() 93 bool is_usable_seg(struct f2fs_sb_info *UNUSED(sbi), unsigned int UNUSED(segno)) in is_usable_seg() 51 get_zone_idx_from_dev(struct f2fs_sb_info *sbi, uint32_t segno, uint32_t dev_idx) get_zone_idx_from_dev() argument 1964 restore_node_summary(struct f2fs_sb_info *sbi, unsigned int segno, struct f2fs_summary_block *sum_blk) restore_node_summary() argument 1994 unsigned int segno = 0; read_normal_summaries() local 2033 u32 segno, offset; update_sum_entry() local 2077 unsigned int segno; build_curseg() local 2123 check_seg_range(struct f2fs_sb_info *sbi, unsigned int segno) check_seg_range() argument 2129 current_sit_addr(struct f2fs_sb_info *sbi, unsigned int segno) current_sit_addr() argument 2145 get_current_sit_page(struct f2fs_sb_info *sbi, unsigned int segno, struct f2fs_sit_block *sit_blk) get_current_sit_page() argument 2153 rewrite_current_sit_page(struct f2fs_sb_info *sbi, unsigned int segno, struct f2fs_sit_block *sit_blk) rewrite_current_sit_page() argument 2161 check_block_count(struct f2fs_sb_info *sbi, unsigned int segno, struct f2fs_sit_entry *raw_sit) check_block_count() argument 2213 get_seg_entry(struct f2fs_sb_info *sbi, unsigned int segno) get_seg_entry() argument 2244 get_sum_block(struct f2fs_sb_info *sbi, unsigned int segno, int *ret_type) get_sum_block() argument 2304 u32 segno, offset; get_sum_entry() local 2449 unsigned int i, segno, end; build_sit_entries() local 2555 unsigned int segno = 0; build_sit_area_bitmap() local 2603 unsigned int segno = 0; rewrite_sit_area_bitmap() local 2654 unsigned int segno; flush_sit_journal_entries() local 2732 unsigned int segno = 0; flush_sit_entries() local 2784 set_section_type(struct f2fs_sb_info *sbi, unsigned int segno, int type) set_section_type() argument 2849 u32 segno; find_next_free_block() local 3504 unsigned int segno, offset; do_record_fsync_data() local [all...] |