Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/scsi/
Dsg.c1426 static struct class *sg_sysfs_class; variable
1523 sg_class_member = device_create(sg_sysfs_class, cl_dev->parent, in sg_add_device()
1608 device_destroy(sg_sysfs_class, MKDEV(SCSI_GENERIC_MAJOR, sdp->index)); in sg_remove_device()
1680 sg_sysfs_class = class_create(THIS_MODULE, "scsi_generic"); in init_sg()
1681 if ( IS_ERR(sg_sysfs_class) ) { in init_sg()
1682 rc = PTR_ERR(sg_sysfs_class); in init_sg()
1693 class_destroy(sg_sysfs_class); in init_sg()
1708 class_destroy(sg_sysfs_class); in exit_sg()