Searched refs:GET_SEG_FROM_SEC (Results 1 – 3 of 3) sorted by relevance
/linux-6.1.9/fs/f2fs/ |
D | segment.h | 109 #define GET_SEG_FROM_SEC(sbi, secno) \ macro 453 unsigned int start_segno = GET_SEG_FROM_SEC(sbi, secno); in __set_free() 487 unsigned int start_segno = GET_SEG_FROM_SEC(sbi, secno); in __set_test_and_free()
|
D | segment.c | 1963 start_segno = GET_SEG_FROM_SEC(sbi, secno); in f2fs_clear_prefree_segments() 2438 GET_SEG_FROM_SEC(sbi, hint + 1), *newseg + 1); in get_new_segment() 2439 if (segno < GET_SEG_FROM_SEC(sbi, hint + 1)) in get_new_segment() 2469 segno = GET_SEG_FROM_SEC(sbi, secno); in get_new_segment() 4781 cs_zone_block = START_BLOCK(sbi, GET_SEG_FROM_SEC(sbi, cs_section)); in fix_curseg_write_pointer() 4825 cs_zone_block = START_BLOCK(sbi, GET_SEG_FROM_SEC(sbi, cs_section)); in fix_curseg_write_pointer() 4922 block_t sec_start_blkaddr = START_BLOCK(sbi, GET_SEG_FROM_SEC(sbi, secno)); in get_zone_idx() 4981 sec_start_blkaddr = START_BLOCK(sbi, GET_SEG_FROM_SEC(sbi, secno)); in f2fs_usable_zone_blks_in_seg()
|
D | gc.c | 326 return GET_SEG_FROM_SEC(sbi, secno); in check_bg_victims() 335 unsigned int start = GET_SEG_FROM_SEC(sbi, secno); in get_cb_cost() 433 unsigned int start = GET_SEG_FROM_SEC(sbi, secno); in add_victim_entry()
|