Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/fs/f2fs/
H A Dsegment.h104 #define GET_SEC_FROM_SEG(sbi, segno) \ macro
111 GET_ZONE_FROM_SEC(sbi, GET_SEC_FROM_SEG(sbi, segno))
346 return &sit_i->sec_entries[GET_SEC_FROM_SEG(sbi, segno)]; in get_sec_entry()
445 unsigned int secno = GET_SEC_FROM_SEG(sbi, segno); in __set_free()
467 unsigned int secno = GET_SEC_FROM_SEG(sbi, segno); in __set_inuse()
479 unsigned int secno = GET_SEC_FROM_SEG(sbi, segno); in __set_test_and_free()
505 unsigned int secno = GET_SEC_FROM_SEG(sbi, segno); in __set_test_and_inuse()
572 return GET_SEC_FROM_SEG(sbi, reserved_segments(sbi)); in reserved_sections()
H A Dgc.c309 unsigned int secno = GET_SEC_FROM_SEG(sbi, segno); in get_cb_cost()
406 unsigned int secno = GET_SEC_FROM_SEG(sbi, segno); in add_victim_entry()
676 if (sec_usage_check(sbi, GET_SEC_FROM_SEG(sbi, *result))) in get_victim_by_default()
743 secno = GET_SEC_FROM_SEG(sbi, segno); in get_victim_by_default()
812 secno = GET_SEC_FROM_SEG(sbi, p.min_segno); in get_victim_by_default()
H A Dsegment.c829 unsigned int secno = GET_SEC_FROM_SEG(sbi, segno); in __locate_dirty_segment()
860 clear_bit(GET_SEC_FROM_SEG(sbi, segno), in __remove_dirty_segment()
867 unsigned int secno = GET_SEC_FROM_SEG(sbi, segno); in __remove_dirty_segment()
2056 secno = GET_SEC_FROM_SEG(sbi, start); in f2fs_clear_prefree_segments()
2491 unsigned int hint = GET_SEC_FROM_SEG(sbi, *newseg); in get_new_segment()
4697 secno = GET_SEC_FROM_SEG(sbi, segno); in init_dirty_segmap()
4820 zone_secno = GET_SEC_FROM_SEG(sbi, zone_segno); in check_zone_write_pointer()
4830 if (zone_secno == GET_SEC_FROM_SEG(sbi, in check_zone_write_pointer()
4920 cs_section = GET_SEC_FROM_SEG(sbi, cs->segno); in fix_curseg_write_pointer()
4964 cs_section = GET_SEC_FROM_SEG(sbi, cs->segno); in fix_curseg_write_pointer()
[all …]
H A Ddebug.c195 si->cursec[i] = GET_SEC_FROM_SEG(sbi, curseg->segno); in update_general_status()
H A Dfile.c1683 GET_SEC_FROM_SEG(sbi, overprovision_segments(sbi)))) { in expand_inode_data()