/linux/drivers/scsi/csiostor/ |
A D | csio_attr.c | 391 struct fc_vport *fc_vport = ln->fc_vport; in csio_vport_set_state() local 552 csio_vport_create(struct fc_vport *fc_vport, bool disable) in csio_vport_create() argument 565 if (fc_vport->node_name != 0) { in csio_vport_create() 566 u64_to_wwn(fc_vport->node_name, wwn); in csio_vport_create() 576 if (fc_vport->port_name != 0) { in csio_vport_create() 577 u64_to_wwn(fc_vport->port_name, wwn); in csio_vport_create() 594 ln->fc_vport = fc_vport; in csio_vport_create() 600 if (!fc_vport->node_name) in csio_vport_create() 602 if (!fc_vport->port_name) in csio_vport_create() 614 csio_vport_delete(struct fc_vport *fc_vport) in csio_vport_delete() argument [all …]
|
A D | csio_lnode.h | 197 struct fc_vport *fc_vport; member
|
/linux/drivers/scsi/lpfc/ |
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() 295 lpfc_vport_create(struct fc_vport *fc_vport, bool disable) in lpfc_vport_create() argument 410 vport->fc_vport = fc_vport; in lpfc_vport_create() 489 disable_vport(struct fc_vport *fc_vport) in disable_vport() argument 540 enable_vport(struct fc_vport *fc_vport) in enable_vport() argument 588 lpfc_vport_disable(struct fc_vport *fc_vport, bool disable) in lpfc_vport_disable() argument 593 return enable_vport(fc_vport); in lpfc_vport_disable() [all …]
|
A D | lpfc_vport.h | 89 int lpfc_vport_create(struct fc_vport *, bool); 90 int lpfc_vport_delete(struct fc_vport *);
|
A D | lpfc_crtn.h | 447 int lpfc_vport_disable(struct fc_vport *fc_vport, bool disable);
|
A D | lpfc.h | 721 struct fc_vport *fc_vport; member
|
/linux/drivers/scsi/bfa/ |
A D | bfad_attr.c | 352 bfad_im_vport_create(struct fc_vport *fc_vport, bool disable) in bfad_im_vport_create() argument 354 char *vname = fc_vport->symbolic_name; in bfad_im_vport_create() 355 struct Scsi_Host *shost = fc_vport->shost; in bfad_im_vport_create() 395 fc_vport_set_state(fc_vport, FC_VPORT_ACTIVE); in bfad_im_vport_create() 424 fc_vport->dd_data = vport; in bfad_im_vport_create() 425 vport->drv_port.im_port->fc_vport = fc_vport; in bfad_im_vport_create() 478 bfad_im_vport_delete(struct fc_vport *fc_vport) in bfad_im_vport_delete() argument 533 bfad_im_vport_disable(struct fc_vport *fc_vport, bool disable) in bfad_im_vport_disable() argument 559 fc_vport_set_state(fc_vport, FC_VPORT_ACTIVE); in bfad_im_vport_disable() 566 bfad_im_vport_set_symbolic_name(struct fc_vport *fc_vport) in bfad_im_vport_set_symbolic_name() argument [all …]
|
A D | bfad_im.h | 60 struct fc_vport *fc_vport; member
|
A D | bfad.c | 1027 struct fc_vport *fc_vport; in bfad_start_ops() local 1038 fc_vport = fc_vport_create(bfad->pport.im_port->shost, 0, &vid); in bfad_start_ops() 1039 if (!fc_vport) { in bfad_start_ops()
|
/linux/drivers/scsi/qla2xxx/ |
A D | qla_mid.c | 245 struct fc_vport *fc_vport; in qla24xx_configure_vp() local 248 fc_vport = vha->fc_vport; in qla24xx_configure_vp() 267 fc_vport_set_state(fc_vport, FC_VPORT_ACTIVE); in qla24xx_configure_vp() 461 qla24xx_vport_create_req_sanity_check(struct fc_vport *fc_vport) in qla24xx_vport_create_req_sanity_check() argument 468 if (fc_vport->roles != FC_PORT_ROLE_FCP_INITIATOR) in qla24xx_vport_create_req_sanity_check() 480 u64_to_wwn(fc_vport->port_name, port_name); in qla24xx_vport_create_req_sanity_check() 499 qla24xx_create_vhost(struct fc_vport *fc_vport) in qla24xx_create_vhost() argument 515 fc_vport->dd_data = vha; in qla24xx_create_vhost() 517 u64_to_wwn(fc_vport->node_name, vha->node_name); in qla24xx_create_vhost() 518 u64_to_wwn(fc_vport->port_name, vha->port_name); in qla24xx_create_vhost() [all …]
|
A D | qla_attr.c | 14 static int qla24xx_vport_disable(struct fc_vport *, bool); 3014 qla24xx_vport_create(struct fc_vport *fc_vport, bool disable) in qla24xx_vport_create() argument 3032 vha = qla24xx_create_vhost(fc_vport); in qla24xx_vport_create() 3039 fc_vport_set_state(fc_vport, FC_VPORT_DISABLED); in qla24xx_vport_create() 3059 fc_vport_set_state(fc_vport, FC_VPORT_LINKDOWN); in qla24xx_vport_create() 3090 if (scsi_add_host_with_dma(vha->host, &fc_vport->dev, in qla24xx_vport_create() 3107 qla24xx_vport_disable(fc_vport, disable); in qla24xx_vport_create() 3152 qla24xx_vport_delete(struct fc_vport *fc_vport) in qla24xx_vport_delete() argument 3154 scsi_qla_host_t *vha = fc_vport->dd_data; in qla24xx_vport_delete() 3215 qla24xx_vport_disable(struct fc_vport *fc_vport, bool disable) in qla24xx_vport_disable() argument [all …]
|
A D | qla_gbl.h | 275 extern int qla24xx_vport_create_req_sanity_check(struct fc_vport *); 276 extern scsi_qla_host_t *qla24xx_create_vhost(struct fc_vport *);
|
A D | qla_isr.c | 1296 fc_vport_set_state(vha->fc_vport, FC_VPORT_FAILED); in qla2x00_async_event() 1377 fc_vport_set_state(vha->fc_vport, FC_VPORT_FAILED); in qla2x00_async_event() 1397 fc_vport_set_state(vha->fc_vport, FC_VPORT_FAILED); in qla2x00_async_event() 1440 fc_vport_set_state(vha->fc_vport, FC_VPORT_FAILED); in qla2x00_async_event() 1469 fc_vport_set_state(vha->fc_vport, FC_VPORT_FAILED); in qla2x00_async_event() 1549 fc_vport_set_state(vha->fc_vport, in qla2x00_async_event()
|
/linux/drivers/scsi/elx/efct/ |
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 …]
|
A D | efct_lio.h | 143 struct fc_vport *fc_vport; member
|
A D | efct_scsi.h | 60 struct fc_vport *fc_vport; member
|
A D | efct_lio.c | 787 struct fc_vport *new_fc_vport; in efct_lio_npiv_make_nport() 851 lio_vport->fc_vport = new_fc_vport; in efct_lio_npiv_make_nport() 883 if (lio_vport->fc_vport) in efct_lio_npiv_drop_nport() 884 fc_vport_terminate(lio_vport->fc_vport); in efct_lio_npiv_drop_nport()
|
/linux/include/scsi/ |
A D | scsi_transport_fc.h | 219 struct fc_vport { struct 254 container_of(d, struct fc_vport, dev) 705 void (*set_vport_symbolic_name)(struct fc_vport *); 706 int (*vport_create)(struct fc_vport *, bool); 707 int (*vport_disable)(struct fc_vport *, bool); 708 int (*vport_delete)(struct fc_vport *); 827 fc_vport_set_state(struct fc_vport *vport, enum fc_vport_state new_state) in fc_vport_set_state() 860 struct fc_vport *fc_vport_create(struct Scsi_Host *shost, int channel, 862 int fc_vport_terminate(struct fc_vport *vport);
|
A D | libfc.h | 704 struct fc_vport *vport; 902 struct fc_lport *libfc_vport_create(struct fc_vport *, int privsize);
|
A D | libfcoe.h | 261 int fcoe_validate_vport_create(struct fc_vport *vport);
|
/linux/drivers/scsi/libfc/ |
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/ |
A D | scsi_transport_fc.c | 32 struct fc_vport **vport); 2318 struct fc_vport *vport; in store_fc_host_vport_create() 2365 struct fc_vport *vport; in store_fc_host_vport_delete() 2485 struct fc_vport *vport = dev_to_vport(dev); in fc_vport_dev_release() 2498 struct fc_vport *vport; in fc_vport_match() 2884 struct fc_vport *vport = NULL, *next_vport = NULL; in fc_remove_host() 3836 struct fc_vport *vport; in fc_vport_setup() 3954 struct fc_vport * 3959 struct fc_vport *vport; in fc_vport_create() 3978 fc_vport_terminate(struct fc_vport *vport) in fc_vport_terminate() [all …]
|
/linux/Documentation/scsi/ |
A D | scsi_fc_transport.rst | 133 /sys/class/fc_vports/vport-17:0-0 the vport's fc_vport 142 The new fc_vport class object has the following attributes 349 int vport_create(struct fc_vport *vport, bool disable) 435 int vport_disable(struct fc_vport *vport, bool disable) 466 int vport_delete(struct fc_vport *vport) 473 fc_host or fc_vport vport_delete attributes), the transport will call 523 struct fc_vport * 528 * @vport: fc_vport to be terminated 537 fc_vport_terminate(struct fc_vport *vport)
|
/linux/drivers/scsi/fcoe/ |
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 *); 1134 struct fc_vport *vport = dev_to_vport(parent); in fcoe_if_create() 2652 static int fcoe_vport_create(struct fc_vport *vport, bool disabled) in fcoe_vport_create() 2700 static int fcoe_vport_destroy(struct fc_vport *vport) in fcoe_vport_destroy() 2728 struct fc_vport *vport; in fcoe_vport_remove() 2729 struct fc_vport *next_vport; in fcoe_vport_remove() 2755 static int fcoe_vport_disable(struct fc_vport *vport, bool disable) in fcoe_vport_disable() [all …]
|
/linux/drivers/scsi/bnx2fc/ |
A D | bnx2fc_fcoe.c | 1128 static int bnx2fc_vport_create(struct fc_vport *vport, bool disabled) in bnx2fc_vport_create() 1193 static int bnx2fc_vport_destroy(struct fc_vport *vport) in bnx2fc_vport_destroy() 1223 static int bnx2fc_vport_disable(struct fc_vport *vport, bool disable) in bnx2fc_vport_disable() 1501 struct fc_vport *vport = dev_to_vport(parent); in bnx2fc_if_create()
|