Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/scsi/
H A Dsg.c1447 static struct class *sg_sysfs_class; variable
1554 sg_class_member = device_create(sg_sysfs_class, cl_dev->parent, in sg_add_device()
1641 device_destroy(sg_sysfs_class, MKDEV(SCSI_GENERIC_MAJOR, sdp->index)); in sg_remove_device()
1682 sg_sysfs_class = class_create(THIS_MODULE, "scsi_generic"); in init_sg()
1683 if ( IS_ERR(sg_sysfs_class) ) { in init_sg()
1684 rc = PTR_ERR(sg_sysfs_class); in init_sg()
1695 class_destroy(sg_sysfs_class); in init_sg()
1708 class_destroy(sg_sysfs_class); in exit_sg()
/kernel/linux/linux-6.6/drivers/scsi/
H A Dsg.c1427 static struct class *sg_sysfs_class; variable
1529 sg_class_member = device_create(sg_sysfs_class, cl_dev->parent, in sg_add_device()
1619 device_destroy(sg_sysfs_class, MKDEV(SCSI_GENERIC_MAJOR, sdp->index)); in sg_remove_device()
1691 sg_sysfs_class = class_create("scsi_generic"); in init_sg()
1692 if ( IS_ERR(sg_sysfs_class) ) { in init_sg()
1693 rc = PTR_ERR(sg_sysfs_class); in init_sg()
1704 class_destroy(sg_sysfs_class); in init_sg()
1719 class_destroy(sg_sysfs_class); in exit_sg()

Completed in 7 milliseconds