Home
last modified time | relevance | path

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

/Linux-v5.10/fs/f2fs/
Dsegment.h336 static inline struct seg_entry *get_seg_entry(struct f2fs_sb_info *sbi, in get_seg_entry() function
360 return get_seg_entry(sbi, segno)->valid_blocks; in get_valid_blocks()
366 return get_seg_entry(sbi, segno)->ckpt_valid_blocks; in get_ckpt_valid_blocks()
407 se = get_seg_entry(sbi, start + i); in seg_info_to_sit_page()
575 get_seg_entry(sbi, segno)->ckpt_valid_blocks; in has_curseg_enough_space()
584 get_seg_entry(sbi, segno)->ckpt_valid_blocks; in has_curseg_enough_space()
Dgc.c299 mtime += get_seg_entry(sbi, start + i)->mtime; in get_cb_cost()
323 return get_seg_entry(sbi, segno)->ckpt_valid_blocks; in get_gc_cost()
397 get_seg_entry(sbi, segno)->ckpt_valid_blocks == 0) in add_victim_entry()
402 mtime += get_seg_entry(sbi, start + i)->mtime; in add_victim_entry()
550 vblocks = get_seg_entry(sbi, ve->segno)->ckpt_valid_blocks; in atssr_lookup_victim()
847 sentry = get_seg_entry(sbi, segno); in check_valid_map()
1532 unsigned char type = IS_DATASEG(get_seg_entry(sbi, segno)->type) ? in do_garbage_collect()
1548 sanity_check_seg_type(sbi, get_seg_entry(sbi, segno)->type); in do_garbage_collect()
Dsegment.c793 struct seg_entry *sentry = get_seg_entry(sbi, segno); in __locate_dirty_segment()
827 struct seg_entry *sentry = get_seg_entry(sbi, segno); in __remove_dirty_segment()
921 se = get_seg_entry(sbi, segno); in f2fs_get_unusable_blocks()
1089 sentry = get_seg_entry(sbi, segno); in __check_sit_bitmap()
1870 se = get_seg_entry(sbi, GET_SEGNO(sbi, i)); in f2fs_issue_discard()
1887 struct seg_entry *se = get_seg_entry(sbi, cpc->trim_start); in add_discard_addrs()
2154 struct seg_entry *se = get_seg_entry(sbi, segno); in __set_sit_entry_type()
2167 return get_seg_entry(sbi, segno)->mtime; in get_segment_mtime()
2181 se = get_seg_entry(sbi, segno); in update_segment_mtime()
2205 se = get_seg_entry(sbi, segno); in update_sit_entry()
[all …]
Ddebug.c184 int blks = get_seg_entry(sbi, i)->valid_blocks; in update_general_status()
185 int type = get_seg_entry(sbi, i)->type; in update_general_status()
Dsysfs.c752 struct seg_entry *se = get_seg_entry(sbi, i); in segment_info_seq_show()
779 struct seg_entry *se = get_seg_entry(sbi, i); in segment_bits_seq_show()
Drecovery.c444 sentry = get_seg_entry(sbi, segno); in check_index_in_prev_nodes()
Dcheckpoint.c144 se = get_seg_entry(sbi, segno); in __is_bitmap_valid()