Searched refs:ns_ida (Results 1 – 5 of 5) sorted by relevance
/Linux-v5.4/drivers/nvdimm/ |
D | namespace_devs.c | 28 ida_simple_remove(&nd_region->ns_ida, nspm->id); in namespace_pmem_release() 40 ida_simple_remove(&nd_region->ns_ida, nsblk->id); in namespace_blk_release() 2074 nsblk->id = ida_simple_get(&nd_region->ns_ida, 0, 0, GFP_KERNEL); in nd_namespace_blk_create() 2106 nspm->id = ida_simple_get(&nd_region->ns_ida, 0, 0, GFP_KERNEL); in nd_namespace_pmem_create() 2595 id = ida_simple_get(&nd_region->ns_ida, 0, 0, in nd_region_register_namespaces() 2602 id = ida_simple_get(&nd_region->ns_ida, 0, 0, in nd_region_register_namespaces()
|
D | nd.h | 140 struct ida ns_ida; member
|
D | region_devs.c | 1025 ida_init(&nd_region->ns_ida); in nd_region_create()
|
/Linux-v5.4/drivers/nvme/host/ |
D | nvme.h | 311 struct ida ns_ida; member
|
D | core.c | 439 ida_simple_remove(&head->subsys->ns_ida, head->instance); in nvme_free_ns_head() 2496 ida_destroy(&subsys->ns_ida); in nvme_destroy_subsystem() 2664 ida_init(&subsys->ns_ida); in nvme_init_subsystem() 3331 ret = ida_simple_get(&ctrl->subsys->ns_ida, 1, 0, GFP_KERNEL); in nvme_alloc_ns_head() 3366 ida_simple_remove(&ctrl->subsys->ns_ida, head->instance); in nvme_alloc_ns_head()
|