Lines Matching refs:devt
155 static inline struct zcdn_device *find_zcdndev_by_devt(dev_t devt) in find_zcdndev_by_devt() argument
157 struct device *dev = class_find_device_by_devt(zcrypt_class, devt); in find_zcdndev_by_devt()
345 __func__, MAJOR(dev->devt), MINOR(dev->devt)); in zcdn_device_release()
352 dev_t devt; in zcdn_create() local
372 devt = MKDEV(MAJOR(zcrypt_devt), MINOR(zcrypt_devt) + i); in zcdn_create()
373 zcdndev = find_zcdndev_by_devt(devt); in zcdn_create()
392 zcdndev->device.devt = devt; in zcdn_create()
398 ZCRYPT_NAME "_%d", (int) MINOR(devt)); in zcdn_create()
411 __func__, MAJOR(devt), MINOR(devt)); in zcdn_create()
448 dev_t devt; in zcdn_destroy_all() local
453 devt = MKDEV(MAJOR(zcrypt_devt), MINOR(zcrypt_devt) + i); in zcdn_destroy_all()
454 zcdndev = find_zcdndev_by_devt(devt); in zcdn_destroy_all()