Home
last modified time | relevance | path

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

/linux/drivers/scsi/
H A Dscsi_transport_fc.c390 struct fc_host_attrs *fc_host = shost_to_fc_host(shost); in fc_host_setup() local
397 fc_host->node_name = -1; in fc_host_setup()
398 fc_host->port_name = -1; in fc_host_setup()
399 fc_host->permanent_port_name = -1; in fc_host_setup()
400 fc_host->supported_classes = FC_COS_UNSPECIFIED; in fc_host_setup()
401 memset(fc_host->supported_fc4s, 0, in fc_host_setup()
402 sizeof(fc_host->supported_fc4s)); in fc_host_setup()
403 fc_host->supported_speeds = FC_PORTSPEED_UNKNOWN; in fc_host_setup()
404 fc_host->maxframe_size = -1; in fc_host_setup()
405 fc_host->max_npiv_vports = 0; in fc_host_setup()
[all …]
/linux/Documentation/ABI/testing/
H A Dsysfs-class-fc_host1 What: /sys/class/fc_host/hostX/statistics/fpin_cn_yyy
9 What: /sys/class/fc_host/hostX/statistics/fpin_li_yyy
17 What: /sys/class/fc_host/hostX/statistics/fpin_dn_yyy
/linux/drivers/scsi/libfc/
H A 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 …]
/linux/drivers/scsi/fcoe/
H A Dfcoe.c2697 struct fc_host_attrs *fc_host; in fcoe_vport_remove() local
2703 fc_host = shost_to_fc_host(shost); in fcoe_vport_remove()
2707 list_for_each_entry_safe(vport, next_vport, &fc_host->vports, peers) { in fcoe_vport_remove()
/linux/drivers/scsi/qedf/
H A Dqedf_main.c2038 struct fc_host_attrs *fc_host = shost_to_fc_host(qedf->lport->host); in qedf_wait_for_vport_destroy() local
2042 while (fc_host->npiv_vports_inuse > 0) { in qedf_wait_for_vport_destroy()
3934 struct fc_host_attrs *fc_host; in qedf_get_protocol_tlv_data() local
3949 fc_host = shost_to_fc_host(host); in qedf_get_protocol_tlv_data()
3967 fcoe->num_npiv_ids = fc_host->npiv_vports_inuse; in qedf_get_protocol_tlv_data()