Lines Matching refs:devt
149 static inline struct zcdn_device *find_zcdndev_by_devt(dev_t devt) in find_zcdndev_by_devt() argument
151 struct device *dev = class_find_device_by_devt(zcrypt_class, devt); in find_zcdndev_by_devt()
360 __func__, MAJOR(dev->devt), MINOR(dev->devt)); in zcdn_device_release()
367 dev_t devt; in zcdn_create() local
386 devt = MKDEV(MAJOR(zcrypt_devt), MINOR(zcrypt_devt) + i); in zcdn_create()
387 zcdndev = find_zcdndev_by_devt(devt); in zcdn_create()
406 zcdndev->device.devt = devt; in zcdn_create()
411 rc = dev_set_name(&zcdndev->device, ZCRYPT_NAME "_%d", (int)MINOR(devt)); in zcdn_create()
423 __func__, MAJOR(devt), MINOR(devt)); in zcdn_create()
460 dev_t devt; in zcdn_destroy_all() local
465 devt = MKDEV(MAJOR(zcrypt_devt), MINOR(zcrypt_devt) + i); in zcdn_destroy_all()
466 zcdndev = find_zcdndev_by_devt(devt); in zcdn_destroy_all()