Searched refs:map_bitmap (Results 1 – 5 of 5) sorted by relevance
/drivers/lightnvm/ |
D | pblk-core.c | 604 addr = find_next_zero_bit(line->map_bitmap, in pblk_dealloc_page() 609 WARN_ON(!test_and_clear_bit(line->cur_sec, line->map_bitmap)); in pblk_dealloc_page() 626 line->cur_sec = addr = find_next_zero_bit(line->map_bitmap, in __pblk_alloc_page() 629 WARN_ON(test_and_set_bit(line->cur_sec, line->map_bitmap)); in __pblk_alloc_page() 655 paddr = find_next_zero_bit(line->map_bitmap, in pblk_lookup_page() 1039 line->map_bitmap = mempool_alloc(l_mg->bitmap_pool, GFP_KERNEL); in pblk_line_alloc_bitmaps() 1040 if (!line->map_bitmap) in pblk_line_alloc_bitmaps() 1043 memset(line->map_bitmap, 0, lm->sec_bitmap_len); in pblk_line_alloc_bitmaps() 1048 mempool_free(line->map_bitmap, l_mg->bitmap_pool); in pblk_line_alloc_bitmaps() 1049 line->map_bitmap = NULL; in pblk_line_alloc_bitmaps() [all …]
|
D | pblk-sysfs.c | 268 if (l_mg->data_line->map_bitmap) in pblk_sysfs_lines() 269 map_weight = bitmap_weight(l_mg->data_line->map_bitmap, in pblk_sysfs_lines()
|
D | pblk-recovery.c | 801 mempool_free(line->map_bitmap, l_mg->bitmap_pool); in pblk_recov_l2p() 802 line->map_bitmap = NULL; in pblk_recov_l2p()
|
D | pblk-write.c | 127 if (!test_and_set_bit(paddr, line->map_bitmap)) in pblk_map_remaining()
|
D | pblk.h | 462 unsigned long *map_bitmap; /* Bitmap for mapped sectors in line */ member
|