Home
last modified time | relevance | path

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

/Linux-v5.10/arch/x86/kernel/cpu/resctrl/
Dpseudo_lock.c48 static struct class *pseudo_lock_class; variable
1344 dev = device_create(pseudo_lock_class, NULL, in rdtgroup_pseudo_lock_create()
1374 device_destroy(pseudo_lock_class, MKDEV(pseudo_lock_major, new_minor)); in rdtgroup_pseudo_lock_create()
1415 device_destroy(pseudo_lock_class, MKDEV(pseudo_lock_major, plr->minor)); in rdtgroup_pseudo_lock_remove()
1571 pseudo_lock_class = class_create(THIS_MODULE, "pseudo_lock"); in rdt_pseudo_lock_init()
1572 if (IS_ERR(pseudo_lock_class)) { in rdt_pseudo_lock_init()
1573 ret = PTR_ERR(pseudo_lock_class); in rdt_pseudo_lock_init()
1578 pseudo_lock_class->devnode = pseudo_lock_devnode; in rdt_pseudo_lock_init()
1584 class_destroy(pseudo_lock_class); in rdt_pseudo_lock_release()
1585 pseudo_lock_class = NULL; in rdt_pseudo_lock_release()