Searched refs:zcrypt_class (Results 1 – 1 of 1) sorted by relevance
122 static struct class *zcrypt_class; variable145 struct device *dev = class_find_device_by_name(zcrypt_class, name); in find_zcdndev_by_name()157 struct device *dev = class_find_device_by_devt(zcrypt_class, devt); in find_zcdndev_by_devt()434 zcdndev->device.class = zcrypt_class; in zcdn_create()2182 zcrypt_class = class_create(THIS_MODULE, ZCRYPT_NAME); in zcdn_init()2183 if (IS_ERR(zcrypt_class)) { in zcdn_init()2184 rc = PTR_ERR(zcrypt_class); in zcdn_init()2187 zcrypt_class->dev_release = zcdn_device_release; in zcdn_init()2203 rc = class_create_file(zcrypt_class, &class_attr_zcdn_create); in zcdn_init()2206 rc = class_create_file(zcrypt_class, &class_attr_zcdn_destroy); in zcdn_init()[all …]