Searched refs:host_attrs (Results 1 – 8 of 8) sorted by relevance
34 struct device_attribute *host_attrs[SRP_HOST_ATTRS + 1]; member638 if (shost->transportt->host_attrs.ac.class != &srp_host_class.class) in srp_rport_match()656 if (shost->transportt->host_attrs.ac.class != &srp_host_class.class) in srp_host_match()660 return &i->t.host_attrs.ac == cont; in srp_host_match()817 i->t.host_attrs.ac.attrs = &i->host_attrs[0]; in srp_attach_transport()818 i->t.host_attrs.ac.class = &srp_host_class.class; in srp_attach_transport()819 i->t.host_attrs.ac.match = srp_host_match; in srp_attach_transport()820 i->host_attrs[0] = NULL; in srp_attach_transport()821 transport_container_register(&i->t.host_attrs); in srp_attach_transport()860 transport_container_unregister(&i->t.host_attrs); in srp_release_transport()
267 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()813 if (shost->transportt->host_attrs.ac.class != in sas_port_match()1334 if (shost->transportt->host_attrs.ac.class != in sas_rphy_match()1356 if (shost->transportt->host_attrs.ac.class != in sas_end_dev_match()1379 if (shost->transportt->host_attrs.ac.class != in sas_expander_match()1760 i->t.host_attrs.ac.attrs = &i->host_attrs[0]; in sas_attach_transport()1761 i->t.host_attrs.ac.class = &sas_host_class.class; in sas_attach_transport()1762 i->t.host_attrs.ac.match = sas_host_match; in sas_attach_transport()[all …]
34 struct device_attribute *host_attrs[SAS_HOST_ATTRS + 1]; member
195 if (!shost->transportt || shost->transportt->host_attrs.ac.class in spi_host_match()199 return &shost->transportt->host_attrs.ac == cont; in spi_host_match()1377 if (!shost->transportt || shost->transportt->host_attrs.ac.class in spi_device_match()1400 if (!shost->transportt || shost->transportt->host_attrs.ac.class in spi_target_match()1571 i->t.host_attrs.ac.class = &spi_host_class.class; in spi_attach_transport()1572 i->t.host_attrs.ac.grp = &host_attribute_group; in spi_attach_transport()1573 i->t.host_attrs.ac.match = spi_host_match; in spi_attach_transport()1574 transport_container_register(&i->t.host_attrs); in spi_attach_transport()1587 transport_container_unregister(&i->t.host_attrs); in spi_release_transport()
332 struct device_attribute *host_attrs[FC_HOST_NUM_ATTRS + 1]; member1416 i->host_attrs[count] = &i->private_host_attrs[count]; \1424 i->host_attrs[count] = &i->private_host_attrs[count]; \1433 i->host_attrs[count] = &i->private_host_attrs[count]; \1461 i->host_attrs[count] = &i->private_host_attrs[count]; \1467 i->host_attrs[count] = &i->private_host_attrs[count]; \1952 if (!shost->transportt || shost->transportt->host_attrs.ac.class in fc_host_match()1958 return &i->t.host_attrs.ac == cont; in fc_host_match()1971 if (!shost->transportt || shost->transportt->host_attrs.ac.class in fc_target_match()2003 if (!shost->transportt || shost->transportt->host_attrs.ac.class in fc_rport_match()[all …]
4403 shost->transportt->host_attrs.ac.class != &iscsi_host_class.class) in iscsi_host_match()4407 return &priv->t.host_attrs.ac == cont; in iscsi_host_match()4442 priv->t.host_attrs.ac.class = &iscsi_host_class.class; in iscsi_register_transport()4443 priv->t.host_attrs.ac.match = iscsi_host_match; in iscsi_register_transport()4444 priv->t.host_attrs.ac.grp = &iscsi_host_group; in iscsi_register_transport()4446 transport_container_register(&priv->t.host_attrs); in iscsi_register_transport()4494 transport_container_unregister(&priv->t.host_attrs); in iscsi_unregister_transport()
248 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()
18 struct transport_container host_attrs; member