Home
last modified time | relevance | path

Searched refs:fc_host (Results 1 - 8 of 8) sorted by relevance

/kernel/linux/linux-6.6/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 in fc_host_setup()
472 struct fc_host_attrs *fc_host = shost_to_fc_host(shost); fc_host_remove() local
763 struct fc_host_attrs *fc_host = shost_to_fc_host(shost); fc_fpin_li_stats_update() local
811 struct fc_host_attrs *fc_host = shost_to_fc_host(shost); fc_fpin_delivery_stats_update() local
886 struct fc_host_attrs *fc_host = shost_to_fc_host(shost); fc_fpin_congn_stats_update() local
2065 struct fc_host_attrs *fc_host = shost_to_fc_host(shost); store_fc_private_host_dev_loss_tmo() local
2362 struct fc_host_attrs *fc_host = shost_to_fc_host(shost); store_fc_host_vport_delete() local
2884 struct fc_host_attrs *fc_host = shost_to_fc_host(shost); fc_remove_host() local
3054 struct fc_host_attrs *fc_host = shost_to_fc_host(shost); fc_remote_port_create() local
3182 struct fc_host_attrs *fc_host = shost_to_fc_host(shost); fc_remote_port_add() local
3491 struct fc_host_attrs *fc_host = shost_to_fc_host(shost); fc_remote_port_rolechg() local
3559 struct fc_host_attrs *fc_host = shost_to_fc_host(shost); fc_timeout_deleted_rport() local
3831 struct fc_host_attrs *fc_host = shost_to_fc_host(shost); fc_vport_setup() local
3978 struct fc_host_attrs *fc_host = shost_to_fc_host(shost); fc_vport_terminate() local
4275 fc_bsg_hostadd(struct Scsi_Host *shost, struct fc_host_attrs *fc_host) fc_bsg_hostadd() argument
[all...]
/kernel/linux/linux-5.10/drivers/scsi/
H A Dscsi_transport_fc.c380 struct fc_host_attrs *fc_host = shost_to_fc_host(shost); in fc_host_setup() local
387 fc_host->node_name = -1; in fc_host_setup()
388 fc_host->port_name = -1; in fc_host_setup()
389 fc_host->permanent_port_name = -1; in fc_host_setup()
390 fc_host->supported_classes = FC_COS_UNSPECIFIED; in fc_host_setup()
391 memset(fc_host->supported_fc4s, 0, in fc_host_setup()
392 sizeof(fc_host->supported_fc4s)); in fc_host_setup()
393 fc_host->supported_speeds = FC_PORTSPEED_UNKNOWN; in fc_host_setup()
394 fc_host->maxframe_size = -1; in fc_host_setup()
395 fc_host in fc_host_setup()
461 struct fc_host_attrs *fc_host = shost_to_fc_host(shost); fc_host_remove() local
1656 struct fc_host_attrs *fc_host = shost_to_fc_host(shost); store_fc_private_host_dev_loss_tmo() local
1895 struct fc_host_attrs *fc_host = shost_to_fc_host(shost); store_fc_host_vport_delete() local
2416 struct fc_host_attrs *fc_host = shost_to_fc_host(shost); fc_remove_host() local
2586 struct fc_host_attrs *fc_host = shost_to_fc_host(shost); fc_remote_port_create() local
2714 struct fc_host_attrs *fc_host = shost_to_fc_host(shost); fc_remote_port_add() local
3022 struct fc_host_attrs *fc_host = shost_to_fc_host(shost); fc_remote_port_rolechg() local
3090 struct fc_host_attrs *fc_host = shost_to_fc_host(shost); fc_timeout_deleted_rport() local
3338 struct fc_host_attrs *fc_host = shost_to_fc_host(shost); fc_vport_setup() local
3485 struct fc_host_attrs *fc_host = shost_to_fc_host(shost); fc_vport_terminate() local
3781 fc_bsg_hostadd(struct Scsi_Host *shost, struct fc_host_attrs *fc_host) fc_bsg_hostadd() argument
[all...]
/kernel/linux/linux-6.6/drivers/scsi/libfc/
H A Dfc_lport.c751 /* Update the fc_host */ in fc_lport_set_port_id()
1197 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 in fc_lport_timeout()
1895 struct fc_host_attrs *fc_host; fc_lport_init() local
[all...]
H A 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()
/kernel/linux/linux-5.10/drivers/scsi/fcoe/
H A Dfcoe.c2650 * fcoe_vport_create() - create an fc_host/scsi_host for a vport
2651 * @vport: fc_vport object to create a new fc_host for
2652 * @disabled: start the new fc_host in a disabled state by default?
2699 * fcoe_vport_destroy() - destroy the fc_host/scsi_host for a vport
2730 struct fc_host_attrs *fc_host; in fcoe_vport_remove() local
2736 fc_host = shost_to_fc_host(shost); in fcoe_vport_remove()
2740 list_for_each_entry_safe(vport, next_vport, &fc_host->vports, peers) { in fcoe_vport_remove()
/kernel/linux/linux-6.6/drivers/scsi/fcoe/
H A Dfcoe.c2637 * fcoe_vport_create() - create an fc_host/scsi_host for a vport
2638 * @vport: fc_vport object to create a new fc_host for
2639 * @disabled: start the new fc_host in a disabled state by default?
2686 * fcoe_vport_destroy() - destroy the fc_host/scsi_host for a vport
2717 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()
/kernel/linux/linux-5.10/drivers/scsi/qedf/
H A Dqedf_main.c457 /* Set fc_host link speed */ in qedf_update_link_speed()
1669 * Setup the necessary fc_host attributes to that will be used to fill in qedf_setup_fdmi()
2022 struct fc_host_attrs *fc_host = shost_to_fc_host(qedf->lport->host); in qedf_wait_for_vport_destroy() local
2026 while (fc_host->npiv_vports_inuse > 0) { in qedf_wait_for_vport_destroy()
3890 struct fc_host_attrs *fc_host; in qedf_get_protocol_tlv_data() local
3905 fc_host = shost_to_fc_host(host); in qedf_get_protocol_tlv_data()
3907 /* Force a refresh of the fc_host stats including offload stats */ in qedf_get_protocol_tlv_data()
3923 fcoe->num_npiv_ids = fc_host->npiv_vports_inuse; in qedf_get_protocol_tlv_data()
/kernel/linux/linux-6.6/drivers/scsi/qedf/
H A Dqedf_main.c457 /* Set fc_host link speed */ in qedf_update_link_speed()
1669 * Setup the necessary fc_host attributes to that will be used to fill in qedf_setup_fdmi()
2026 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()
3906 struct fc_host_attrs *fc_host; in qedf_get_protocol_tlv_data() local
3921 fc_host = shost_to_fc_host(host); in qedf_get_protocol_tlv_data()
3923 /* Force a refresh of the fc_host stats including offload stats */ in qedf_get_protocol_tlv_data()
3939 fcoe->num_npiv_ids = fc_host->npiv_vports_inuse; in qedf_get_protocol_tlv_data()

Completed in 34 milliseconds