Home
last modified time | relevance | path

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

/linux-6.6.21/fs/f2fs/
Dsegment.h332 static inline struct seg_entry *get_seg_entry(struct f2fs_sb_info *sbi, in get_seg_entry() function
356 return get_seg_entry(sbi, segno)->valid_blocks; in get_valid_blocks()
368 struct seg_entry *se = get_seg_entry(sbi, start_segno); in get_ckpt_valid_blocks()
374 return get_seg_entry(sbi, segno)->ckpt_valid_blocks; in get_ckpt_valid_blocks()
415 se = get_seg_entry(sbi, start + i); in seg_info_to_sit_page()
583 get_seg_entry(sbi, segno)->ckpt_valid_blocks; in has_curseg_enough_space()
592 get_seg_entry(sbi, segno)->ckpt_valid_blocks; in has_curseg_enough_space()
Dsegment.c756 struct seg_entry *sentry = get_seg_entry(sbi, segno); in __locate_dirty_segment()
790 struct seg_entry *sentry = get_seg_entry(sbi, segno); in __remove_dirty_segment()
884 se = get_seg_entry(sbi, segno); in f2fs_get_unusable_blocks()
1140 sentry = get_seg_entry(sbi, segno); in __check_sit_bitmap()
2027 se = get_seg_entry(sbi, GET_SEGNO(sbi, i)); in f2fs_issue_discard()
2045 struct seg_entry *se = get_seg_entry(sbi, cpc->trim_start); in add_discard_addrs()
2349 struct seg_entry *se = get_seg_entry(sbi, segno); in __set_sit_entry_type()
2363 return get_seg_entry(sbi, segno)->mtime; in get_segment_mtime()
2377 se = get_seg_entry(sbi, segno); in update_segment_mtime()
2401 se = get_seg_entry(sbi, segno); in update_sit_entry()
[all …]
Dgc.c345 mtime += get_seg_entry(sbi, start + i)->mtime; in get_cb_cost()
369 return get_seg_entry(sbi, segno)->ckpt_valid_blocks; in get_gc_cost()
500 mtime += get_seg_entry(sbi, start + i)->mtime; in add_victim_entry()
628 vblocks = get_seg_entry(sbi, ve->segno)->ckpt_valid_blocks; in atssr_lookup_victim()
986 sentry = get_seg_entry(sbi, segno); in check_valid_map()
1686 unsigned char type = IS_DATASEG(get_seg_entry(sbi, segno)->type) ? in do_garbage_collect()
1703 sanity_check_seg_type(sbi, get_seg_entry(sbi, segno)->type); in do_garbage_collect()
Ddebug.c205 int blks = get_seg_entry(sbi, i)->valid_blocks; in update_general_status()
206 int type = get_seg_entry(sbi, i)->type; in update_general_status()
Dsysfs.c1347 struct seg_entry *se = get_seg_entry(sbi, i); in segment_info_seq_show()
1374 struct seg_entry *se = get_seg_entry(sbi, i); in segment_bits_seq_show()
Drecovery.c510 sentry = get_seg_entry(sbi, segno); in check_index_in_prev_nodes()
Dcheckpoint.c149 se = get_seg_entry(sbi, segno); in __is_bitmap_valid()