Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/base/
Dtransport_class.c121 struct transport_container *tcont = attribute_container_to_transport_container(cont); in transport_setup_classdev() local
124 tclass->setup(tcont, dev, classdev); in transport_setup_classdev()
155 struct transport_container *tcont = in transport_add_class_device() local
158 if (!error && tcont->statistics) in transport_add_class_device()
159 error = sysfs_create_group(&classdev->kobj, tcont->statistics); in transport_add_class_device()
187 struct transport_container *tcont = attribute_container_to_transport_container(cont); in transport_configure() local
190 tclass->configure(tcont, dev, cdev); in transport_configure()
217 struct transport_container *tcont = in transport_remove_classdev() local
222 tclass->remove(tcont, dev, classdev); in transport_remove_classdev()
225 if (tcont->statistics) in transport_remove_classdev()
[all …]
/Linux-v4.19/drivers/scsi/
Draid_class.c41 #define tc_to_raid_internal(tcont) ({ \ argument
43 container_of(tcont, struct raid_template, raid_attrs); \