Searched refs:fc_host (Results 1 – 5 of 5) sorted by relevance
390 struct fc_host_attrs *fc_host = shost_to_fc_host(shost); in fc_host_setup() local397 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 …]
1 What: /sys/class/fc_host/hostX/statistics/fpin_cn_yyy9 What: /sys/class/fc_host/hostX/statistics/fpin_li_yyy17 What: /sys/class/fc_host/hostX/statistics/fpin_dn_yyy
1197 struct fc_host_attrs *fc_host = shost_to_fc_host(lport->host); in fc_lport_ms_resp() local1231 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() local1481 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() local1622 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 …]
2697 struct fc_host_attrs *fc_host; in fcoe_vport_remove() local2703 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()
2038 struct fc_host_attrs *fc_host = shost_to_fc_host(qedf->lport->host); in qedf_wait_for_vport_destroy() local2042 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() local3949 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()