Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/lightnvm/
Dcore.c37 struct nvm_ch_map { struct
44 struct nvm_ch_map *chnls; argument
118 struct nvm_ch_map *ch_map = &dev_map->chnls[i]; in nvm_remove_tgt_dev()
167 dev_map->chnls = kcalloc(num_ch, sizeof(struct nvm_ch_map), GFP_KERNEL); in nvm_create_tgt_dev()
178 struct nvm_ch_map *ch_rmap = &dev_rmap->chnls[i + bch]; in nvm_create_tgt_dev()
180 struct nvm_ch_map *ch_map = &dev_map->chnls[i]; in nvm_create_tgt_dev()
507 rmap->chnls = kcalloc(dev->geo.num_ch, sizeof(struct nvm_ch_map), in nvm_register_map()
513 struct nvm_ch_map *ch_rmap; in nvm_register_map()
559 struct nvm_ch_map *ch_map = &dev_map->chnls[p->a.ch]; in nvm_map_to_dev()
570 struct nvm_ch_map *ch_rmap = &dev_rmap->chnls[p->a.ch]; in nvm_map_to_tgt()