Searched refs:GET_SEC_FROM_SEG (Results 1 – 6 of 6) sorted by relevance
| /fs/f2fs/ |
| A D | segment.h | 79 #define GET_SEC_FROM_SEG(sbi, segno) \ macro 86 GET_ZONE_FROM_SEC(sbi, GET_SEC_FROM_SEG(sbi, segno)) 309 if (secno == GET_SEC_FROM_SEG(sbi, CURSEG_I(sbi, i)->segno)) in is_cursec() 326 return &sit_i->sec_entries[GET_SEC_FROM_SEG(sbi, segno)]; in get_sec_entry() 354 unsigned int secno = GET_SEC_FROM_SEG(sbi, segno); in set_ckpt_valid_blocks() 371 unsigned int secno = GET_SEC_FROM_SEG(sbi, segno); in sanity_check_valid_blocks() 461 unsigned int secno = GET_SEC_FROM_SEG(sbi, segno); in __set_free() 482 unsigned int secno = GET_SEC_FROM_SEG(sbi, segno); in __set_inuse() 494 unsigned int secno = GET_SEC_FROM_SEG(sbi, segno); in __set_test_and_free() 534 unsigned int secno = GET_SEC_FROM_SEG(sbi, segno); in __set_test_and_inuse() [all …]
|
| A D | gc.c | 715 unsigned int secno = GET_SEC_FROM_SEG(sbi, segno); in f2fs_pin_section() 812 if (sec_usage_check(sbi, GET_SEC_FROM_SEG(sbi, *result))) { in f2fs_get_victim() 817 clear_bit(GET_SEC_FROM_SEG(sbi, *result), dirty_i->victim_secmap); in f2fs_get_victim() 882 secno = GET_SEC_FROM_SEG(sbi, segno); in f2fs_get_victim() 954 secno = GET_SEC_FROM_SEG(sbi, p.min_segno); in f2fs_get_victim() 2071 if (is_cursec(sbi, GET_SEC_FROM_SEG(sbi, segno))) in f2fs_gc_range()
|
| A D | segment.c | 794 unsigned int secno = GET_SEC_FROM_SEG(sbi, segno); in __locate_dirty_segment() 827 clear_bit(GET_SEC_FROM_SEG(sbi, segno), in __remove_dirty_segment() 834 unsigned int secno = GET_SEC_FROM_SEG(sbi, segno); in __remove_dirty_segment() 2237 secno = GET_SEC_FROM_SEG(sbi, start); in f2fs_clear_prefree_segments() 2775 unsigned int hint = GET_SEC_FROM_SEG(sbi, *newseg); in get_new_segment() 2806 hint = GET_SEC_FROM_SEG(sbi, segno); in get_new_segment() 5148 secno = GET_SEC_FROM_SEG(sbi, segno); in init_dirty_segmap() 5375 cs_section = GET_SEC_FROM_SEG(sbi, cs->segno); in do_fix_curseg_write_pointer() 5432 cs_section = GET_SEC_FROM_SEG(sbi, cs->segno); in do_fix_curseg_write_pointer() 5549 secno = GET_SEC_FROM_SEG(sbi, segno); in f2fs_usable_zone_blks_in_seg() [all …]
|
| 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()
|
| A D | sysfs.c | 849 if (t > GET_SEC_FROM_SEG(sbi, overprovision_segments(sbi))) in __sbi_store()
|
| A D | super.c | 5016 GET_SEC_FROM_SEG(sbi, overprovision_segments(sbi)); in f2fs_fill_super()
|
Completed in 46 milliseconds