Lines Matching refs:zcrypt_class
123 static struct class *zcrypt_class; variable
146 struct device *dev = class_find_device_by_name(zcrypt_class, name); in find_zcdndev_by_name()
158 struct device *dev = class_find_device_by_devt(zcrypt_class, devt); in find_zcdndev_by_devt()
392 zcdndev->device.class = zcrypt_class; in zcdn_create()
2017 zcrypt_class = class_create(THIS_MODULE, ZCRYPT_NAME); in zcdn_init()
2018 if (IS_ERR(zcrypt_class)) { in zcdn_init()
2019 rc = PTR_ERR(zcrypt_class); in zcdn_init()
2022 zcrypt_class->dev_release = zcdn_device_release; in zcdn_init()
2038 rc = class_create_file(zcrypt_class, &class_attr_zcdn_create); in zcdn_init()
2041 rc = class_create_file(zcrypt_class, &class_attr_zcdn_destroy); in zcdn_init()
2048 class_remove_file(zcrypt_class, &class_attr_zcdn_create); in zcdn_init()
2054 class_destroy(zcrypt_class); in zcdn_init()
2061 class_remove_file(zcrypt_class, &class_attr_zcdn_create); in zcdn_exit()
2062 class_remove_file(zcrypt_class, &class_attr_zcdn_destroy); in zcdn_exit()
2066 class_destroy(zcrypt_class); in zcdn_exit()