Searched refs:lun_bitmap (Results 1 – 5 of 5) sorted by relevance
/linux-4.19.296/drivers/lightnvm/ |
D | pblk-map.c | 23 unsigned long *lun_bitmap, in pblk_map_page_data() argument 82 pblk_down_rq(pblk, ppa_list, nr_secs, lun_bitmap); in pblk_map_page_data() 87 unsigned long *lun_bitmap, unsigned int valid_secs, in pblk_map_rq() argument 98 lun_bitmap, &meta_list[i], map_secs)) { in pblk_map_rq() 108 unsigned int sentry, unsigned long *lun_bitmap, in pblk_map_erase_rq() argument 123 lun_bitmap, &meta_list[i], map_secs)) { in pblk_map_erase_rq() 136 return pblk_map_rq(pblk, rqd, sentry, lun_bitmap, in pblk_map_erase_rq() 150 return pblk_map_rq(pblk, rqd, sentry, lun_bitmap, in pblk_map_erase_rq()
|
D | pblk-write.c | 85 pblk_up_rq(pblk, rqd->ppa_list, rqd->nr_ppas, c_ctx->lun_bitmap); in pblk_complete_write() 192 r_ctx->lun_bitmap = NULL; in pblk_queue_resubmit() 225 pblk_up_rq(pblk, rqd->ppa_list, rqd->nr_ppas, c_ctx->lun_bitmap); in pblk_submit_rec() 331 unsigned long *lun_bitmap; in pblk_setup_w_rq() local 334 lun_bitmap = kzalloc(lm->lun_bitmap_len, GFP_KERNEL); in pblk_setup_w_rq() 335 if (!lun_bitmap) in pblk_setup_w_rq() 337 c_ctx->lun_bitmap = lun_bitmap; in pblk_setup_w_rq() 341 kfree(lun_bitmap); in pblk_setup_w_rq() 346 pblk_map_rq(pblk, rqd, c_ctx->sentry, lun_bitmap, valid, 0); in pblk_setup_w_rq() 348 pblk_map_erase_rq(pblk, rqd, c_ctx->sentry, lun_bitmap, in pblk_setup_w_rq() [all …]
|
D | pblk.h | 109 unsigned long *lun_bitmap; /* Luns used on current request */ member 370 __le64 lun_bitmap[]; member 447 unsigned long *lun_bitmap; /* Bitmap for LUNs mapped in line */ member 824 unsigned long *lun_bitmap); 827 unsigned long *lun_bitmap); 858 unsigned int sentry, unsigned long *lun_bitmap, 861 unsigned long *lun_bitmap, unsigned int valid_secs,
|
D | pblk-core.c | 266 kfree(((struct pblk_c_ctx *)nvm_rq_to_pdu(rqd))->lun_bitmap); in pblk_free_rqd() 1009 line->lun_bitmap = ((void *)(smeta_buf)) + sizeof(struct line_smeta); in pblk_line_init_metadata() 1012 bitmap_set(line->lun_bitmap, 0, lm->lun_bitmap_len); in pblk_line_init_metadata() 1027 memcpy(line->lun_bitmap, cur->lun_bitmap, lm->lun_bitmap_len); in pblk_line_init_metadata() 1888 unsigned long *lun_bitmap) in pblk_down_rq() argument 1897 if (test_and_set_bit(pos, lun_bitmap)) in pblk_down_rq() 1923 unsigned long *lun_bitmap) in pblk_up_rq() argument 1931 while ((bit = find_next_bit(lun_bitmap, num_lun, bit + 1)) < num_lun) { in pblk_up_rq()
|
D | pblk-recovery.c | 837 line->lun_bitmap = ((void *)(smeta_buf)) + in pblk_recov_l2p()
|