Home
last modified time | relevance | path

Searched refs:blk_bitmap (Results 1 – 6 of 6) sorted by relevance

/linux-4.19.296/drivers/lightnvm/
Dpblk-map.c167 bitmap_weight(d_line->blk_bitmap, lm->blk_per_line)) { in pblk_map_erase_rq()
171 bit = find_next_bit(d_line->blk_bitmap, in pblk_map_erase_rq()
Dpblk-recovery.c61 if (test_bit(pos, line->blk_bitmap)) in pblk_recov_l2p_from_emeta()
93 int nr_bb = bitmap_weight(line->blk_bitmap, lm->blk_per_line); in pblk_calc_sec_in_line()
173 while (test_bit(pos, line->blk_bitmap)) { in pblk_recov_read_oob()
322 while (test_bit(pos, line->blk_bitmap)) { in pblk_recov_pad_oob()
451 while (test_bit(pos, line->blk_bitmap)) { in pblk_recov_scan_all_oob()
582 while (test_bit(pos, line->blk_bitmap)) { in pblk_recov_scan_oob()
727 if (!test_bit(pos, line->blk_bitmap)) in pblk_line_emeta_start()
791 smeta_blk = find_first_zero_bit(line->blk_bitmap, lm->blk_per_line); in pblk_line_was_written()
Dpblk-init.c517 kfree(line->blk_bitmap); in pblk_line_meta_free()
742 set_bit(pos, line->blk_bitmap); in pblk_setup_line_meta_12()
786 set_bit(pos, line->blk_bitmap); in pblk_setup_line_meta_20()
834 line->blk_bitmap = kzalloc(lm->blk_bitmap_len, GFP_KERNEL); in pblk_alloc_line_meta()
835 if (!line->blk_bitmap) in pblk_alloc_line_meta()
859 kfree(line->blk_bitmap); in pblk_alloc_line_meta()
Dpblk-core.c58 if (test_and_set_bit(pos, line->blk_bitmap)) in pblk_mark_bb()
714 while (test_bit(pos, line->blk_bitmap)) { in pblk_line_submit_emeta_io()
775 bit = find_first_zero_bit(line->blk_bitmap, lm->blk_per_line); in pblk_line_smeta_start()
993 bitmap_weight(line->blk_bitmap, lm->blk_per_line); in pblk_line_init_metadata()
1094 while ((bit = find_next_bit(line->blk_bitmap, lm->blk_per_line, in pblk_line_init_bb()
1105 bit = find_first_zero_bit(line->blk_bitmap, lm->blk_per_line); in pblk_line_init_bb()
1184 bitmap_copy(line->erase_bitmap, line->blk_bitmap, lm->blk_per_line); in pblk_line_prepare()
1305 bit = find_first_zero_bit(line->blk_bitmap, lm->blk_per_line); in pblk_line_get()
1770 memcpy(emeta_to_bb(emeta_buf), line->blk_bitmap, lm->blk_bitmap_len); in pblk_line_close_meta()
Dpblk-write.c478 test_bit(pos_opt, data_line->blk_bitmap)) in pblk_valid_meta_ppa()
Dpblk.h463 unsigned long *blk_bitmap; /* Bitmap for valid/invalid blocks */ member