Searched refs:free_i (Results 1 – 3 of 3) sorted by relevance
24 #define GET_L2R_SEGNO(free_i, segno) ((segno) - (free_i)->start_segno) argument25 #define GET_R2L_SEGNO(free_i, segno) ((segno) + (free_i)->start_segno) argument420 spin_lock(&free_i->segmap_lock); in find_next_inuse()436 free_i->free_segments++; in __set_free()442 free_i->free_sections++; in __set_free()454 free_i->free_segments--; in __set_inuse()456 free_i->free_sections--; in __set_inuse()470 free_i->free_segments++; in __set_test_and_free()478 free_i->free_sections++; in __set_test_and_free()493 free_i->free_segments--; in __set_test_and_inuse()[all …]
100 struct free_segmap_info *free_i = FREE_I(sbi); in free_segs_blk_count_zoned() local103 spin_lock(&free_i->segmap_lock); in free_segs_blk_count_zoned()105 if (!test_bit(j, free_i->free_segmap)) in free_segs_blk_count_zoned()107 spin_unlock(&free_i->segmap_lock); in free_segs_blk_count_zoned()
2756 spin_lock(&free_i->segmap_lock); in get_new_segment()4842 if (!free_i) in build_free_segmap()4845 SM_I(sbi)->free_info = free_i; in build_free_segmap()4849 if (!free_i->free_segmap) in build_free_segmap()4854 if (!free_i->free_secmap) in build_free_segmap()4863 free_i->free_segments = 0; in build_free_segmap()4864 free_i->free_sections = 0; in build_free_segmap()5742 if (!free_i) in destroy_free_segmap()5745 kvfree(free_i->free_segmap); in destroy_free_segmap()5746 kvfree(free_i->free_secmap); in destroy_free_segmap()[all …]