Home
last modified time | relevance | path

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

/drivers/scsi/
Dscsi_transport_srp.c34 struct device_attribute *host_attrs[SRP_HOST_ATTRS + 1]; member
643 if (shost->transportt->host_attrs.ac.class != &srp_host_class.class) in srp_rport_match()
661 if (shost->transportt->host_attrs.ac.class != &srp_host_class.class) in srp_host_match()
665 return &i->t.host_attrs.ac == cont; in srp_host_match()
822 i->t.host_attrs.ac.attrs = &i->host_attrs[0]; in srp_attach_transport()
823 i->t.host_attrs.ac.class = &srp_host_class.class; in srp_attach_transport()
824 i->t.host_attrs.ac.match = srp_host_match; in srp_attach_transport()
825 i->host_attrs[0] = NULL; in srp_attach_transport()
826 transport_container_register(&i->t.host_attrs); in srp_attach_transport()
865 transport_container_unregister(&i->t.host_attrs); in srp_release_transport()
Dscsi_transport_sas.c267 if (shost->transportt->host_attrs.ac.class != in sas_host_match()
272 return &i->t.host_attrs.ac == cont; in sas_host_match()
647 if (shost->transportt->host_attrs.ac.class != in sas_phy_match()
818 if (shost->transportt->host_attrs.ac.class != in sas_port_match()
1338 if (shost->transportt->host_attrs.ac.class != in sas_rphy_match()
1360 if (shost->transportt->host_attrs.ac.class != in sas_end_dev_match()
1383 if (shost->transportt->host_attrs.ac.class != in sas_expander_match()
1757 i->t.host_attrs.ac.attrs = &i->host_attrs[0]; in sas_attach_transport()
1758 i->t.host_attrs.ac.class = &sas_host_class.class; in sas_attach_transport()
1759 i->t.host_attrs.ac.match = sas_host_match; in sas_attach_transport()
[all …]
Dscsi_transport_spi.c199 if (!shost->transportt || shost->transportt->host_attrs.ac.class in spi_host_match()
203 return &shost->transportt->host_attrs.ac == cont; in spi_host_match()
1388 if (!shost->transportt || shost->transportt->host_attrs.ac.class in spi_device_match()
1411 if (!shost->transportt || shost->transportt->host_attrs.ac.class in spi_target_match()
1582 i->t.host_attrs.ac.class = &spi_host_class.class; in spi_attach_transport()
1583 i->t.host_attrs.ac.grp = &host_attribute_group; in spi_attach_transport()
1584 i->t.host_attrs.ac.match = spi_host_match; in spi_attach_transport()
1585 transport_container_register(&i->t.host_attrs); in spi_attach_transport()
1598 transport_container_unregister(&i->t.host_attrs); in spi_release_transport()
Dscsi_transport_fc.c333 struct device_attribute *host_attrs[FC_HOST_NUM_ATTRS + 1]; member
1417 i->host_attrs[count] = &i->private_host_attrs[count]; \
1425 i->host_attrs[count] = &i->private_host_attrs[count]; \
1434 i->host_attrs[count] = &i->private_host_attrs[count]; \
1462 i->host_attrs[count] = &i->private_host_attrs[count]; \
1468 i->host_attrs[count] = &i->private_host_attrs[count]; \
1953 if (!shost->transportt || shost->transportt->host_attrs.ac.class in fc_host_match()
1959 return &i->t.host_attrs.ac == cont; in fc_host_match()
1972 if (!shost->transportt || shost->transportt->host_attrs.ac.class in fc_target_match()
2004 if (!shost->transportt || shost->transportt->host_attrs.ac.class in fc_rport_match()
[all …]
Dscsi_sas_internal.h34 struct device_attribute *host_attrs[SAS_HOST_ATTRS + 1]; member
Dscsi_transport_iscsi.c4823 shost->transportt->host_attrs.ac.class != &iscsi_host_class.class) in iscsi_host_match()
4827 return &priv->t.host_attrs.ac == cont; in iscsi_host_match()
4863 priv->t.host_attrs.ac.class = &iscsi_host_class.class; in iscsi_register_transport()
4864 priv->t.host_attrs.ac.match = iscsi_host_match; in iscsi_register_transport()
4865 priv->t.host_attrs.ac.grp = &iscsi_host_group; in iscsi_register_transport()
4867 transport_container_register(&priv->t.host_attrs); in iscsi_register_transport()
4915 transport_container_unregister(&priv->t.host_attrs); in iscsi_unregister_transport()
/drivers/ata/
Dlibata-transport.c248 return &ata_scsi_transport_template->host_attrs.ac == cont; in ata_tport_match()
740 i->t.host_attrs.ac.attrs = &i->port_attrs[0]; in ata_attach_transport()
741 i->t.host_attrs.ac.class = &ata_port_class.class; in ata_attach_transport()
742 i->t.host_attrs.ac.match = ata_tport_match; in ata_attach_transport()
743 transport_container_register(&i->t.host_attrs); in ata_attach_transport()
793 transport_container_unregister(&i->t.host_attrs); in ata_release_transport()