/drivers/scsi/csiostor/ |
D | csio_attr.c | 379 struct fc_vport *fc_vport = ln->fc_vport; in csio_vport_set_state() local 386 fc_vport_set_state(fc_vport, FC_VPORT_LINKDOWN); in csio_vport_set_state() 391 fc_vport_set_state(fc_vport, FC_VPORT_NO_FABRIC_SUPP); in csio_vport_set_state() 398 fc_vport_set_state(fc_vport, FC_VPORT_LINKDOWN); in csio_vport_set_state() 401 fc_vport_set_state(fc_vport, FC_VPORT_ACTIVE); in csio_vport_set_state() 543 csio_vport_create(struct fc_vport *fc_vport, bool disable) in csio_vport_create() argument 545 struct Scsi_Host *shost = fc_vport->shost; in csio_vport_create() 552 ln = csio_shost_init(hw, &fc_vport->dev, false, pln); in csio_vport_create() 556 if (fc_vport->node_name != 0) { in csio_vport_create() 557 u64_to_wwn(fc_vport->node_name, wwn); in csio_vport_create() [all …]
|
D | csio_lnode.h | 197 struct fc_vport *fc_vport; member
|
D | csio_init.c | 890 fc_vport_terminate(ln->fc_vport); in csio_lnodes_exit()
|
/drivers/scsi/lpfc/ |
D | lpfc_vport.c | 52 struct fc_vport *fc_vport = vport->fc_vport; in lpfc_vport_set_state() local 54 if (fc_vport) { in lpfc_vport_set_state() 61 fc_vport->vport_last_state = fc_vport->vport_state; in lpfc_vport_set_state() 62 fc_vport->vport_state = new_state; in lpfc_vport_set_state() 291 lpfc_vport_create(struct fc_vport *fc_vport, bool disable) in lpfc_vport_create() argument 294 struct Scsi_Host *shost = fc_vport->shost; in lpfc_vport_create() 332 vport = lpfc_create_port(phba, instance, &fc_vport->dev); in lpfc_vport_create() 360 u64_to_wwn(fc_vport->node_name, vport->fc_nodename.u.wwn); in lpfc_vport_create() 361 u64_to_wwn(fc_vport->port_name, vport->fc_portname.u.wwn); in lpfc_vport_create() 390 *(struct lpfc_vport **)fc_vport->dd_data = vport; in lpfc_vport_create() [all …]
|
D | lpfc_vport.h | 87 int lpfc_vport_create(struct fc_vport *, bool); 88 int lpfc_vport_delete(struct fc_vport *);
|
D | lpfc_crtn.h | 360 int lpfc_vport_disable(struct fc_vport *fc_vport, bool disable);
|
D | lpfc.h | 427 struct fc_vport *fc_vport; member
|
D | lpfc_ct.c | 1062 strlen(vport->fc_vport->symbolic_name)) in lpfc_vport_symbolic_port_name() 1064 vport->fc_vport->symbolic_name); in lpfc_vport_symbolic_port_name()
|
D | lpfc_attr.c | 5101 lpfc_set_vport_symbolic_name(struct fc_vport *fc_vport) in lpfc_set_vport_symbolic_name() argument 5103 struct lpfc_vport *vport = *(struct lpfc_vport **)fc_vport->dd_data; in lpfc_set_vport_symbolic_name()
|
/drivers/scsi/qla2xxx/ |
D | qla_mid.c | 168 fc_vport_set_state(vha->fc_vport, FC_VPORT_DISABLED); in qla24xx_disable_vp() 170 fc_vport_set_state(vha->fc_vport, FC_VPORT_FAILED); in qla24xx_disable_vp() 188 fc_vport_set_state(vha->fc_vport, FC_VPORT_LINKDOWN); in qla24xx_enable_vp() 198 fc_vport_set_state(vha->fc_vport, FC_VPORT_FAILED); in qla24xx_enable_vp() 215 struct fc_vport *fc_vport; in qla24xx_configure_vp() local 218 fc_vport = vha->fc_vport; in qla24xx_configure_vp() 237 fc_vport_set_state(fc_vport, FC_VPORT_ACTIVE); in qla24xx_configure_vp() 399 qla24xx_vport_create_req_sanity_check(struct fc_vport *fc_vport) in qla24xx_vport_create_req_sanity_check() argument 401 scsi_qla_host_t *base_vha = shost_priv(fc_vport->shost); in qla24xx_vport_create_req_sanity_check() 406 if (fc_vport->roles != FC_PORT_ROLE_FCP_INITIATOR) in qla24xx_vport_create_req_sanity_check() [all …]
|
D | qla_attr.c | 15 static int qla24xx_vport_disable(struct fc_vport *, bool); 1801 qla24xx_vport_create(struct fc_vport *fc_vport, bool disable) in qla24xx_vport_create() argument 1805 scsi_qla_host_t *base_vha = shost_priv(fc_vport->shost); in qla24xx_vport_create() 1812 ret = qla24xx_vport_create_req_sanity_check(fc_vport); in qla24xx_vport_create() 1819 vha = qla24xx_create_vhost(fc_vport); in qla24xx_vport_create() 1826 fc_vport_set_state(fc_vport, FC_VPORT_DISABLED); in qla24xx_vport_create() 1846 fc_vport_set_state(fc_vport, FC_VPORT_LINKDOWN); in qla24xx_vport_create() 1876 if (scsi_add_host_with_dma(vha->host, &fc_vport->dev, in qla24xx_vport_create() 1893 qla24xx_vport_disable(fc_vport, disable); in qla24xx_vport_create() 1944 qla24xx_vport_delete(struct fc_vport *fc_vport) in qla24xx_vport_delete() argument [all …]
|
D | tcm_qla2xxx.h | 79 struct fc_vport *npiv_vport;
|
D | qla_gbl.h | 181 extern int qla24xx_vport_create_req_sanity_check(struct fc_vport *); 182 extern scsi_qla_host_t * qla24xx_create_vhost(struct fc_vport *);
|
D | qla_isr.c | 667 fc_vport_set_state(vha->fc_vport, FC_VPORT_FAILED); in qla2x00_async_event() 708 fc_vport_set_state(vha->fc_vport, FC_VPORT_FAILED); in qla2x00_async_event() 728 fc_vport_set_state(vha->fc_vport, FC_VPORT_FAILED); in qla2x00_async_event() 768 fc_vport_set_state(vha->fc_vport, FC_VPORT_FAILED); in qla2x00_async_event() 798 fc_vport_set_state(vha->fc_vport, FC_VPORT_FAILED); in qla2x00_async_event() 844 fc_vport_set_state(vha->fc_vport, in qla2x00_async_event()
|
D | qla_def.h | 3407 struct fc_vport *fc_vport; /* holds fc_vport * for each vport */ member
|
D | qla_sup.c | 1052 struct fc_vport *vport; in qla2xxx_flash_npiv_conf()
|
/drivers/scsi/bfa/ |
D | bfad_attr.c | 374 bfad_im_vport_create(struct fc_vport *fc_vport, bool disable) in bfad_im_vport_create() argument 376 char *vname = fc_vport->symbolic_name; in bfad_im_vport_create() 377 struct Scsi_Host *shost = fc_vport->shost; in bfad_im_vport_create() 387 u64_to_wwn(fc_vport->node_name, (u8 *)&port_cfg.nwwn); in bfad_im_vport_create() 388 u64_to_wwn(fc_vport->port_name, (u8 *)&port_cfg.pwwn); in bfad_im_vport_create() 404 rc = bfad_vport_create(bfad, 0, &port_cfg, &fc_vport->dev); in bfad_im_vport_create() 417 fc_vport_set_state(fc_vport, FC_VPORT_ACTIVE); in bfad_im_vport_create() 422 fc_vport_set_state(fc_vport, FC_VPORT_DISABLED); in bfad_im_vport_create() 446 fc_vport->dd_data = vport; in bfad_im_vport_create() 447 vport->drv_port.im_port->fc_vport = fc_vport; in bfad_im_vport_create() [all …]
|
D | bfad_im.h | 68 struct fc_vport *fc_vport; member
|
D | bfad.c | 1073 struct fc_vport *fc_vport; in bfad_start_ops() local 1084 fc_vport = fc_vport_create(bfad->pport.im_port->shost, 0, &vid); in bfad_start_ops() 1085 if (!fc_vport) { in bfad_start_ops()
|
D | bfad_im.c | 598 fc_vport_terminate(im_port->fc_vport); in bfad_im_port_delete_handler()
|
/drivers/scsi/libfc/ |
D | fc_npiv.c | 33 struct fc_lport *libfc_vport_create(struct fc_vport *vport, int privsize) in libfc_vport_create() 106 struct fc_vport *vport = vn_port->vport; in __fc_vport_setlink() 131 struct fc_vport *vport = vn_port->vport; in fc_vport_setlink()
|
/drivers/scsi/ |
D | scsi_transport_fc.c | 48 struct fc_vport **vport); 1069 struct fc_vport *vport = transport_class_to_vport(dev); \ 1085 struct fc_vport *vport = transport_class_to_vport(dev); \ 1104 struct fc_vport *vport = transport_class_to_vport(dev); \ 1141 struct fc_vport *vport = transport_class_to_vport(dev); \ 1152 struct fc_vport *vport = transport_class_to_vport(dev); \ 1188 struct fc_vport *vport = transport_class_to_vport(dev); \ 1257 struct fc_vport *vport = transport_class_to_vport(dev); in show_fc_vport_roles() 1277 struct fc_vport *vport = transport_class_to_vport(dev); in store_fc_vport_delete() 1305 struct fc_vport *vport = transport_class_to_vport(dev); in store_fc_vport_disable() [all …]
|
/drivers/scsi/fcoe/ |
D | fcoe.c | 152 static int fcoe_vport_destroy(struct fc_vport *); 153 static int fcoe_vport_create(struct fc_vport *, bool disabled); 154 static int fcoe_vport_disable(struct fc_vport *, bool disable); 155 static void fcoe_set_vport_symbolic_name(struct fc_vport *); 1099 struct fc_vport *vport = dev_to_vport(parent); in fcoe_if_create() 2205 struct fc_vport *vport; in fcoe_destroy_work() 2206 struct fc_vport *next_vport; in fcoe_destroy_work() 2797 static int fcoe_vport_create(struct fc_vport *vport, bool disabled) in fcoe_vport_create() 2845 static int fcoe_vport_destroy(struct fc_vport *vport) in fcoe_vport_destroy() 2867 static int fcoe_vport_disable(struct fc_vport *vport, bool disable) in fcoe_vport_disable() [all …]
|
D | fcoe_transport.c | 224 int fcoe_validate_vport_create(struct fc_vport *vport) in fcoe_validate_vport_create()
|
/drivers/scsi/bnx2fc/ |
D | bnx2fc_fcoe.c | 1058 static int bnx2fc_vport_create(struct fc_vport *vport, bool disabled) in bnx2fc_vport_create() 1120 static int bnx2fc_vport_destroy(struct fc_vport *vport) in bnx2fc_vport_destroy() 1150 static int bnx2fc_vport_disable(struct fc_vport *vport, bool disable) in bnx2fc_vport_disable() 1425 struct fc_vport *vport = dev_to_vport(parent); in bnx2fc_if_create()
|