Searched refs:GET_SEC_FROM_SEG (Results 1 - 10 of 10) sorted by relevance
/kernel/linux/linux-5.10/fs/f2fs/ |
H A D | segment.h | 110 #define GET_SEC_FROM_SEG(sbi, segno) \ macro 117 GET_ZONE_FROM_SEC(sbi, GET_SEC_FROM_SEG(sbi, segno)) 372 return &sit_i->sec_entries[GET_SEC_FROM_SEG(sbi, segno)]; in get_sec_entry() 471 unsigned int secno = GET_SEC_FROM_SEG(sbi, segno); in __set_free() 493 unsigned int secno = GET_SEC_FROM_SEG(sbi, segno); in __set_inuse() 505 unsigned int secno = GET_SEC_FROM_SEG(sbi, segno); in __set_test_and_free() 531 unsigned int secno = GET_SEC_FROM_SEG(sbi, segno); in __set_test_and_inuse() 598 return GET_SEC_FROM_SEG(sbi, reserved_segments(sbi)); in reserved_sections()
|
H A D | gc.c | 308 unsigned int secno = GET_SEC_FROM_SEG(sbi, segno); in get_cb_cost() 405 unsigned int secno = GET_SEC_FROM_SEG(sbi, segno); in add_victim_entry() 675 if (sec_usage_check(sbi, GET_SEC_FROM_SEG(sbi, *result))) in get_victim_by_default() 742 secno = GET_SEC_FROM_SEG(sbi, segno); in get_victim_by_default() 811 secno = GET_SEC_FROM_SEG(sbi, p.min_segno); in get_victim_by_default()
|
H A D | segment.c | 916 unsigned int secno = GET_SEC_FROM_SEG(sbi, segno); in __locate_dirty_segment() 947 clear_bit(GET_SEC_FROM_SEG(sbi, segno), in __remove_dirty_segment() 954 unsigned int secno = GET_SEC_FROM_SEG(sbi, segno); in __remove_dirty_segment() 2175 secno = GET_SEC_FROM_SEG(sbi, start); in f2fs_clear_prefree_segments() 2607 unsigned int hint = GET_SEC_FROM_SEG(sbi, *newseg); in get_new_segment() 4786 secno = GET_SEC_FROM_SEG(sbi, segno); in init_dirty_segmap() 4905 zone_secno = GET_SEC_FROM_SEG(sbi, zone_segno); in check_zone_write_pointer() 4915 if (zone_secno == GET_SEC_FROM_SEG(sbi, in check_zone_write_pointer() 5004 cs_section = GET_SEC_FROM_SEG(sbi, cs->segno); in fix_curseg_write_pointer() 5047 cs_section = GET_SEC_FROM_SEG(sb in fix_curseg_write_pointer() [all...] |
H A D | debug.c | 170 si->cursec[i] = GET_SEC_FROM_SEG(sbi, curseg->segno); in update_general_status()
|
H A D | file.c | 1659 GET_SEC_FROM_SEG(sbi, overprovision_segments(sbi)))) { in expand_inode_data()
|
/kernel/linux/linux-6.6/fs/f2fs/ |
H A D | segment.h | 110 #define GET_SEC_FROM_SEG(sbi, segno) \ macro 117 GET_ZONE_FROM_SEC(sbi, GET_SEC_FROM_SEG(sbi, segno)) 343 return &sit_i->sec_entries[GET_SEC_FROM_SEG(sbi, segno)]; in get_sec_entry() 442 unsigned int secno = GET_SEC_FROM_SEG(sbi, segno); in __set_free() 464 unsigned int secno = GET_SEC_FROM_SEG(sbi, segno); in __set_inuse() 476 unsigned int secno = GET_SEC_FROM_SEG(sbi, segno); in __set_test_and_free() 502 unsigned int secno = GET_SEC_FROM_SEG(sbi, segno); in __set_test_and_inuse() 569 return GET_SEC_FROM_SEG(sbi, reserved_segments(sbi)); in reserved_sections()
|
H A D | gc.c | 335 unsigned int secno = GET_SEC_FROM_SEG(sbi, segno); in get_cb_cost() 488 unsigned int secno = GET_SEC_FROM_SEG(sbi, segno); in add_victim_entry() 691 unsigned int secno = GET_SEC_FROM_SEG(sbi, segno); in f2fs_pin_section() 782 if (sec_usage_check(sbi, GET_SEC_FROM_SEG(sbi, *result))) in f2fs_get_victim() 849 secno = GET_SEC_FROM_SEG(sbi, segno); in f2fs_get_victim() 921 secno = GET_SEC_FROM_SEG(sbi, p.min_segno); in f2fs_get_victim()
|
H A D | segment.c | 767 unsigned int secno = GET_SEC_FROM_SEG(sbi, segno); in __locate_dirty_segment() 798 clear_bit(GET_SEC_FROM_SEG(sbi, segno), in __remove_dirty_segment() 805 unsigned int secno = GET_SEC_FROM_SEG(sbi, segno); in __remove_dirty_segment() 2186 secno = GET_SEC_FROM_SEG(sbi, start); in f2fs_clear_prefree_segments() 2644 unsigned int hint = GET_SEC_FROM_SEG(sbi, *newseg); in get_new_segment() 4743 secno = GET_SEC_FROM_SEG(sbi, segno); in init_dirty_segmap() 4875 zone_secno = GET_SEC_FROM_SEG(sbi, zone_segno); in check_zone_write_pointer() 4885 if (zone_secno == GET_SEC_FROM_SEG(sbi, in check_zone_write_pointer() 4995 cs_section = GET_SEC_FROM_SEG(sbi, cs->segno); in fix_curseg_write_pointer() 5039 cs_section = GET_SEC_FROM_SEG(sb in fix_curseg_write_pointer() [all...] |
H A D | debug.c | 191 si->cursec[i] = GET_SEC_FROM_SEG(sbi, curseg->segno); in update_general_status()
|
H A D | file.c | 1719 GET_SEC_FROM_SEG(sbi, overprovision_segments(sbi)))) { in f2fs_expand_inode_data()
|
Completed in 61 milliseconds