Home
last modified time | relevance | path

Searched refs:lun_bitmap (Results 1 – 5 of 5) sorted by relevance

/drivers/lightnvm/
Dpblk-map.c24 unsigned long *lun_bitmap, in pblk_map_page_data() argument
92 pblk_down_rq(pblk, ppa_list[0], lun_bitmap); in pblk_map_page_data()
97 unsigned long *lun_bitmap, unsigned int valid_secs, in pblk_map_rq() argument
113 lun_bitmap, meta_buffer, map_secs); in pblk_map_rq()
123 unsigned int sentry, unsigned long *lun_bitmap, in pblk_map_erase_rq() argument
144 lun_bitmap, meta_buffer, map_secs); in pblk_map_erase_rq()
155 return pblk_map_rq(pblk, rqd, sentry, lun_bitmap, in pblk_map_erase_rq()
170 return pblk_map_rq(pblk, rqd, sentry, lun_bitmap, in pblk_map_erase_rq()
Dpblk-write.c86 pblk_up_rq(pblk, c_ctx->lun_bitmap); in pblk_complete_write()
194 r_ctx->lun_bitmap = NULL; in pblk_queue_resubmit()
222 pblk_up_rq(pblk, c_ctx->lun_bitmap); in pblk_submit_rec()
324 unsigned long *lun_bitmap; in pblk_setup_w_rq() local
327 lun_bitmap = kzalloc(lm->lun_bitmap_len, GFP_KERNEL); in pblk_setup_w_rq()
328 if (!lun_bitmap) in pblk_setup_w_rq()
330 c_ctx->lun_bitmap = lun_bitmap; in pblk_setup_w_rq()
334 kfree(lun_bitmap); in pblk_setup_w_rq()
339 ret = pblk_map_rq(pblk, rqd, c_ctx->sentry, lun_bitmap, in pblk_setup_w_rq()
342 ret = pblk_map_erase_rq(pblk, rqd, c_ctx->sentry, lun_bitmap, in pblk_setup_w_rq()
[all …]
Dpblk.h111 unsigned long *lun_bitmap; /* Luns used on current request */ member
366 __le64 lun_bitmap[]; member
444 unsigned long *lun_bitmap; /* Bitmap for LUNs mapped in line */ member
818 unsigned long *lun_bitmap);
821 void pblk_up_rq(struct pblk *pblk, unsigned long *lun_bitmap);
854 unsigned int sentry, unsigned long *lun_bitmap,
857 unsigned long *lun_bitmap, unsigned int valid_secs,
Dpblk-core.c303 kfree(((struct pblk_c_ctx *)nvm_rq_to_pdu(rqd))->lun_bitmap); in pblk_free_rqd()
985 line->lun_bitmap = ((void *)(smeta_buf)) + sizeof(struct line_smeta); in pblk_line_init_metadata()
988 bitmap_set(line->lun_bitmap, 0, lm->lun_bitmap_len); in pblk_line_init_metadata()
1003 memcpy(line->lun_bitmap, cur->lun_bitmap, lm->lun_bitmap_len); in pblk_line_init_metadata()
1907 unsigned long *lun_bitmap) in pblk_down_rq() argument
1916 if (test_and_set_bit(pos, lun_bitmap)) in pblk_down_rq()
1933 void pblk_up_rq(struct pblk *pblk, unsigned long *lun_bitmap) in pblk_up_rq() argument
1941 while ((bit = find_next_bit(lun_bitmap, num_lun, bit + 1)) < num_lun) { in pblk_up_rq()
Dpblk-recovery.c684 line->lun_bitmap = ((void *)(smeta_buf)) + in pblk_recov_l2p()