Searched refs:GET_SEC_FROM_SEG (Results 1 – 5 of 5) sorted by relevance
/openbmc/linux/fs/f2fs/ |
H A D | segment.h | 108 #define GET_SEC_FROM_SEG(sbi, segno) \ macro 115 GET_ZONE_FROM_SEC(sbi, GET_SEC_FROM_SEG(sbi, segno)) 331 return &sit_i->sec_entries[GET_SEC_FROM_SEG(sbi, segno)]; in get_sec_entry() 351 unsigned int secno = GET_SEC_FROM_SEG(sbi, segno); in get_ckpt_valid_blocks() 431 unsigned int secno = GET_SEC_FROM_SEG(sbi, segno); in __set_free() 453 unsigned int secno = GET_SEC_FROM_SEG(sbi, segno); in __set_inuse() 465 unsigned int secno = GET_SEC_FROM_SEG(sbi, segno); in __set_test_and_free() 491 unsigned int secno = GET_SEC_FROM_SEG(sbi, segno); in __set_test_and_inuse() 558 return GET_SEC_FROM_SEG(sbi, reserved_segments(sbi)); in reserved_sections()
|
H A D | gc.c | 337 unsigned int secno = GET_SEC_FROM_SEG(sbi, segno); in get_cb_cost() 490 unsigned int secno = GET_SEC_FROM_SEG(sbi, segno); in add_victim_entry() 692 unsigned int secno = GET_SEC_FROM_SEG(sbi, segno); in f2fs_pin_section() 783 if (sec_usage_check(sbi, GET_SEC_FROM_SEG(sbi, *result))) in f2fs_get_victim() 850 secno = GET_SEC_FROM_SEG(sbi, segno); in f2fs_get_victim() 922 secno = GET_SEC_FROM_SEG(sbi, p.min_segno); in f2fs_get_victim()
|
H A D | segment.c | 777 unsigned int secno = GET_SEC_FROM_SEG(sbi, segno); in __locate_dirty_segment() 808 clear_bit(GET_SEC_FROM_SEG(sbi, segno), in __remove_dirty_segment() 815 unsigned int secno = GET_SEC_FROM_SEG(sbi, segno); in __remove_dirty_segment() 2204 secno = GET_SEC_FROM_SEG(sbi, start); in f2fs_clear_prefree_segments() 2664 unsigned int hint = GET_SEC_FROM_SEG(sbi, *newseg); in get_new_segment() 2685 hint = GET_SEC_FROM_SEG(sbi, segno); in get_new_segment() 4782 secno = GET_SEC_FROM_SEG(sbi, segno); in init_dirty_segmap() 4914 zone_secno = GET_SEC_FROM_SEG(sbi, zone_segno); in check_zone_write_pointer() 4924 if (zone_secno == GET_SEC_FROM_SEG(sbi, in check_zone_write_pointer() 5034 cs_section = GET_SEC_FROM_SEG(sbi, cs->segno); 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 | 1781 GET_SEC_FROM_SEG(sbi, overprovision_segments(sbi)))) { in f2fs_expand_inode_data()
|