Home
last modified time | relevance | path

Searched refs:fc_host (Results 1 – 5 of 5) sorted by relevance

/drivers/scsi/
Dscsi_transport_fc.c389 struct fc_host_attrs *fc_host = shost_to_fc_host(shost); in fc_host_setup() local
396 fc_host->node_name = -1; in fc_host_setup()
397 fc_host->port_name = -1; in fc_host_setup()
398 fc_host->permanent_port_name = -1; in fc_host_setup()
399 fc_host->supported_classes = FC_COS_UNSPECIFIED; in fc_host_setup()
400 memset(fc_host->supported_fc4s, 0, in fc_host_setup()
401 sizeof(fc_host->supported_fc4s)); in fc_host_setup()
402 fc_host->supported_speeds = FC_PORTSPEED_UNKNOWN; in fc_host_setup()
403 fc_host->maxframe_size = -1; in fc_host_setup()
404 fc_host->max_npiv_vports = 0; in fc_host_setup()
[all …]
/drivers/scsi/libfc/
Dfc_lport.c1197 struct fc_host_attrs *fc_host = shost_to_fc_host(lport->host); in fc_lport_ms_resp() local
1231 if ((ntohs(ct->ct_cmd) == FC_FS_RJT) && fc_host->fdmi_version == FDMI_V2) { in fc_lport_ms_resp()
1233 fc_host->fdmi_version = FDMI_V1; in fc_lport_ms_resp()
1451 struct fc_host_attrs *fc_host = shost_to_fc_host(lport->host); in fc_lport_enter_ms() local
1481 if (fc_host->fdmi_version == FDMI_V2) { in fc_lport_enter_ms()
1509 if (fc_host->fdmi_version == FDMI_V2) { in fc_lport_enter_ms()
1594 struct fc_host_attrs *fc_host = shost_to_fc_host(lport->host); in fc_lport_timeout() local
1622 if (fc_host->fdmi_version == FDMI_V2) { in fc_lport_timeout()
1624 fc_host->fdmi_version = FDMI_V1; in fc_lport_timeout()
1895 struct fc_host_attrs *fc_host; in fc_lport_init() local
[all …]
Dfc_encode.h195 struct fc_host_attrs *fc_host = shost_to_fc_host(lport->host); in fc_ct_ms_fill() local
215 if (fc_host->fdmi_version == FDMI_V2) { in fc_ct_ms_fill()
372 if (fc_host->fdmi_version == FDMI_V2) { in fc_ct_ms_fill()
468 if (fc_host->fdmi_version == FDMI_V2) { in fc_ct_ms_fill()
574 if (fc_host->fdmi_version == FDMI_V2) { in fc_ct_ms_fill()
/drivers/scsi/fcoe/
Dfcoe.c2727 struct fc_host_attrs *fc_host; in fcoe_vport_remove() local
2733 fc_host = shost_to_fc_host(shost); in fcoe_vport_remove()
2737 list_for_each_entry_safe(vport, next_vport, &fc_host->vports, peers) { in fcoe_vport_remove()
/drivers/scsi/qedf/
Dqedf_main.c2026 struct fc_host_attrs *fc_host = shost_to_fc_host(qedf->lport->host); in qedf_wait_for_vport_destroy() local
2030 while (fc_host->npiv_vports_inuse > 0) { in qedf_wait_for_vport_destroy()
3911 struct fc_host_attrs *fc_host; in qedf_get_protocol_tlv_data() local
3926 fc_host = shost_to_fc_host(host); in qedf_get_protocol_tlv_data()
3944 fcoe->num_npiv_ids = fc_host->npiv_vports_inuse; in qedf_get_protocol_tlv_data()