Lines Matching refs:zcrypt_class
121 static struct class *zcrypt_class; variable
144 struct device *dev = class_find_device_by_name(zcrypt_class, name); in find_zcdndev_by_name()
156 struct device *dev = class_find_device_by_devt(zcrypt_class, devt); in find_zcdndev_by_devt()
390 zcdndev->device.class = zcrypt_class; in zcdn_create()
1782 zcrypt_class = class_create(THIS_MODULE, ZCRYPT_NAME); in zcdn_init()
1783 if (IS_ERR(zcrypt_class)) { in zcdn_init()
1784 rc = PTR_ERR(zcrypt_class); in zcdn_init()
1787 zcrypt_class->dev_release = zcdn_device_release; in zcdn_init()
1803 rc = class_create_file(zcrypt_class, &class_attr_zcdn_create); in zcdn_init()
1806 rc = class_create_file(zcrypt_class, &class_attr_zcdn_destroy); in zcdn_init()
1813 class_remove_file(zcrypt_class, &class_attr_zcdn_create); in zcdn_init()
1819 class_destroy(zcrypt_class); in zcdn_init()
1826 class_remove_file(zcrypt_class, &class_attr_zcdn_create); in zcdn_exit()
1827 class_remove_file(zcrypt_class, &class_attr_zcdn_destroy); in zcdn_exit()
1831 class_destroy(zcrypt_class); in zcdn_exit()