vd_devt 72 samples/vfio-mdev/mtty.c dev_t vd_devt; vd_devt 1419 samples/vfio-mdev/mtty.c ret = alloc_chrdev_region(&mtty_dev.vd_devt, 0, MINORMASK + 1, vd_devt 1428 samples/vfio-mdev/mtty.c cdev_add(&mtty_dev.vd_cdev, mtty_dev.vd_devt, MINORMASK + 1); vd_devt 1430 samples/vfio-mdev/mtty.c pr_info("major_number:%d\n", MAJOR(mtty_dev.vd_devt)); vd_devt 1465 samples/vfio-mdev/mtty.c unregister_chrdev_region(mtty_dev.vd_devt, MINORMASK + 1); vd_devt 1479 samples/vfio-mdev/mtty.c unregister_chrdev_region(mtty_dev.vd_devt, MINORMASK + 1);