Home
last modified time | relevance | path

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

/linux-6.1.9/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.c273 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 …]
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()
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()
Dscsi_sas_internal.h34 struct device_attribute *host_attrs[SAS_HOST_ATTRS + 1]; member
Dscsi_transport_fc.c342 struct device_attribute *host_attrs[FC_HOST_NUM_ATTRS + 1]; member
1823 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 …]
Dscsi_transport_iscsi.c4827 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()
/linux-6.1.9/drivers/ata/
Dlibata-transport.c248 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()
/linux-6.1.9/include/scsi/
Dscsi_transport.h18 struct transport_container host_attrs; member