Home
last modified time | relevance | path

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

/Linux-v5.15/drivers/nvdimm/
Dbus.c29 struct class *nd_class; variable
741 dev->class = nd_class; in nvdimm_bus_create_ndctl()
764 device_destroy(nd_class, MKDEV(nvdimm_bus_major, nvdimm_bus->id)); in nvdimm_bus_destroy_ndctl()
1319 nd_class = class_create(THIS_MODULE, "nd"); in nvdimm_bus_init()
1320 if (IS_ERR(nd_class)) { in nvdimm_bus_init()
1321 rc = PTR_ERR(nd_class); in nvdimm_bus_init()
1332 class_destroy(nd_class); in nvdimm_bus_init()
1346 class_destroy(nd_class); in nvdimm_bus_exit()
Dnd-core.h188 extern struct class *nd_class;
211 else if (dev->class && dev->class == nd_class) in debug_nvdimm_lock()