Home
last modified time | relevance | path

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

/linux-6.15/drivers/scsi/
H A Dscsi_transport_fc.c397 fc_host->node_name = -1; in fc_host_setup()
398 fc_host->port_name = -1; in fc_host_setup()
423 fc_host->port_id = -1; in fc_host_setup()
430 memset(fc_host->symbolic_name, 0, sizeof(fc_host->symbolic_name)); in fc_host_setup()
431 memset(fc_host->system_hostname, 0, sizeof(fc_host->system_hostname)); in fc_host_setup()
432 memset(&fc_host->fpin_stats, 0, sizeof(fc_host->fpin_stats)); in fc_host_setup()
445 if (!fc_host->work_q) in fc_host_setup()
453 fc_host->work_q = NULL; in fc_host_setup()
2911 if (fc_host->work_q) { in fc_remove_host()
3861 if (fc_host->npiv_vports_inuse >= fc_host->max_npiv_vports) { in fc_vport_setup()
[all …]
/linux-6.15/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-6.15/Documentation/scsi/
H A Dscsi_fc_transport.rst63 The fc_host associated with the physical adapter will export the ability
65 Linux device tree, and instruct the fc_host's driver to instantiate the
130 /sys/class/fc_host/host17 physical port's fc_host
131 /sys/class/fc_host/host18 vport's fc_host
186 driver/adapter can support on the fc_host.
190 fc_host.
193 A "simple" create interface to instantiate a vport on an fc_host.
339 cause the creation of the new attributes on the fc_host. As part of
413 - Initializes the fc_host attribute values.
487 fc_host port_type attribute:
[all …]
/linux-6.15/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
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
1897 fc_host = shost_to_fc_host(lport->host); in fc_lport_init()
[all …]
H A Dfc_encode.h197 struct fc_host_attrs *fc_host = shost_to_fc_host(lport->host); in fc_ct_ms_fill() local
217 if (fc_host->fdmi_version == FDMI_V2) { in fc_ct_ms_fill()
374 if (fc_host->fdmi_version == FDMI_V2) { in fc_ct_ms_fill()
470 if (fc_host->fdmi_version == FDMI_V2) { in fc_ct_ms_fill()
576 if (fc_host->fdmi_version == FDMI_V2) { in fc_ct_ms_fill()
/linux-6.15/drivers/scsi/fcoe/
H A Dfcoe.c2717 struct fc_host_attrs *fc_host; in fcoe_vport_remove() local
2723 fc_host = shost_to_fc_host(shost); in fcoe_vport_remove()
2727 list_for_each_entry_safe(vport, next_vport, &fc_host->vports, peers) { in fcoe_vport_remove()
/linux-6.15/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()
3930 struct fc_host_attrs *fc_host; in qedf_get_protocol_tlv_data() local
3945 fc_host = shost_to_fc_host(host); in qedf_get_protocol_tlv_data()
3963 fcoe->num_npiv_ids = fc_host->npiv_vports_inuse; in qedf_get_protocol_tlv_data()