Home
last modified time | relevance | path

Searched refs:get_seg_entry (Results 1 – 7 of 7) sorted by relevance

/linux-6.1.9/fs/f2fs/
Dsegment.h342 static inline struct seg_entry *get_seg_entry(struct f2fs_sb_info *sbi, in get_seg_entry() function
366 return get_seg_entry(sbi, segno)->valid_blocks; in get_valid_blocks()
378 struct seg_entry *se = get_seg_entry(sbi, start_segno); in get_ckpt_valid_blocks()
384 return get_seg_entry(sbi, segno)->ckpt_valid_blocks; in get_ckpt_valid_blocks()
425 se = get_seg_entry(sbi, start + i); in seg_info_to_sit_page()
593 get_seg_entry(sbi, segno)->ckpt_valid_blocks; in has_curseg_enough_space()
602 get_seg_entry(sbi, segno)->ckpt_valid_blocks; in has_curseg_enough_space()
Dsegment.c721 struct seg_entry *sentry = get_seg_entry(sbi, segno); in __locate_dirty_segment()
755 struct seg_entry *sentry = get_seg_entry(sbi, segno); in __remove_dirty_segment()
849 se = get_seg_entry(sbi, segno); in f2fs_get_unusable_blocks()
1017 sentry = get_seg_entry(sbi, segno); in __check_sit_bitmap()
1805 se = get_seg_entry(sbi, GET_SEGNO(sbi, i)); in f2fs_issue_discard()
1823 struct seg_entry *se = get_seg_entry(sbi, cpc->trim_start); in add_discard_addrs()
2123 struct seg_entry *se = get_seg_entry(sbi, segno); in __set_sit_entry_type()
2137 return get_seg_entry(sbi, segno)->mtime; in get_segment_mtime()
2151 se = get_seg_entry(sbi, segno); in update_segment_mtime()
2175 se = get_seg_entry(sbi, segno); in update_sit_entry()
[all …]
Dgc.c344 mtime += get_seg_entry(sbi, start + i)->mtime; in get_cb_cost()
368 return get_seg_entry(sbi, segno)->ckpt_valid_blocks; in get_gc_cost()
444 mtime += get_seg_entry(sbi, start + i)->mtime; in add_victim_entry()
592 vblocks = get_seg_entry(sbi, ve->segno)->ckpt_valid_blocks; in atssr_lookup_victim()
958 sentry = get_seg_entry(sbi, segno); in check_valid_map()
1655 unsigned char type = IS_DATASEG(get_seg_entry(sbi, segno)->type) ? in do_garbage_collect()
1671 sanity_check_seg_type(sbi, get_seg_entry(sbi, segno)->type); in do_garbage_collect()
Ddebug.c194 int blks = get_seg_entry(sbi, i)->valid_blocks; in update_general_status()
195 int type = get_seg_entry(sbi, i)->type; in update_general_status()
Dsysfs.c1186 struct seg_entry *se = get_seg_entry(sbi, i); in segment_info_seq_show()
1213 struct seg_entry *se = get_seg_entry(sbi, i); in segment_bits_seq_show()
Drecovery.c481 sentry = get_seg_entry(sbi, segno); in check_index_in_prev_nodes()
Dcheckpoint.c152 se = get_seg_entry(sbi, segno); in __is_bitmap_valid()