Home
last modified time | relevance | path

Searched refs:rnbd_dev_class (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/block/rnbd/
H A Drnbd-srv-sysfs.c22 static const struct class rnbd_dev_class = { variable
218 err = class_register(&rnbd_dev_class); in rnbd_srv_create_sysfs_files()
222 rnbd_dev = device_create(&rnbd_dev_class, NULL, in rnbd_srv_create_sysfs_files()
237 device_destroy(&rnbd_dev_class, MKDEV(0, 0)); in rnbd_srv_create_sysfs_files()
239 class_unregister(&rnbd_dev_class); in rnbd_srv_create_sysfs_files()
248 device_destroy(&rnbd_dev_class, MKDEV(0, 0)); in rnbd_srv_destroy_sysfs_files()
249 class_unregister(&rnbd_dev_class); in rnbd_srv_destroy_sysfs_files()
H A Drnbd-clt-sysfs.c27 static const struct class rnbd_dev_class = { variable
651 err = class_register(&rnbd_dev_class); in rnbd_clt_create_sysfs_files()
655 rnbd_dev = device_create_with_groups(&rnbd_dev_class, NULL, in rnbd_clt_create_sysfs_files()
671 device_destroy(&rnbd_dev_class, MKDEV(0, 0)); in rnbd_clt_create_sysfs_files()
673 class_unregister(&rnbd_dev_class); in rnbd_clt_create_sysfs_files()
683 device_destroy(&rnbd_dev_class, MKDEV(0, 0)); in rnbd_clt_destroy_sysfs_files()
684 class_unregister(&rnbd_dev_class); in rnbd_clt_destroy_sysfs_files()