Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/include/linux/
Dlightnvm.h83 struct nvm_tgt_dev;
262 struct nvm_tgt_dev *dev;
283 struct nvm_tgt_dev *dev;
400 struct nvm_tgt_dev { struct
597 static inline int nvm_next_ppa_in_chk(struct nvm_tgt_dev *dev, in nvm_next_ppa_in_chk()
635 typedef void *(nvm_tgt_init_fn)(struct nvm_tgt_dev *, struct gendisk *,
678 extern int nvm_get_chunk_meta(struct nvm_tgt_dev *, struct ppa_addr,
680 extern int nvm_set_chunk_meta(struct nvm_tgt_dev *, struct ppa_addr *,
682 extern int nvm_submit_io(struct nvm_tgt_dev *, struct nvm_rq *, void *);
683 extern int nvm_submit_io_sync(struct nvm_tgt_dev *, struct nvm_rq *, void *);
/kernel/linux/linux-5.10/drivers/lightnvm/
Dcore.c101 static void nvm_remove_tgt_dev(struct nvm_tgt_dev *tgt_dev, int clear) in nvm_remove_tgt_dev()
132 static struct nvm_tgt_dev *nvm_create_tgt_dev(struct nvm_dev *dev, in nvm_create_tgt_dev()
136 struct nvm_tgt_dev *tgt_dev = NULL; in nvm_create_tgt_dev()
203 tgt_dev = kmalloc(sizeof(struct nvm_tgt_dev), GFP_KERNEL); in nvm_create_tgt_dev()
312 struct nvm_tgt_dev *tgt_dev; in nvm_create_tgt()
563 static void nvm_map_to_dev(struct nvm_tgt_dev *tgt_dev, struct ppa_addr *p) in nvm_map_to_dev()
573 static void nvm_map_to_tgt(struct nvm_tgt_dev *tgt_dev, struct ppa_addr *p) in nvm_map_to_tgt()
584 static void nvm_ppa_tgt_to_dev(struct nvm_tgt_dev *tgt_dev, in nvm_ppa_tgt_to_dev()
595 static void nvm_ppa_dev_to_tgt(struct nvm_tgt_dev *tgt_dev, in nvm_ppa_dev_to_tgt()
606 static void nvm_rq_tgt_to_dev(struct nvm_tgt_dev *tgt_dev, struct nvm_rq *rqd) in nvm_rq_tgt_to_dev()
[all …]
Dpblk-core.c30 struct nvm_tgt_dev *dev = pblk->dev; in pblk_line_mark_bb()
53 struct nvm_tgt_dev *dev = pblk->dev; in pblk_mark_bb()
81 struct nvm_tgt_dev *dev = pblk->dev; in __pblk_end_io_erase()
128 struct nvm_tgt_dev *dev = pblk->dev; in pblk_get_chunk_meta()
155 struct nvm_tgt_dev *dev = pblk->dev; in pblk_chunk_get_off()
243 struct nvm_tgt_dev *dev = pblk->dev; in pblk_alloc_rqd_meta()
261 struct nvm_tgt_dev *dev = pblk->dev; in pblk_free_rqd_meta()
512 struct nvm_tgt_dev *dev = pblk->dev; in pblk_submit_io()
546 struct nvm_tgt_dev *dev = pblk->dev; in pblk_submit_io_sync()
664 struct nvm_tgt_dev *dev = pblk->dev; in pblk_line_smeta_start()
[all …]
Dpblk-recovery.c40 struct nvm_tgt_dev *dev = pblk->dev; in pblk_recov_l2p_from_emeta()
176 struct nvm_tgt_dev *dev = pblk->dev; in pblk_recov_pad_line()
293 struct nvm_tgt_dev *dev = pblk->dev; in pblk_pad_distance()
305 struct nvm_tgt_dev *dev = pblk->dev; in pblk_get_stripe_chunk()
357 struct nvm_tgt_dev *dev = pblk->dev; in pblk_recov_scan_oob()
479 struct nvm_tgt_dev *dev = pblk->dev; in pblk_recov_l2p_from_oob()
545 struct nvm_tgt_dev *dev = pblk->dev; in pblk_line_emeta_start()
615 struct nvm_tgt_dev *dev = pblk->dev; in pblk_line_was_written()
Dpblk.h593 struct nvm_tgt_dev *dev;
979 struct nvm_tgt_dev *dev = pblk->dev; in addr_to_gen_ppa()
1019 struct nvm_tgt_dev *dev = pblk->dev; in pblk_dev_ppa_to_chunk()
1030 struct nvm_tgt_dev *dev = pblk->dev; in pblk_dev_ppa_to_chunk_addr()
1038 struct nvm_tgt_dev *dev = pblk->dev; in pblk_dev_ppa_to_line_addr()
1068 struct nvm_tgt_dev *dev = pblk->dev; in pblk_ppa32_to_ppa64()
1075 struct nvm_tgt_dev *dev = pblk->dev; in pblk_ppa64_to_ppa32()
1230 static inline int pblk_boundary_ppa_checks(struct nvm_tgt_dev *tgt_dev, in pblk_boundary_ppa_checks()
1267 struct nvm_tgt_dev *dev = pblk->dev; in pblk_check_io()
Dpblk-init.c184 struct nvm_tgt_dev *dev = pblk->dev; in pblk_rwb_init()
276 struct nvm_tgt_dev *dev = pblk->dev; in pblk_set_addrf()
378 struct nvm_tgt_dev *dev = pblk->dev; in pblk_core_init()
593 struct nvm_tgt_dev *dev = pblk->dev; in pblk_luns_init()
629 struct nvm_tgt_dev *dev = pblk->dev; in calc_emeta_len()
655 struct nvm_tgt_dev *dev = pblk->dev; in pblk_set_provision()
712 struct nvm_tgt_dev *dev = pblk->dev; in pblk_setup_line_meta_chk()
823 struct nvm_tgt_dev *dev = pblk->dev; in pblk_line_mg_init()
940 struct nvm_tgt_dev *dev = pblk->dev; in pblk_line_meta_init()
1149 static void *pblk_init(struct nvm_tgt_dev *dev, struct gendisk *tdisk, in pblk_init()
Dpblk-sysfs.c26 struct nvm_tgt_dev *dev = pblk->dev; in pblk_sysfs_luns_show()
115 struct nvm_tgt_dev *dev = pblk->dev; in pblk_sysfs_ppaf()
166 struct nvm_tgt_dev *dev = pblk->dev; in pblk_sysfs_lines()
311 struct nvm_tgt_dev *dev = pblk->dev; in pblk_sysfs_lines_info()
Dpblk-write.c369 struct nvm_tgt_dev *dev = pblk->dev; in pblk_submit_meta_io()
437 struct nvm_tgt_dev *dev = pblk->dev; in pblk_valid_meta_ppa()
522 struct nvm_tgt_dev *dev = pblk->dev; in pblk_submit_io_set()
Dpblk-map.c126 struct nvm_tgt_dev *dev = pblk->dev; in pblk_map_erase_rq()
Dpblk-rl.c213 struct nvm_tgt_dev *dev = pblk->dev; in pblk_rl_init()
Dpblk-gc.c183 struct nvm_tgt_dev *dev = pblk->dev; in pblk_gc_line_prepare_ws()