Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/nvdimm/
Dnamespace_devs.c29 ida_simple_remove(&nd_region->ns_ida, nspm->id); in namespace_pmem_release()
41 ida_simple_remove(&nd_region->ns_ida, nsblk->id); in namespace_blk_release()
2117 nsblk->id = ida_simple_get(&nd_region->ns_ida, 0, 0, GFP_KERNEL); in nd_namespace_blk_create()
2148 nspm->id = ida_simple_get(&nd_region->ns_ida, 0, 0, GFP_KERNEL); in nd_namespace_pmem_create()
2636 id = ida_simple_get(&nd_region->ns_ida, 0, 0, in nd_region_register_namespaces()
2643 id = ida_simple_get(&nd_region->ns_ida, 0, 0, in nd_region_register_namespaces()
Dnd.h140 struct ida ns_ida; member
Dregion_devs.c1121 ida_init(&nd_region->ns_ida); in nd_region_create()
/Linux-v5.10/drivers/nvme/host/
Dnvme.h366 struct ida ns_ida; member
Dcore.c482 ida_simple_remove(&head->subsys->ns_ida, head->instance); in nvme_free_ns_head()
2717 ida_destroy(&subsys->ns_ida); in nvme_destroy_subsystem()
2884 ida_init(&subsys->ns_ida); in nvme_init_subsystem()
3681 ret = ida_simple_get(&ctrl->subsys->ns_ida, 1, 0, GFP_KERNEL); in nvme_alloc_ns_head()
3720 ida_simple_remove(&ctrl->subsys->ns_ida, head->instance); in nvme_alloc_ns_head()