Searched refs:invalid_bitmap (Results 1 – 6 of 6) sorted by relevance
/kernel/linux/linux-5.10/drivers/lightnvm/ |
D | pblk-gc.c | 189 unsigned long *invalid_bitmap; in pblk_gc_line_prepare_ws() local 192 invalid_bitmap = kmalloc(lm->sec_bitmap_len, GFP_KERNEL); in pblk_gc_line_prepare_ws() 193 if (!invalid_bitmap) in pblk_gc_line_prepare_ws() 209 bitmap_copy(invalid_bitmap, line->invalid_bitmap, lm->sec_per_line); in pblk_gc_line_prepare_ws() 226 bit = find_next_zero_bit(invalid_bitmap, lm->sec_per_line, in pblk_gc_line_prepare_ws() 274 kfree(invalid_bitmap); in pblk_gc_line_prepare_ws() 288 kfree(invalid_bitmap); in pblk_gc_line_prepare_ws()
|
D | pblk-core.c | 177 if (test_and_set_bit(paddr, line->invalid_bitmap)) { in __pblk_map_invalidate() 1046 line->invalid_bitmap = mempool_alloc(l_mg->bitmap_pool, GFP_KERNEL); in pblk_line_alloc_bitmaps() 1047 if (!line->invalid_bitmap) { in pblk_line_alloc_bitmaps() 1095 bitmap_copy(line->invalid_bitmap, line->map_bitmap, lm->sec_per_line); in pblk_line_init_bb() 1104 if (!test_bit(off, line->invalid_bitmap)) { in pblk_line_init_bb() 1105 bitmap_set(line->invalid_bitmap, off, geo->ws_opt); in pblk_line_init_bb() 1117 bitmap_weight(line->invalid_bitmap, lm->sec_per_line)) { in pblk_line_init_bb() 1261 line->invalid_bitmap = NULL; in pblk_line_reinit() 1272 mempool_free(line->invalid_bitmap, l_mg->bitmap_pool); in pblk_line_free() 1346 retry_line->invalid_bitmap = line->invalid_bitmap; in pblk_line_retry() [all …]
|
D | pblk-write.c | 135 if (!test_and_set_bit(paddr, line->invalid_bitmap)) in pblk_map_remaining()
|
D | pblk-recovery.c | 71 if (test_and_set_bit(i, line->invalid_bitmap)) in pblk_recov_l2p_from_emeta()
|
D | pblk.h | 463 unsigned long *invalid_bitmap; /* Bitmap for invalid sectors in line */ member
|
/kernel/linux/linux-5.10/drivers/mtd/ |
D | sm_ftl.c | 370 unsigned long invalid_bitmap) in sm_write_block() argument 388 if (test_bit(boffset / SM_SECTOR_SIZE, &invalid_bitmap)) { in sm_write_block()
|