Searched refs:GET_SEC_FROM_SEG (Results 1 – 5 of 5) sorted by relevance
| /linux-6.15/fs/f2fs/ |
| H A D | segment.h | 105 #define GET_SEC_FROM_SEG(sbi, segno) \ macro 112 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() 349 unsigned int secno = GET_SEC_FROM_SEG(sbi, segno); in get_ckpt_valid_blocks() 429 unsigned int secno = GET_SEC_FROM_SEG(sbi, segno); in __set_free() 451 unsigned int secno = GET_SEC_FROM_SEG(sbi, segno); in __set_inuse() 463 unsigned int secno = GET_SEC_FROM_SEG(sbi, segno); in __set_test_and_free() 489 unsigned int secno = GET_SEC_FROM_SEG(sbi, segno); in __set_test_and_inuse() 555 return GET_SEC_FROM_SEG(sbi, reserved_segments(sbi)); in reserved_sections()
|
| H A D | segment.c | 784 unsigned int secno = GET_SEC_FROM_SEG(sbi, segno); in __locate_dirty_segment() 817 clear_bit(GET_SEC_FROM_SEG(sbi, segno), in __remove_dirty_segment() 824 unsigned int secno = GET_SEC_FROM_SEG(sbi, segno); in __remove_dirty_segment() 2227 secno = GET_SEC_FROM_SEG(sbi, start); in f2fs_clear_prefree_segments() 2750 unsigned int hint = GET_SEC_FROM_SEG(sbi, *newseg); in get_new_segment() 2781 hint = GET_SEC_FROM_SEG(sbi, segno); in get_new_segment() 5099 secno = GET_SEC_FROM_SEG(sbi, segno); in init_dirty_segmap() 5326 cs_section = GET_SEC_FROM_SEG(sbi, cs->segno); in do_fix_curseg_write_pointer() 5383 cs_section = GET_SEC_FROM_SEG(sbi, cs->segno); in do_fix_curseg_write_pointer() 5500 secno = GET_SEC_FROM_SEG(sbi, segno); in f2fs_usable_zone_blks_in_seg() [all …]
|
| H A D | debug.c | 112 if (IS_CURSEC(sbi, GET_SEC_FROM_SEG(sbi, j))) in update_multidevice_stats() 118 else if (!test_bit(GET_SEC_FROM_SEG(sbi, j), in update_multidevice_stats() 255 si->cursec[i] = GET_SEC_FROM_SEG(sbi, curseg->segno); in update_general_status()
|
| H A D | gc.c | 717 unsigned int secno = GET_SEC_FROM_SEG(sbi, segno); in f2fs_pin_section() 809 if (sec_usage_check(sbi, GET_SEC_FROM_SEG(sbi, *result))) { in f2fs_get_victim() 814 clear_bit(GET_SEC_FROM_SEG(sbi, *result), dirty_i->victim_secmap); in f2fs_get_victim() 879 secno = GET_SEC_FROM_SEG(sbi, segno); in f2fs_get_victim() 951 secno = GET_SEC_FROM_SEG(sbi, p.min_segno); in f2fs_get_victim()
|
| H A D | file.c | 1855 GET_SEC_FROM_SEG(sbi, overprovision_segments(sbi)))) { in f2fs_expand_inode_data()
|