Searched refs:blk_bitmap (Results 1 – 6 of 6) sorted by relevance
/drivers/lightnvm/ |
D | pblk-recovery.c | 66 if (test_bit(pos, line->blk_bitmap)) in pblk_recov_l2p_from_emeta() 119 int nr_bb = bitmap_weight(line->blk_bitmap, lm->blk_per_line); in pblk_sec_in_open_line() 240 while (test_bit(pos, line->blk_bitmap)) { in pblk_recov_pad_line() 327 i = find_first_zero_bit(line->blk_bitmap, blk_in_line); in pblk_line_wps_are_unbalanced() 342 i = find_next_zero_bit(line->blk_bitmap, blk_in_line, i + 1); in pblk_line_wps_are_unbalanced() 348 i = find_next_zero_bit(line->blk_bitmap, blk_in_line, i + 1); in pblk_line_wps_are_unbalanced() 412 while (test_bit(pos, line->blk_bitmap)) { in pblk_recov_scan_oob() 560 if (!test_bit(pos, line->blk_bitmap)) in pblk_line_emeta_start() 624 smeta_blk = find_first_zero_bit(line->blk_bitmap, lm->blk_per_line); in pblk_line_was_written()
|
D | pblk-map.c | 187 bitmap_weight(d_line->blk_bitmap, lm->blk_per_line)) { in pblk_map_erase_rq() 191 bit = find_next_bit(d_line->blk_bitmap, in pblk_map_erase_rq()
|
D | pblk-core.c | 62 if (test_and_set_bit(pos, line->blk_bitmap)) in pblk_mark_bb() 670 bit = find_first_zero_bit(line->blk_bitmap, lm->blk_per_line); in pblk_line_smeta_start() 811 while (test_bit(pos, line->blk_bitmap)) { in pblk_line_emeta_read() 967 bitmap_weight(line->blk_bitmap, lm->blk_per_line); in pblk_line_init_metadata() 1073 while ((bit = find_next_bit(line->blk_bitmap, lm->blk_per_line, in pblk_line_init_bb() 1084 bit = find_first_zero_bit(line->blk_bitmap, lm->blk_per_line); in pblk_line_init_bb() 1164 bitmap_copy(line->erase_bitmap, line->blk_bitmap, lm->blk_per_line); in pblk_line_prepare() 1296 bit = find_first_zero_bit(line->blk_bitmap, lm->blk_per_line); in pblk_line_get() 1798 memcpy(emeta_to_bb(emeta_buf), line->blk_bitmap, lm->blk_bitmap_len); in pblk_line_close_meta()
|
D | pblk-init.c | 559 kfree(line->blk_bitmap); in pblk_line_meta_free() 744 set_bit(pos, line->blk_bitmap); in pblk_setup_line_meta_chk() 787 line->blk_bitmap = kzalloc(lm->blk_bitmap_len, GFP_KERNEL); in pblk_alloc_line_meta() 788 if (!line->blk_bitmap) in pblk_alloc_line_meta() 812 kfree(line->blk_bitmap); in pblk_alloc_line_meta()
|
D | pblk-write.c | 460 test_bit(pos_opt, data_line->blk_bitmap)) in pblk_valid_meta_ppa()
|
D | pblk.h | 459 unsigned long *blk_bitmap; /* Bitmap for valid/invalid blocks */ member
|