Home
last modified time | relevance | path

Searched refs:lba_list (Results 1 – 11 of 11) sorted by relevance

/Linux-v5.10/drivers/lightnvm/
Dpblk-gc.c137 __le64 *lba_list; in get_lba_list_from_emeta() local
166 lba_list = kvmalloc(lba_list_size, GFP_KERNEL); in get_lba_list_from_emeta()
168 if (lba_list) in get_lba_list_from_emeta()
169 memcpy(lba_list, emeta_to_lbas(pblk, emeta_buf), lba_list_size); in get_lba_list_from_emeta()
173 return lba_list; in get_lba_list_from_emeta()
188 __le64 *lba_list; in pblk_gc_line_prepare_ws() local
197 lba_list = line->w_err_gc->lba_list; in pblk_gc_line_prepare_ws()
198 line->w_err_gc->lba_list = NULL; in pblk_gc_line_prepare_ws()
200 lba_list = get_lba_list_from_emeta(pblk, line); in pblk_gc_line_prepare_ws()
201 if (!lba_list) { in pblk_gc_line_prepare_ws()
[all …]
Dpblk-read.c143 u64 *lba_list, int nr_lbas) in pblk_read_check_rand() argument
154 u64 lba = lba_list[i]; in pblk_read_check_rand()
350 struct pblk_line *line, u64 *lba_list, in read_ppalist_rq_gc() argument
358 pblk_lookup_l2p_rand(pblk, ppa_list_l2p, lba_list, nr_secs); in read_ppalist_rq_gc()
361 if (lba_list[i] == ADDR_EMPTY) in read_ppalist_rq_gc()
366 paddr_list_gc[i] = lba_list[i] = ADDR_EMPTY; in read_ppalist_rq_gc()
428 gc_rq->lba_list, in pblk_submit_read_gc()
435 gc_rq->lba_list[0], in pblk_submit_read_gc()
450 pblk_read_check_rand(pblk, &rqd, gc_rq->lba_list, gc_rq->nr_secs); in pblk_submit_read_gc()
Dpblk-map.c31 __le64 *lba_list; in pblk_map_page_data() local
56 lba_list = emeta_to_lbas(pblk, emeta->buf); in pblk_map_page_data()
80 lba_list[paddr] = cpu_to_le64(w_ctx->lba); in pblk_map_page_data()
81 if (lba_list[paddr] != addr_empty) in pblk_map_page_data()
86 lba_list[paddr] = addr_empty; in pblk_map_page_data()
Dpblk-recovery.c45 __le64 *lba_list; in pblk_recov_l2p_from_emeta() local
50 lba_list = emeta_to_lbas(pblk, emeta_buf); in pblk_recov_l2p_from_emeta()
51 if (!lba_list) in pblk_recov_l2p_from_emeta()
69 if (le64_to_cpu(lba_list[i]) == ADDR_EMPTY) { in pblk_recov_l2p_from_emeta()
80 pblk_update_map(pblk, le64_to_cpu(lba_list[i]), ppa); in pblk_recov_l2p_from_emeta()
183 __le64 *lba_list = emeta_to_lbas(pblk, line->emeta->buf); in pblk_recov_pad_line() local
254 lba_list[w_ptr] = addr_empty; in pblk_recov_pad_line()
365 __le64 *lba_list; in pblk_recov_scan_oob() local
383 lba_list = emeta_to_lbas(pblk, line->emeta->buf); in pblk_recov_scan_oob()
456 lba_list[paddr++] = cpu_to_le64(lba); in pblk_recov_scan_oob()
Dpblk-cache.c112 if (gc_rq->lba_list[i] == ADDR_EMPTY) in pblk_write_gc_to_cache()
115 w_ctx.lba = gc_rq->lba_list[i]; in pblk_write_gc_to_cache()
Dpblk-write.c114 __le64 *lba_list; in pblk_map_remaining() local
120 lba_list = emeta_to_lbas(pblk, line->emeta->buf); in pblk_map_remaining()
130 if (n < rqd_ppas && lba_list[paddr] != addr_empty) in pblk_map_remaining()
133 lba_list[paddr] = addr_empty; in pblk_map_remaining()
Dpblk-core.c723 __le64 *lba_list = emeta_to_lbas(pblk, line->emeta->buf); in pblk_line_smeta_write() local
743 meta->lba = lba_list[paddr] = addr_empty; in pblk_line_smeta_write()
1842 w_err_gc->lba_list = kvmalloc(lba_list_size, GFP_KERNEL); in pblk_save_lba_list()
1843 memcpy(w_err_gc->lba_list, emeta_to_lbas(pblk, emeta->buf), in pblk_save_lba_list()
2095 u64 *lba_list, int nr_secs) in pblk_lookup_l2p_rand() argument
2102 lba = lba_list[i]; in pblk_lookup_l2p_rand()
Dpblk.h219 u64 lba_list[NVM_MAX_VLBA]; member
429 __le64 *lba_list; member
837 u64 *lba_list, int nr_secs);
Dpblk-init.c568 kvfree(w_err_gc->lba_list); in pblk_line_meta_free()
/Linux-v5.10/drivers/target/
Dtarget_core_configfs.c2412 struct list_head lba_list; in target_dev_lba_map_store() local
2424 INIT_LIST_HEAD(&lba_list); in target_dev_lba_map_store()
2459 lba_map = core_alua_allocate_lba_map(&lba_list, in target_dev_lba_map_store()
2513 core_alua_free_lba_map(&lba_list); in target_dev_lba_map_store()
2516 core_alua_set_lba_map(dev, &lba_list, in target_dev_lba_map_store()
Dtarget_core_alua.c1341 core_alua_free_lba_map(struct list_head *lba_list) in core_alua_free_lba_map() argument
1346 list_for_each_entry_safe(lba_map, lba_map_tmp, lba_list, in core_alua_free_lba_map()