Home
last modified time | relevance | path

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

/fs/f2fs/
Dsegment.h91 #define GET_SEC_FROM_SEG(sbi, segno) \ macro
98 GET_ZONE_FROM_SEC(sbi, GET_SEC_FROM_SEG(sbi, segno))
321 return &sit_i->sec_entries[GET_SEC_FROM_SEG(sbi, segno)]; in get_sec_entry()
408 unsigned int secno = GET_SEC_FROM_SEG(sbi, segno); in __set_free()
429 unsigned int secno = GET_SEC_FROM_SEG(sbi, segno); in __set_inuse()
441 unsigned int secno = GET_SEC_FROM_SEG(sbi, segno); in __set_test_and_free()
466 unsigned int secno = GET_SEC_FROM_SEG(sbi, segno); in __set_test_and_inuse()
533 return GET_SEC_FROM_SEG(sbi, (unsigned int)reserved_segments(sbi)); in reserved_sections()
Dgc.c253 unsigned int secno = GET_SEC_FROM_SEG(sbi, segno); in get_cb_cost()
336 !sec_usage_check(sbi, GET_SEC_FROM_SEG(sbi, *result))) in get_victim_by_default()
403 secno = GET_SEC_FROM_SEG(sbi, segno); in get_victim_by_default()
437 secno = GET_SEC_FROM_SEG(sbi, p.min_segno); in get_victim_by_default()
Dsegment.c821 clear_bit(GET_SEC_FROM_SEG(sbi, segno), in __remove_dirty_segment()
1991 secno = GET_SEC_FROM_SEG(sbi, start); in f2fs_clear_prefree_segments()
2392 unsigned int hint = GET_SEC_FROM_SEG(sbi, *newseg); in get_new_segment()
4422 zone_secno = GET_SEC_FROM_SEG(sbi, zone_segno); in check_zone_write_pointer()
4432 if (zone_secno == GET_SEC_FROM_SEG(sbi, in check_zone_write_pointer()
4521 cs_section = GET_SEC_FROM_SEG(sbi, cs->segno); in fix_curseg_write_pointer()
4564 cs_section = GET_SEC_FROM_SEG(sbi, cs->segno); in fix_curseg_write_pointer()
Ddebug.c170 si->cursec[i] = GET_SEC_FROM_SEG(sbi, curseg->segno); in update_general_status()
Dfile.c1670 GET_SEC_FROM_SEG(sbi, overprovision_segments(sbi)))) { in expand_inode_data()