Searched refs:GET_SEC_FROM_SEG (Results 1 – 4 of 4) sorted by relevance
/linux-4.19.296/fs/f2fs/ |
D | segment.h | 93 #define GET_SEC_FROM_SEG(sbi, segno) \ macro 100 GET_ZONE_FROM_SEC(sbi, GET_SEC_FROM_SEG(sbi, segno)) 329 return &sit_i->sec_entries[GET_SEC_FROM_SEG(sbi, segno)]; in get_sec_entry() 410 unsigned int secno = GET_SEC_FROM_SEG(sbi, segno); in __set_free() 431 unsigned int secno = GET_SEC_FROM_SEG(sbi, segno); in __set_inuse() 443 unsigned int secno = GET_SEC_FROM_SEG(sbi, segno); in __set_test_and_free() 468 unsigned int secno = GET_SEC_FROM_SEG(sbi, segno); in __set_test_and_inuse() 534 return GET_SEC_FROM_SEG(sbi, (unsigned int)reserved_segments(sbi)); in reserved_sections()
|
D | gc.c | 240 unsigned int secno = GET_SEC_FROM_SEG(sbi, segno); in get_cb_cost() 322 !sec_usage_check(sbi, GET_SEC_FROM_SEG(sbi, *result))) in get_victim_by_default() 363 secno = GET_SEC_FROM_SEG(sbi, segno); in get_victim_by_default() 389 secno = GET_SEC_FROM_SEG(sbi, p.min_segno); in get_victim_by_default()
|
D | debug.c | 122 si->cursec[i] = GET_SEC_FROM_SEG(sbi, curseg->segno); in update_general_status()
|
D | segment.c | 816 clear_bit(GET_SEC_FROM_SEG(sbi, segno), in __remove_dirty_segment() 1878 secno = GET_SEC_FROM_SEG(sbi, start); in f2fs_clear_prefree_segments() 2257 unsigned int hint = GET_SEC_FROM_SEG(sbi, *newseg); in get_new_segment()
|