| /linux/drivers/scsi/csiostor/ |
| H A D | csio_attr.c | 391 struct fc_vport *fc_vport = ln->fc_vport; in csio_vport_set_state() local 398 fc_vport_set_state(fc_vport, FC_VPORT_LINKDOWN); in csio_vport_set_state() 403 fc_vport_set_state(fc_vport, FC_VPORT_NO_FABRIC_SUPP); in csio_vport_set_state() 410 fc_vport_set_state(fc_vport, FC_VPORT_LINKDOWN); in csio_vport_set_state() 413 fc_vport_set_state(fc_vport, FC_VPORT_ACTIVE); in csio_vport_set_state() 552 csio_vport_create(struct fc_vport *fc_vport, bool disable) in csio_vport_create() argument 554 struct Scsi_Host *shost = fc_vport->shost; in csio_vport_create() 561 ln = csio_shost_init(hw, &fc_vport->dev, false, pln); in csio_vport_create() 565 if (fc_vport->node_name != 0) { in csio_vport_create() 566 u64_to_wwn(fc_vport->node_name, wwn); in csio_vport_create() [all …]
|
| H A D | csio_lnode.h | 184 struct fc_vport *fc_vport; member
|
| /linux/drivers/scsi/lpfc/ |
| H A D | lpfc_vport.c | 56 struct fc_vport *fc_vport = vport->fc_vport; in lpfc_vport_set_state() local 58 if (fc_vport) { in lpfc_vport_set_state() 65 fc_vport->vport_last_state = fc_vport->vport_state; in lpfc_vport_set_state() 66 fc_vport->vport_state = new_state; in lpfc_vport_set_state() 293 lpfc_vport_create(struct fc_vport *fc_vport, bool disable) in lpfc_vport_create() argument 296 struct Scsi_Host *shost = fc_vport->shost; in lpfc_vport_create() 343 vport = lpfc_create_port(phba, instance, &fc_vport->dev); in lpfc_vport_create() 371 u64_to_wwn(fc_vport->node_name, vport->fc_nodename.u.wwn); in lpfc_vport_create() 372 u64_to_wwn(fc_vport->port_name, vport->fc_portname.u.wwn); in lpfc_vport_create() 407 *(struct lpfc_vport **)fc_vport->dd_data = vport; in lpfc_vport_create() [all …]
|
| H A D | lpfc_vport.h | 89 int lpfc_vport_create(struct fc_vport *, bool); 90 int lpfc_vport_delete(struct fc_vport *);
|
| H A D | lpfc.h | 736 struct fc_vport *fc_vport; member
|
| H A D | lpfc_hbadisc.c | 457 struct fc_vport *fc_vport = NULL; in lpfc_dev_loss_tmo_handler() local 500 fc_vport = vport->fc_vport; in lpfc_dev_loss_tmo_handler() 501 if (fc_vport) { in lpfc_dev_loss_tmo_handler() 503 if (fc_vport->vport_state == in lpfc_dev_loss_tmo_handler() 4041 struct fc_vport *new_fc_vport; in lpfc_create_static_vport()
|
| H A D | lpfc_attr.c | 7136 lpfc_set_vport_symbolic_name(struct fc_vport *fc_vport) in lpfc_set_vport_symbolic_name() argument 7138 struct lpfc_vport *vport = *(struct lpfc_vport **)fc_vport->dd_data; in lpfc_set_vport_symbolic_name()
|
| /linux/drivers/scsi/elx/efct/ |
| H A D | efct_xport.c | 966 efct_vport_create(struct fc_vport *fc_vport, bool disable) in efct_vport_create() argument 968 struct Scsi_Host *shost = fc_vport ? fc_vport->shost : NULL; in efct_vport_create() 975 if (!fc_vport || !shost || !efct) in efct_vport_create() 978 vport = efct_scsi_new_vport(efct, &fc_vport->dev); in efct_vport_create() 984 vport->fc_vport = fc_vport; in efct_vport_create() 985 vport->npiv_wwpn = fc_vport->port_name; in efct_vport_create() 986 vport->npiv_wwnn = fc_vport->node_name; in efct_vport_create() 989 *(struct efct_vport **)fc_vport->dd_data = vport; in efct_vport_create() 998 efct_vport_delete(struct fc_vport *fc_vport) in efct_vport_delete() argument 1000 struct efct_vport *vport = *(struct efct_vport **)fc_vport->dd_data; in efct_vport_delete() [all …]
|
| H A D | efct_lio.h | 143 struct fc_vport *fc_vport; member
|
| H A D | efct_scsi.h | 60 struct fc_vport *fc_vport; member
|
| /linux/drivers/scsi/qla2xxx/ |
| H A D | qla_mid.c | 197 fc_vport_set_state(vha->fc_vport, FC_VPORT_DISABLED); in qla24xx_disable_vp() 199 fc_vport_set_state(vha->fc_vport, FC_VPORT_FAILED); in qla24xx_disable_vp() 217 fc_vport_set_state(vha->fc_vport, FC_VPORT_LINKDOWN); in qla24xx_enable_vp() 232 fc_vport_set_state(vha->fc_vport, FC_VPORT_FAILED); in qla24xx_enable_vp() 249 struct fc_vport *fc_vport; in qla24xx_configure_vp() local 252 fc_vport = vha->fc_vport; in qla24xx_configure_vp() 271 fc_vport_set_state(fc_vport, FC_VPORT_ACTIVE); in qla24xx_configure_vp() 456 qla24xx_vport_create_req_sanity_check(struct fc_vport *fc_vport) in qla24xx_vport_create_req_sanity_check() argument 458 scsi_qla_host_t *base_vha = shost_priv(fc_vport->shost); in qla24xx_vport_create_req_sanity_check() 463 if (fc_vport->roles != FC_PORT_ROLE_FCP_INITIATOR) in qla24xx_vport_create_req_sanity_check() [all …]
|
| H A D | qla_attr.c | 14 static int qla24xx_vport_disable(struct fc_vport *, bool); 3044 qla24xx_vport_create(struct fc_vport *fc_vport, bool disable) in qla24xx_vport_create() argument 3048 scsi_qla_host_t *base_vha = shost_priv(fc_vport->shost); in qla24xx_vport_create() 3055 ret = qla24xx_vport_create_req_sanity_check(fc_vport); in qla24xx_vport_create() 3062 vha = qla24xx_create_vhost(fc_vport); in qla24xx_vport_create() 3069 fc_vport_set_state(fc_vport, FC_VPORT_DISABLED); in qla24xx_vport_create() 3089 fc_vport_set_state(fc_vport, FC_VPORT_LINKDOWN); in qla24xx_vport_create() 3118 if (scsi_add_host_with_dma(vha->host, &fc_vport->dev, in qla24xx_vport_create() 3135 qla24xx_vport_disable(fc_vport, disable); in qla24xx_vport_create() 3180 qla24xx_vport_delete(struct fc_vport *fc_vport) in qla24xx_vport_delete() argument [all …]
|
| H A D | qla_gbl.h | 271 extern int qla24xx_vport_create_req_sanity_check(struct fc_vport *); 272 extern scsi_qla_host_t *qla24xx_create_vhost(struct fc_vport *);
|
| H A D | qla_isr.c | 1445 fc_vport_set_state(vha->fc_vport, FC_VPORT_FAILED); in qla2x00_async_event() 1524 fc_vport_set_state(vha->fc_vport, FC_VPORT_FAILED); in qla2x00_async_event() 1544 fc_vport_set_state(vha->fc_vport, FC_VPORT_FAILED); in qla2x00_async_event() 1587 fc_vport_set_state(vha->fc_vport, FC_VPORT_FAILED); in qla2x00_async_event() 1616 fc_vport_set_state(vha->fc_vport, FC_VPORT_FAILED); in qla2x00_async_event() 1696 fc_vport_set_state(vha->fc_vport, in qla2x00_async_event()
|
| H A D | tcm_qla2xxx.c | 1668 struct fc_vport *vport; in tcm_qla2xxx_lport_register_npiv_cb() 1776 fc_vport_terminate(npiv_vha->fc_vport); in tcm_qla2xxx_npiv_drop_lport()
|
| H A D | qla_def.h | 5055 struct fc_vport *fc_vport; /* holds fc_vport * for each vport */ member
|
| H A D | qla_sup.c | 1172 struct fc_vport *vport; in qla2xxx_flash_npiv_conf()
|
| /linux/drivers/scsi/libfc/ |
| H A D | fc_npiv.c | 21 struct fc_lport *libfc_vport_create(struct fc_vport *vport, int privsize) in libfc_vport_create() 94 struct fc_vport *vport = vn_port->vport; in __fc_vport_setlink() 119 struct fc_vport *vport = vn_port->vport; in fc_vport_setlink()
|
| /linux/drivers/scsi/bfa/ |
| H A D | bfad_im.h | 76 struct fc_vport *fc_vport; member
|
| /linux/drivers/scsi/ |
| H A D | scsi_transport_fc.c | 32 struct fc_vport **vport); 1463 struct fc_vport *vport = transport_class_to_vport(dev); \ 1479 struct fc_vport *vport = transport_class_to_vport(dev); \ 1498 struct fc_vport *vport = transport_class_to_vport(dev); \ 1535 struct fc_vport *vport = transport_class_to_vport(dev); \ 1546 struct fc_vport *vport = transport_class_to_vport(dev); \ 1582 struct fc_vport *vport = transport_class_to_vport(dev); \ 1651 struct fc_vport *vport = transport_class_to_vport(dev); in show_fc_vport_roles() 1671 struct fc_vport *vport = transport_class_to_vport(dev); in store_fc_vport_delete() 1699 struct fc_vport *vport = transport_class_to_vport(dev); in store_fc_vport_disable() [all …]
|
| /linux/drivers/scsi/fcoe/ |
| H A D | fcoe.c | 140 static int fcoe_vport_destroy(struct fc_vport *); 141 static int fcoe_vport_create(struct fc_vport *, bool disabled); 142 static int fcoe_vport_disable(struct fc_vport *, bool disable); 143 static void fcoe_set_vport_symbolic_name(struct fc_vport *); 1135 struct fc_vport *vport = dev_to_vport(parent); in fcoe_if_create() 2623 static int fcoe_vport_create(struct fc_vport *vport, bool disabled) in fcoe_vport_create() 2671 static int fcoe_vport_destroy(struct fc_vport *vport) in fcoe_vport_destroy() 2699 struct fc_vport *vport; in fcoe_vport_remove() 2700 struct fc_vport *next_vport; in fcoe_vport_remove() 2726 static int fcoe_vport_disable(struct fc_vport *vport, bool disable) in fcoe_vport_disable() [all …]
|
| H A D | fcoe_transport.c | 249 int fcoe_validate_vport_create(struct fc_vport *vport) in fcoe_validate_vport_create()
|
| /linux/include/scsi/ |
| H A D | libfc.h | 719 struct fc_vport *vport; 923 struct fc_lport *libfc_vport_create(struct fc_vport *, int privsize);
|
| /linux/drivers/scsi/bnx2fc/ |
| H A D | bnx2fc_fcoe.c | 1117 static int bnx2fc_vport_create(struct fc_vport *vport, bool disabled) in bnx2fc_vport_create() 1182 static int bnx2fc_vport_destroy(struct fc_vport *vport) in bnx2fc_vport_destroy() 1212 static int bnx2fc_vport_disable(struct fc_vport *vport, bool disable) in bnx2fc_vport_disable() 1490 struct fc_vport *vport = dev_to_vport(parent); in bnx2fc_if_create()
|
| /linux/drivers/scsi/qedf/ |
| H A D | qedf_main.c | 1799 static int qedf_vport_libfc_config(struct fc_vport *vport, in qedf_vport_libfc_config() 1830 static int qedf_vport_create(struct fc_vport *vport, bool disabled) in qedf_vport_create() 1972 static int qedf_vport_destroy(struct fc_vport *vport) in qedf_vport_destroy() 2015 static int qedf_vport_disable(struct fc_vport *vport, bool disable) in qedf_vport_disable()
|