Home
last modified time | relevance | path

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

/Linux-v6.6/samples/vfio-mdev/
Dmtty.c70 dev_t vd_devt; member
1306 ret = alloc_chrdev_region(&mtty_dev.vd_devt, 0, MINORMASK + 1, in mtty_dev_init()
1315 cdev_add(&mtty_dev.vd_cdev, mtty_dev.vd_devt, MINORMASK + 1); in mtty_dev_init()
1317 pr_info("major_number:%d\n", MAJOR(mtty_dev.vd_devt)); in mtty_dev_init()
1355 unregister_chrdev_region(mtty_dev.vd_devt, MINORMASK + 1); in mtty_dev_init()
1368 unregister_chrdev_region(mtty_dev.vd_devt, MINORMASK + 1); in mtty_dev_exit()