Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/nvdimm/
Dnd.h405 struct ida ns_ida; member
Dnamespace_devs.c29 ida_simple_remove(&nd_region->ns_ida, nspm->id); in namespace_pmem_release()
1812 nspm->id = ida_simple_get(&nd_region->ns_ida, 0, 0, GFP_KERNEL); in nd_namespace_pmem_create()
2190 id = ida_simple_get(&nd_region->ns_ida, 0, 0, in nd_region_register_namespaces()
Dregion_devs.c1026 ida_init(&nd_region->ns_ida); in nd_region_create()
/linux-6.1.9/drivers/nvme/host/
Dnvme.h399 struct ida ns_ida; member
Dcore.c618 ida_free(&head->subsys->ns_ida, head->instance); in nvme_free_ns_head()
2757 ida_destroy(&subsys->ns_ida); in nvme_destroy_subsystem()
2961 ida_init(&subsys->ns_ida); in nvme_init_subsystem()
4044 ret = ida_alloc_min(&ctrl->subsys->ns_ida, 1, GFP_KERNEL); in nvme_alloc_ns_head()
4077 ida_free(&ctrl->subsys->ns_ida, head->instance); in nvme_alloc_ns_head()