Searched refs:host_attrs (Results 1 – 8 of 8) sorted by relevance
34 struct device_attribute *host_attrs[SRP_HOST_ATTRS + 1]; member643 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()
273 if (shost->transportt->host_attrs.ac.class != in sas_host_match()278 return &i->t.host_attrs.ac == cont; in sas_host_match()653 if (shost->transportt->host_attrs.ac.class != in sas_phy_match()824 if (shost->transportt->host_attrs.ac.class != in sas_port_match()1344 if (shost->transportt->host_attrs.ac.class != in sas_rphy_match()1366 if (shost->transportt->host_attrs.ac.class != in sas_end_dev_match()1389 if (shost->transportt->host_attrs.ac.class != in sas_expander_match()1763 i->t.host_attrs.ac.attrs = &i->host_attrs[0]; in sas_attach_transport()1764 i->t.host_attrs.ac.class = &sas_host_class.class; in sas_attach_transport()1765 i->t.host_attrs.ac.match = sas_host_match; in sas_attach_transport()[all …]
199 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()1389 if (!shost->transportt || shost->transportt->host_attrs.ac.class in spi_device_match()1412 if (!shost->transportt || shost->transportt->host_attrs.ac.class in spi_target_match()1583 i->t.host_attrs.ac.class = &spi_host_class.class; in spi_attach_transport()1584 i->t.host_attrs.ac.grp = &host_attribute_group; in spi_attach_transport()1585 i->t.host_attrs.ac.match = spi_host_match; in spi_attach_transport()1586 transport_container_register(&i->t.host_attrs); in spi_attach_transport()1599 transport_container_unregister(&i->t.host_attrs); in spi_release_transport()
34 struct device_attribute *host_attrs[SAS_HOST_ATTRS + 1]; member
342 struct device_attribute *host_attrs[FC_HOST_NUM_ATTRS + 1]; member1823 i->host_attrs[count] = &i->private_host_attrs[count]; \1831 i->host_attrs[count] = &i->private_host_attrs[count]; \1840 i->host_attrs[count] = &i->private_host_attrs[count]; \1868 i->host_attrs[count] = &i->private_host_attrs[count]; \1874 i->host_attrs[count] = &i->private_host_attrs[count]; \2417 if (!shost->transportt || shost->transportt->host_attrs.ac.class in fc_host_match()2423 return &i->t.host_attrs.ac == cont; in fc_host_match()2436 if (!shost->transportt || shost->transportt->host_attrs.ac.class in fc_target_match()2468 if (!shost->transportt || shost->transportt->host_attrs.ac.class in fc_rport_match()[all …]
4827 shost->transportt->host_attrs.ac.class != &iscsi_host_class.class) in iscsi_host_match()4831 return &priv->t.host_attrs.ac == cont; in iscsi_host_match()4866 priv->t.host_attrs.ac.class = &iscsi_host_class.class; in iscsi_register_transport()4867 priv->t.host_attrs.ac.match = iscsi_host_match; in iscsi_register_transport()4868 priv->t.host_attrs.ac.grp = &iscsi_host_group; in iscsi_register_transport()4870 transport_container_register(&priv->t.host_attrs); in iscsi_register_transport()4918 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()763 i->t.host_attrs.ac.attrs = &i->port_attrs[0]; in ata_attach_transport()764 i->t.host_attrs.ac.class = &ata_port_class.class; in ata_attach_transport()765 i->t.host_attrs.ac.match = ata_tport_match; in ata_attach_transport()766 transport_container_register(&i->t.host_attrs); in ata_attach_transport()816 transport_container_unregister(&i->t.host_attrs); in ata_release_transport()
18 struct transport_container host_attrs; member