Searched refs:start_segno (Results 1 – 5 of 5) sorted by relevance
| /linux-6.15/fs/f2fs/ |
| H A D | segment.h | 256 unsigned int start_segno; /* start segment number logically */ member 306 unsigned int start_segno; /* start segno of sits in set */ member 350 unsigned int start_segno = GET_SEG_FROM_SEC(sbi, secno); in get_ckpt_valid_blocks() local 354 for (i = 0; i < SEGS_PER_SEC(sbi); i++, start_segno++) { in get_ckpt_valid_blocks() 355 struct seg_entry *se = get_seg_entry(sbi, start_segno); in get_ckpt_valid_blocks() 430 unsigned int start_segno = GET_SEG_FROM_SEC(sbi, secno); in __set_free() local 439 start_segno + SEGS_PER_SEC(sbi), start_segno); in __set_free() 440 if (next >= start_segno + usable_segs) { in __set_free() 464 unsigned int start_segno = GET_SEG_FROM_SEC(sbi, secno); in __set_test_and_free() local 475 start_segno + SEGS_PER_SEC(sbi), start_segno); in __set_test_and_free() [all …]
|
| H A D | segment.c | 2181 unsigned int secno, start_segno; in f2fs_clear_prefree_segments() local 2228 start_segno = GET_SEG_FROM_SEC(sbi, secno); in f2fs_clear_prefree_segments() 2234 start = start_segno + SEGS_PER_SEC(sbi); in f2fs_clear_prefree_segments() 3432 unsigned int start_segno, end_segno; in f2fs_trim_fs() local 3456 start_segno = rounddown(start_segno, SEGS_PER_SEC(sbi)); in f2fs_trim_fs() 3462 cpc.trim_start = start_segno; in f2fs_trim_fs() 3484 start_block = START_BLOCK(sbi, start_segno); in f2fs_trim_fs() 4559 if (ses->start_segno == start_segno) { in add_sit_entry() 4568 ses->start_segno = start_segno; in add_sit_entry() 4648 unsigned int start_segno = ses->start_segno; in f2fs_flush_sit_entries() local [all …]
|
| H A D | gc.c | 1717 unsigned int start_segno, in do_garbage_collect() argument 1724 unsigned int segno = start_segno; in do_garbage_collect() 1725 unsigned int end_segno = start_segno + SEGS_PER_SEC(sbi); in do_garbage_collect() 1756 end_segno = start_segno + window_granularity; in do_garbage_collect() 1777 for (segno = start_segno; segno < end_segno; segno++) { in do_garbage_collect() 1790 for (segno = start_segno; segno < end_segno; segno++) { in do_garbage_collect()
|
| H A D | debug.c | 74 unsigned int start_segno, end_segno; in update_multidevice_stats() local 85 start_segno = GET_SEGNO(sbi, start_blk); in update_multidevice_stats() 88 for (j = start_segno; j < end_segno; j++) { in update_multidevice_stats()
|
| H A D | file.c | 3190 unsigned int start_segno = 0, end_segno = 0; in f2fs_ioc_flush_device() local 3228 start_segno = sm->last_victim[FLUSH_DEVICE]; in f2fs_ioc_flush_device() 3229 if (start_segno < dev_start_segno || start_segno >= dev_end_segno) in f2fs_ioc_flush_device() 3230 start_segno = dev_start_segno; in f2fs_ioc_flush_device() 3231 end_segno = min(start_segno + range.segments, dev_end_segno); in f2fs_ioc_flush_device() 3233 while (start_segno < end_segno) { in f2fs_ioc_flush_device() 3242 gc_control.victim_segno = start_segno; in f2fs_ioc_flush_device() 3249 start_segno++; in f2fs_ioc_flush_device()
|