Lines Matching refs:shost
630 static struct fc_host_statistics *bnx2fc_get_host_stats(struct Scsi_Host *shost) in bnx2fc_get_host_stats() argument
633 struct fc_lport *lport = shost_priv(shost); in bnx2fc_get_host_stats()
644 bnx2fc_stats = fc_get_host_stats(shost); in bnx2fc_get_host_stats()
682 struct Scsi_Host *shost = lport->host; in bnx2fc_shost_config() local
685 shost->max_cmd_len = BNX2FC_MAX_CMD_LEN; in bnx2fc_shost_config()
686 shost->max_lun = BNX2FC_MAX_LUN; in bnx2fc_shost_config()
687 shost->max_id = BNX2FC_MAX_FCP_TGT; in bnx2fc_shost_config()
688 shost->max_channel = 0; in bnx2fc_shost_config()
690 shost->transportt = bnx2fc_vport_xport_template; in bnx2fc_shost_config()
692 shost->transportt = bnx2fc_transport_template; in bnx2fc_shost_config()
1061 struct Scsi_Host *shost = vport_to_shost(vport); in bnx2fc_vport_create() local
1062 struct fc_lport *n_port = shost_priv(shost); in bnx2fc_vport_create()
1123 struct Scsi_Host *shost = vport_to_shost(vport); in bnx2fc_vport_destroy() local
1124 struct fc_lport *n_port = shost_priv(shost); in bnx2fc_vport_destroy()
1426 struct Scsi_Host *shost; in bnx2fc_if_create() local
1449 shost = lport->host; in bnx2fc_if_create()
1493 shost = vport_to_shost(vport); in bnx2fc_if_create()
1494 n_port = shost_priv(shost); in bnx2fc_if_create()
1513 scsi_remove_host(shost); in bnx2fc_if_create()
2483 static int bnx2fc_fcoe_reset(struct Scsi_Host *shost) in bnx2fc_fcoe_reset() argument
2485 struct fc_lport *lport = shost_priv(shost); in bnx2fc_fcoe_reset()