Lines Matching refs:nvm_dev
74 void *nvm_dev_dma_alloc(struct nvm_dev *dev, gfp_t mem_flags, in nvm_dev_dma_alloc()
82 void nvm_dev_dma_free(struct nvm_dev *dev, void *ppa_list, in nvm_dev_dma_free()
100 struct nvmm_type *nvm_init_mgr(struct nvm_dev *dev) in nvm_init_mgr()
122 struct nvm_dev *dev; in nvm_register_mgr()
158 static struct nvm_dev *nvm_find_nvm_dev(const char *name) in nvm_find_nvm_dev()
160 struct nvm_dev *dev; in nvm_find_nvm_dev()
169 struct nvm_block *nvm_get_blk(struct nvm_dev *dev, struct nvm_lun *lun, in nvm_get_blk()
177 void nvm_put_blk(struct nvm_dev *dev, struct nvm_block *blk) in nvm_put_blk()
183 int nvm_submit_io(struct nvm_dev *dev, struct nvm_rq *rqd) in nvm_submit_io()
189 int nvm_erase_blk(struct nvm_dev *dev, struct nvm_block *blk) in nvm_erase_blk()
195 static int nvm_core_init(struct nvm_dev *dev) in nvm_core_init()
245 static void nvm_free(struct nvm_dev *dev) in nvm_free()
254 static int nvm_init(struct nvm_dev *dev) in nvm_init()
296 static void nvm_exit(struct nvm_dev *dev) in nvm_exit()
308 struct nvm_dev *dev; in nvm_register()
314 dev = kzalloc(sizeof(struct nvm_dev), GFP_KERNEL); in nvm_register()
356 struct nvm_dev *dev; in nvm_unregister()
379 static int nvm_create_target(struct nvm_dev *dev, in nvm_create_target()
482 struct nvm_dev *dev; in __nvm_configure_create()
511 struct nvm_dev *dev; in __nvm_configure_remove()
536 struct nvm_dev *dev; in nvm_configure_show()
634 struct nvm_dev *dev; in nvm_configure_get()
705 struct nvm_dev *dev; in nvm_ioctl_get_devices()