Home
last modified time | relevance | path

Searched refs:start_segno (Results 1 – 5 of 5) sorted by relevance

/fs/f2fs/
A Dsegment.h355 unsigned int start_segno = GET_SEG_FROM_SEC(sbi, secno); in set_ckpt_valid_blocks() local
359 for (i = 0; i < SEGS_PER_SEC(sbi); i++, start_segno++) { in set_ckpt_valid_blocks()
360 struct seg_entry *se = get_seg_entry(sbi, start_segno); in set_ckpt_valid_blocks()
372 unsigned int start_segno = GET_SEG_FROM_SEC(sbi, secno); in sanity_check_valid_blocks() local
376 for (i = 0; i < SEGS_PER_SEC(sbi); i++, start_segno++) { in sanity_check_valid_blocks()
377 struct seg_entry *se = get_seg_entry(sbi, start_segno); in sanity_check_valid_blocks()
462 unsigned int start_segno = GET_SEG_FROM_SEC(sbi, secno); in __set_free() local
470 start_segno + SEGS_PER_SEC(sbi), start_segno); in __set_free()
495 unsigned int start_segno = GET_SEG_FROM_SEC(sbi, secno); in __set_test_and_free() local
511 start_segno + SEGS_PER_SEC(sbi), start_segno); in __set_test_and_free()
[all …]
A Dsegment.c2191 unsigned int secno, start_segno; in f2fs_clear_prefree_segments() local
2238 start_segno = GET_SEG_FROM_SEC(sbi, secno); in f2fs_clear_prefree_segments()
2244 start = start_segno + SEGS_PER_SEC(sbi); in f2fs_clear_prefree_segments()
3461 unsigned int start_segno, end_segno; in f2fs_trim_fs() local
3485 start_segno = rounddown(start_segno, SEGS_PER_SEC(sbi)); in f2fs_trim_fs()
3491 cpc.trim_start = start_segno; in f2fs_trim_fs()
3513 start_block = START_BLOCK(sbi, start_segno); in f2fs_trim_fs()
4592 if (ses->start_segno == start_segno) { in add_sit_entry()
4601 ses->start_segno = start_segno; in add_sit_entry()
4681 unsigned int start_segno = ses->start_segno; in f2fs_flush_sit_entries() local
[all …]
A Dgc.c1720 unsigned int start_segno, in do_garbage_collect() argument
1725 unsigned int segno = start_segno; in do_garbage_collect()
1726 unsigned int end_segno = start_segno + SEGS_PER_SEC(sbi); in do_garbage_collect()
1757 end_segno = start_segno + window_granularity; in do_garbage_collect()
1778 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()
A Ddebug.c74 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()
A Dfile.c3253 unsigned int start_segno = 0, end_segno = 0; in f2fs_ioc_flush_device() local
3291 start_segno = sm->last_victim[FLUSH_DEVICE]; in f2fs_ioc_flush_device()
3292 if (start_segno < dev_start_segno || start_segno >= dev_end_segno) in f2fs_ioc_flush_device()
3293 start_segno = dev_start_segno; in f2fs_ioc_flush_device()
3294 end_segno = min(start_segno + range.segments, dev_end_segno); in f2fs_ioc_flush_device()
3296 while (start_segno < end_segno) { in f2fs_ioc_flush_device()
3305 gc_control.victim_segno = start_segno; in f2fs_ioc_flush_device()
3312 start_segno++; in f2fs_ioc_flush_device()

Completed in 36 milliseconds