Home
last modified time | relevance | path

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

/Linux-v5.15/samples/vfio-mdev/
Dmtty.c73 struct class *vd_class; member
1372 mtty_dev.vd_class = class_create(THIS_MODULE, MTTY_CLASS_NAME); in mtty_dev_init()
1374 if (IS_ERR(mtty_dev.vd_class)) { in mtty_dev_init()
1376 ret = PTR_ERR(mtty_dev.vd_class); in mtty_dev_init()
1380 mtty_dev.dev.class = mtty_dev.vd_class; in mtty_dev_init()
1396 class_destroy(mtty_dev.vd_class); in mtty_dev_init()
1415 class_destroy(mtty_dev.vd_class); in mtty_dev_exit()
1416 mtty_dev.vd_class = NULL; in mtty_dev_exit()