Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/scsi/
Dscsi_transport_srp.c48 struct device_attribute *host_attrs[SRP_HOST_ATTRS + 1]; member
652 if (shost->transportt->host_attrs.ac.class != &srp_host_class.class) in srp_rport_match()
670 if (shost->transportt->host_attrs.ac.class != &srp_host_class.class) in srp_host_match()
674 return &i->t.host_attrs.ac == cont; in srp_host_match()
831 i->t.host_attrs.ac.attrs = &i->host_attrs[0]; in srp_attach_transport()
832 i->t.host_attrs.ac.class = &srp_host_class.class; in srp_attach_transport()
833 i->t.host_attrs.ac.match = srp_host_match; in srp_attach_transport()
834 i->host_attrs[0] = NULL; in srp_attach_transport()
835 transport_container_register(&i->t.host_attrs); in srp_attach_transport()
874 transport_container_unregister(&i->t.host_attrs); in srp_release_transport()
Dscsi_transport_sas.c272 if (shost->transportt->host_attrs.ac.class != in sas_host_match()
277 return &i->t.host_attrs.ac == cont; in sas_host_match()
653 if (shost->transportt->host_attrs.ac.class != in sas_phy_match()
819 if (shost->transportt->host_attrs.ac.class != in sas_port_match()
1340 if (shost->transportt->host_attrs.ac.class != in sas_rphy_match()
1362 if (shost->transportt->host_attrs.ac.class != in sas_end_dev_match()
1385 if (shost->transportt->host_attrs.ac.class != in sas_expander_match()
1766 i->t.host_attrs.ac.attrs = &i->host_attrs[0]; in sas_attach_transport()
1767 i->t.host_attrs.ac.class = &sas_host_class.class; in sas_attach_transport()
1768 i->t.host_attrs.ac.match = sas_host_match; in sas_attach_transport()
[all …]
Dscsi_sas_internal.h34 struct device_attribute *host_attrs[SAS_HOST_ATTRS + 1]; member
Dscsi_transport_spi.c208 if (!shost->transportt || shost->transportt->host_attrs.ac.class in spi_host_match()
212 return &shost->transportt->host_attrs.ac == cont; in spi_host_match()
1390 if (!shost->transportt || shost->transportt->host_attrs.ac.class in spi_device_match()
1413 if (!shost->transportt || shost->transportt->host_attrs.ac.class in spi_target_match()
1584 i->t.host_attrs.ac.class = &spi_host_class.class; in spi_attach_transport()
1585 i->t.host_attrs.ac.grp = &host_attribute_group; in spi_attach_transport()
1586 i->t.host_attrs.ac.match = spi_host_match; in spi_attach_transport()
1587 transport_container_register(&i->t.host_attrs); in spi_attach_transport()
1600 transport_container_unregister(&i->t.host_attrs); in spi_release_transport()
Dscsi_transport_fc.c345 struct device_attribute *host_attrs[FC_HOST_NUM_ATTRS + 1]; member
1430 i->host_attrs[count] = &i->private_host_attrs[count]; \
1438 i->host_attrs[count] = &i->private_host_attrs[count]; \
1447 i->host_attrs[count] = &i->private_host_attrs[count]; \
1475 i->host_attrs[count] = &i->private_host_attrs[count]; \
1481 i->host_attrs[count] = &i->private_host_attrs[count]; \
1966 if (!shost->transportt || shost->transportt->host_attrs.ac.class in fc_host_match()
1972 return &i->t.host_attrs.ac == cont; in fc_host_match()
1985 if (!shost->transportt || shost->transportt->host_attrs.ac.class in fc_target_match()
2017 if (!shost->transportt || shost->transportt->host_attrs.ac.class in fc_rport_match()
[all …]
Dscsi_transport_iscsi.c4399 shost->transportt->host_attrs.ac.class != &iscsi_host_class.class) in iscsi_host_match()
4403 return &priv->t.host_attrs.ac == cont; in iscsi_host_match()
4438 priv->t.host_attrs.ac.class = &iscsi_host_class.class; in iscsi_register_transport()
4439 priv->t.host_attrs.ac.match = iscsi_host_match; in iscsi_register_transport()
4440 priv->t.host_attrs.ac.grp = &iscsi_host_group; in iscsi_register_transport()
4442 transport_container_register(&priv->t.host_attrs); in iscsi_register_transport()
4490 transport_container_unregister(&priv->t.host_attrs); in iscsi_unregister_transport()
/Linux-v4.19/drivers/ata/
Dlibata-transport.c248 return &ata_scsi_transport_template->host_attrs.ac == cont; in ata_tport_match()
722 i->t.host_attrs.ac.attrs = &i->port_attrs[0]; in ata_attach_transport()
723 i->t.host_attrs.ac.class = &ata_port_class.class; in ata_attach_transport()
724 i->t.host_attrs.ac.match = ata_tport_match; in ata_attach_transport()
725 transport_container_register(&i->t.host_attrs); in ata_attach_transport()
775 transport_container_unregister(&i->t.host_attrs); in ata_release_transport()
/Linux-v4.19/include/scsi/
Dscsi_transport.h31 struct transport_container host_attrs; member
/Linux-v4.19/drivers/scsi/hisi_sas/
Dhisi_sas.h470 extern struct device_attribute *host_attrs[];
Dhisi_sas_main.c1940 struct device_attribute *host_attrs[] = { variable
1944 EXPORT_SYMBOL_GPL(host_attrs);
Dhisi_sas_v1_hw.c1821 .shost_attrs = host_attrs,
Dhisi_sas_v3_hw.c2110 .shost_attrs = host_attrs,
Dhisi_sas_v2_hw.c3572 .shost_attrs = host_attrs,