Home
last modified time | relevance | path

Searched refs:fc_vport (Results 1 – 17 of 17) sorted by relevance

/drivers/scsi/lpfc/
Dlpfc_vport.c49 struct fc_vport *fc_vport = vport->fc_vport; in lpfc_vport_set_state() local
51 if (fc_vport) { in lpfc_vport_set_state()
58 fc_vport->vport_last_state = fc_vport->vport_state; in lpfc_vport_set_state()
59 fc_vport->vport_state = new_state; in lpfc_vport_set_state()
280 lpfc_vport_create(struct fc_vport *fc_vport, bool disable) in lpfc_vport_create() argument
283 struct Scsi_Host *shost = fc_vport->shost; in lpfc_vport_create()
322 vport = lpfc_create_port(phba, instance, &fc_vport->dev); in lpfc_vport_create()
352 if (fc_vport->node_name != 0) in lpfc_vport_create()
353 u64_to_wwn(fc_vport->node_name, vport->fc_nodename.u.wwn); in lpfc_vport_create()
354 if (fc_vport->port_name != 0) in lpfc_vport_create()
[all …]
Dlpfc_vport.h87 int lpfc_vport_create(struct fc_vport *, bool);
88 int lpfc_vport_delete(struct fc_vport *);
Dlpfc_crtn.h274 int lpfc_vport_disable(struct fc_vport *fc_vport, bool disable);
Dlpfc.h377 struct fc_vport *fc_vport; member
Dlpfc_attr.c3917 lpfc_set_vport_symbolic_name(struct fc_vport *fc_vport) in lpfc_set_vport_symbolic_name() argument
3919 struct lpfc_vport *vport = *(struct lpfc_vport **)fc_vport->dd_data; in lpfc_set_vport_symbolic_name()
Dlpfc_ct.c1021 strlen(vport->fc_vport->symbolic_name)) in lpfc_vport_symbolic_port_name()
1023 vport->fc_vport->symbolic_name); in lpfc_vport_symbolic_port_name()
Dlpfc_init.c3042 fc_vport_terminate(vports[i]->fc_vport); in lpfc_pci_remove_one()
Dlpfc_els.c5959 if (vport->fc_vport->vport_state == FC_VPORT_INITIALIZING) in lpfc_cmpl_els_fdisc()
/drivers/scsi/qla2xxx/
Dqla_mid.c124 fc_vport_set_state(vha->fc_vport, FC_VPORT_DISABLED); in qla24xx_disable_vp()
126 fc_vport_set_state(vha->fc_vport, FC_VPORT_FAILED); in qla24xx_disable_vp()
143 fc_vport_set_state(vha->fc_vport, FC_VPORT_LINKDOWN); in qla24xx_enable_vp()
153 fc_vport_set_state(vha->fc_vport, FC_VPORT_FAILED); in qla24xx_enable_vp()
170 struct fc_vport *fc_vport; in qla24xx_configure_vp() local
173 fc_vport = vha->fc_vport; in qla24xx_configure_vp()
192 fc_vport_set_state(fc_vport, FC_VPORT_ACTIVE); in qla24xx_configure_vp()
320 qla24xx_vport_create_req_sanity_check(struct fc_vport *fc_vport) in qla24xx_vport_create_req_sanity_check() argument
322 scsi_qla_host_t *base_vha = shost_priv(fc_vport->shost); in qla24xx_vport_create_req_sanity_check()
327 if (fc_vport->roles != FC_PORT_ROLE_FCP_INITIATOR) in qla24xx_vport_create_req_sanity_check()
[all …]
Dqla_attr.c13 static int qla24xx_vport_disable(struct fc_vport *, bool);
1162 qla24xx_vport_create(struct fc_vport *fc_vport, bool disable) in qla24xx_vport_create() argument
1167 scsi_qla_host_t *base_vha = shost_priv(fc_vport->shost); in qla24xx_vport_create()
1171 ret = qla24xx_vport_create_req_sanity_check(fc_vport); in qla24xx_vport_create()
1178 vha = qla24xx_create_vhost(fc_vport); in qla24xx_vport_create()
1186 fc_vport_set_state(fc_vport, FC_VPORT_DISABLED); in qla24xx_vport_create()
1206 fc_vport_set_state(fc_vport, FC_VPORT_LINKDOWN); in qla24xx_vport_create()
1209 if (scsi_add_host(vha->host, &fc_vport->dev)) { in qla24xx_vport_create()
1223 qla24xx_vport_disable(fc_vport, disable); in qla24xx_vport_create()
1250 qla24xx_vport_delete(struct fc_vport *fc_vport) in qla24xx_vport_delete() argument
[all …]
Dqla_gbl.h100 extern int qla24xx_vport_create_req_sanity_check(struct fc_vport *);
101 extern scsi_qla_host_t * qla24xx_create_vhost(struct fc_vport *);
Dqla_isr.c454 fc_vport_set_state(vha->fc_vport, FC_VPORT_FAILED); in qla2x00_async_event()
501 fc_vport_set_state(vha->fc_vport, FC_VPORT_FAILED); in qla2x00_async_event()
523 fc_vport_set_state(vha->fc_vport, FC_VPORT_FAILED); in qla2x00_async_event()
559 fc_vport_set_state(vha->fc_vport, FC_VPORT_FAILED); in qla2x00_async_event()
592 fc_vport_set_state(vha->fc_vport, FC_VPORT_FAILED); in qla2x00_async_event()
Dqla_def.h2676 struct fc_vport *fc_vport; /* holds fc_vport * for each vport */ member
Dqla_os.c2030 if (vha && vha->fc_vport) in qla2x00_remove_one()
2031 fc_vport_terminate(vha->fc_vport); in qla2x00_remove_one()
Dqla_sup.c898 struct fc_vport *vport; in qla2xxx_flash_npiv_conf()
Dqla_mbx.c2795 fc_vport_set_state(vha->fc_vport, FC_VPORT_INITIALIZING); in qla24xx_modify_vp_config()
/drivers/scsi/
Dscsi_transport_fc.c45 struct fc_vport **vport);
987 struct fc_vport *vport = transport_class_to_vport(dev); \
1003 struct fc_vport *vport = transport_class_to_vport(dev); \
1022 struct fc_vport *vport = transport_class_to_vport(dev); \
1059 struct fc_vport *vport = transport_class_to_vport(dev); \
1070 struct fc_vport *vport = transport_class_to_vport(dev); \
1106 struct fc_vport *vport = transport_class_to_vport(dev); \
1175 struct fc_vport *vport = transport_class_to_vport(dev); in show_fc_vport_roles()
1195 struct fc_vport *vport = transport_class_to_vport(dev); in store_fc_vport_delete()
1214 struct fc_vport *vport = transport_class_to_vport(dev); in store_fc_vport_disable()
[all …]