drivers/scsi/bfa/bfad.c
1000
struct fc_vport *fc_vport;
drivers/scsi/bfa/bfad.c
1011
fc_vport = fc_vport_create(bfad->pport.im_port->shost, 0, &vid);
drivers/scsi/bfa/bfad.c
1012
if (!fc_vport) {
drivers/scsi/bfa/bfad_attr.c
352
bfad_im_vport_create(struct fc_vport *fc_vport, bool disable)
drivers/scsi/bfa/bfad_attr.c
354
char *vname = fc_vport->symbolic_name;
drivers/scsi/bfa/bfad_attr.c
355
struct Scsi_Host *shost = fc_vport->shost;
drivers/scsi/bfa/bfad_attr.c
365
u64_to_wwn(fc_vport->node_name, (u8 *)&port_cfg.nwwn);
drivers/scsi/bfa/bfad_attr.c
366
u64_to_wwn(fc_vport->port_name, (u8 *)&port_cfg.pwwn);
drivers/scsi/bfa/bfad_attr.c
382
rc = bfad_vport_create(bfad, 0, &port_cfg, &fc_vport->dev);
drivers/scsi/bfa/bfad_attr.c
395
fc_vport_set_state(fc_vport, FC_VPORT_ACTIVE);
drivers/scsi/bfa/bfad_attr.c
400
fc_vport_set_state(fc_vport, FC_VPORT_DISABLED);
drivers/scsi/bfa/bfad_attr.c
424
fc_vport->dd_data = vport;
drivers/scsi/bfa/bfad_attr.c
425
vport->drv_port.im_port->fc_vport = fc_vport;
drivers/scsi/bfa/bfad_attr.c
478
bfad_im_vport_delete(struct fc_vport *fc_vport)
drivers/scsi/bfa/bfad_attr.c
480
struct bfad_vport_s *vport = (struct bfad_vport_s *)fc_vport->dd_data;
drivers/scsi/bfa/bfad_attr.c
533
bfad_im_vport_disable(struct fc_vport *fc_vport, bool disable)
drivers/scsi/bfa/bfad_attr.c
542
vport = (struct bfad_vport_s *)fc_vport->dd_data;
drivers/scsi/bfa/bfad_attr.c
556
fc_vport_set_state(fc_vport, FC_VPORT_DISABLED);
drivers/scsi/bfa/bfad_attr.c
559
fc_vport_set_state(fc_vport, FC_VPORT_ACTIVE);
drivers/scsi/bfa/bfad_attr.c
566
bfad_im_vport_set_symbolic_name(struct fc_vport *fc_vport)
drivers/scsi/bfa/bfad_attr.c
568
struct bfad_vport_s *vport = (struct bfad_vport_s *)fc_vport->dd_data;
drivers/scsi/bfa/bfad_attr.c
573
char *sym_name = fc_vport->symbolic_name;
drivers/scsi/bfa/bfad_im.c
615
fc_vport_terminate(im_port->fc_vport);
drivers/scsi/bfa/bfad_im.h
76
struct fc_vport *fc_vport;
drivers/scsi/bnx2fc/bnx2fc_fcoe.c
1117
static int bnx2fc_vport_create(struct fc_vport *vport, bool disabled)
drivers/scsi/bnx2fc/bnx2fc_fcoe.c
1182
static int bnx2fc_vport_destroy(struct fc_vport *vport)
drivers/scsi/bnx2fc/bnx2fc_fcoe.c
1212
static int bnx2fc_vport_disable(struct fc_vport *vport, bool disable)
drivers/scsi/bnx2fc/bnx2fc_fcoe.c
1489
struct fc_vport *vport = dev_to_vport(parent);
drivers/scsi/csiostor/csio_attr.c
391
struct fc_vport *fc_vport = ln->fc_vport;
drivers/scsi/csiostor/csio_attr.c
398
fc_vport_set_state(fc_vport, FC_VPORT_LINKDOWN);
drivers/scsi/csiostor/csio_attr.c
403
fc_vport_set_state(fc_vport, FC_VPORT_NO_FABRIC_SUPP);
drivers/scsi/csiostor/csio_attr.c
410
fc_vport_set_state(fc_vport, FC_VPORT_LINKDOWN);
drivers/scsi/csiostor/csio_attr.c
413
fc_vport_set_state(fc_vport, FC_VPORT_ACTIVE);
drivers/scsi/csiostor/csio_attr.c
552
csio_vport_create(struct fc_vport *fc_vport, bool disable)
drivers/scsi/csiostor/csio_attr.c
554
struct Scsi_Host *shost = fc_vport->shost;
drivers/scsi/csiostor/csio_attr.c
561
ln = csio_shost_init(hw, &fc_vport->dev, false, pln);
drivers/scsi/csiostor/csio_attr.c
565
if (fc_vport->node_name != 0) {
drivers/scsi/csiostor/csio_attr.c
566
u64_to_wwn(fc_vport->node_name, wwn);
drivers/scsi/csiostor/csio_attr.c
576
if (fc_vport->port_name != 0) {
drivers/scsi/csiostor/csio_attr.c
577
u64_to_wwn(fc_vport->port_name, wwn);
drivers/scsi/csiostor/csio_attr.c
593
fc_vport_set_state(fc_vport, FC_VPORT_INITIALIZING);
drivers/scsi/csiostor/csio_attr.c
594
ln->fc_vport = fc_vport;
drivers/scsi/csiostor/csio_attr.c
599
*(struct csio_lnode **)fc_vport->dd_data = ln;
drivers/scsi/csiostor/csio_attr.c
600
if (!fc_vport->node_name)
drivers/scsi/csiostor/csio_attr.c
601
fc_vport->node_name = wwn_to_u64(csio_ln_wwnn(ln));
drivers/scsi/csiostor/csio_attr.c
602
if (!fc_vport->port_name)
drivers/scsi/csiostor/csio_attr.c
603
fc_vport->port_name = wwn_to_u64(csio_ln_wwpn(ln));
drivers/scsi/csiostor/csio_attr.c
614
csio_vport_delete(struct fc_vport *fc_vport)
drivers/scsi/csiostor/csio_attr.c
616
struct csio_lnode *ln = *(struct csio_lnode **)fc_vport->dd_data;
drivers/scsi/csiostor/csio_attr.c
639
if (fc_vport->vport_state != FC_VPORT_DISABLED)
drivers/scsi/csiostor/csio_attr.c
647
csio_vport_disable(struct fc_vport *fc_vport, bool disable)
drivers/scsi/csiostor/csio_attr.c
649
struct csio_lnode *ln = *(struct csio_lnode **)fc_vport->dd_data;
drivers/scsi/csiostor/csio_attr.c
665
fc_vport_set_state(fc_vport, FC_VPORT_DISABLED);
drivers/scsi/csiostor/csio_attr.c
670
fc_vport_set_state(fc_vport, FC_VPORT_INITIALIZING);
drivers/scsi/csiostor/csio_init.c
880
fc_vport_terminate(ln->fc_vport);
drivers/scsi/csiostor/csio_lnode.h
184
struct fc_vport *fc_vport;
drivers/scsi/elx/efct/efct_lio.c
770
struct fc_vport *new_fc_vport;
drivers/scsi/elx/efct/efct_lio.c
834
lio_vport->fc_vport = new_fc_vport;
drivers/scsi/elx/efct/efct_lio.c
866
if (lio_vport->fc_vport)
drivers/scsi/elx/efct/efct_lio.c
867
fc_vport_terminate(lio_vport->fc_vport);
drivers/scsi/elx/efct/efct_lio.h
143
struct fc_vport *fc_vport;
drivers/scsi/elx/efct/efct_scsi.h
60
struct fc_vport *fc_vport;
drivers/scsi/elx/efct/efct_xport.c
1000
struct efct_vport *vport = *(struct efct_vport **)fc_vport->dd_data;
drivers/scsi/elx/efct/efct_xport.c
1014
efct_vport_disable(struct fc_vport *fc_vport, bool disable)
drivers/scsi/elx/efct/efct_xport.c
966
efct_vport_create(struct fc_vport *fc_vport, bool disable)
drivers/scsi/elx/efct/efct_xport.c
968
struct Scsi_Host *shost = fc_vport ? fc_vport->shost : NULL;
drivers/scsi/elx/efct/efct_xport.c
975
if (!fc_vport || !shost || !efct)
drivers/scsi/elx/efct/efct_xport.c
978
vport = efct_scsi_new_vport(efct, &fc_vport->dev);
drivers/scsi/elx/efct/efct_xport.c
984
vport->fc_vport = fc_vport;
drivers/scsi/elx/efct/efct_xport.c
985
vport->npiv_wwpn = fc_vport->port_name;
drivers/scsi/elx/efct/efct_xport.c
986
vport->npiv_wwnn = fc_vport->node_name;
drivers/scsi/elx/efct/efct_xport.c
989
*(struct efct_vport **)fc_vport->dd_data = vport;
drivers/scsi/elx/efct/efct_xport.c
998
efct_vport_delete(struct fc_vport *fc_vport)
drivers/scsi/fcoe/fcoe.c
1135
struct fc_vport *vport = dev_to_vport(parent);
drivers/scsi/fcoe/fcoe.c
140
static int fcoe_vport_destroy(struct fc_vport *);
drivers/scsi/fcoe/fcoe.c
141
static int fcoe_vport_create(struct fc_vport *, bool disabled);
drivers/scsi/fcoe/fcoe.c
142
static int fcoe_vport_disable(struct fc_vport *, bool disable);
drivers/scsi/fcoe/fcoe.c
143
static void fcoe_set_vport_symbolic_name(struct fc_vport *);
drivers/scsi/fcoe/fcoe.c
2623
static int fcoe_vport_create(struct fc_vport *vport, bool disabled)
drivers/scsi/fcoe/fcoe.c
2671
static int fcoe_vport_destroy(struct fc_vport *vport)
drivers/scsi/fcoe/fcoe.c
2699
struct fc_vport *vport;
drivers/scsi/fcoe/fcoe.c
2700
struct fc_vport *next_vport;
drivers/scsi/fcoe/fcoe.c
2726
static int fcoe_vport_disable(struct fc_vport *vport, bool disable)
drivers/scsi/fcoe/fcoe.c
2750
static void fcoe_set_vport_symbolic_name(struct fc_vport *vport)
drivers/scsi/fcoe/fcoe_transport.c
249
int fcoe_validate_vport_create(struct fc_vport *vport)
drivers/scsi/libfc/fc_npiv.c
119
struct fc_vport *vport = vn_port->vport;
drivers/scsi/libfc/fc_npiv.c
21
struct fc_lport *libfc_vport_create(struct fc_vport *vport, int privsize)
drivers/scsi/libfc/fc_npiv.c
94
struct fc_vport *vport = vn_port->vport;
drivers/scsi/lpfc/lpfc.h
736
struct fc_vport *fc_vport;
drivers/scsi/lpfc/lpfc_attr.c
7172
lpfc_set_vport_symbolic_name(struct fc_vport *fc_vport)
drivers/scsi/lpfc/lpfc_attr.c
7174
struct lpfc_vport *vport = *(struct lpfc_vport **)fc_vport->dd_data;
drivers/scsi/lpfc/lpfc_crtn.h
477
int lpfc_vport_disable(struct fc_vport *fc_vport, bool disable);
drivers/scsi/lpfc/lpfc_els.c
11494
if (vport->fc_vport &&
drivers/scsi/lpfc/lpfc_els.c
11495
(vport->fc_vport->vport_state != FC_VPORT_NO_FABRIC_RSCS))
drivers/scsi/lpfc/lpfc_hbadisc.c
4039
struct fc_vport *new_fc_vport;
drivers/scsi/lpfc/lpfc_hbadisc.c
457
struct fc_vport *fc_vport = NULL;
drivers/scsi/lpfc/lpfc_hbadisc.c
500
fc_vport = vport->fc_vport;
drivers/scsi/lpfc/lpfc_hbadisc.c
501
if (fc_vport) {
drivers/scsi/lpfc/lpfc_hbadisc.c
503
if (fc_vport->vport_state ==
drivers/scsi/lpfc/lpfc_init.c
14095
fc_vport_terminate(vports[i]->fc_vport);
drivers/scsi/lpfc/lpfc_init.c
14934
fc_vport_terminate(vports[i]->fc_vport);
drivers/scsi/lpfc/lpfc_vport.c
293
lpfc_vport_create(struct fc_vport *fc_vport, bool disable)
drivers/scsi/lpfc/lpfc_vport.c
296
struct Scsi_Host *shost = fc_vport->shost;
drivers/scsi/lpfc/lpfc_vport.c
343
vport = lpfc_create_port(phba, instance, &fc_vport->dev);
drivers/scsi/lpfc/lpfc_vport.c
371
u64_to_wwn(fc_vport->node_name, vport->fc_nodename.u.wwn);
drivers/scsi/lpfc/lpfc_vport.c
372
u64_to_wwn(fc_vport->port_name, vport->fc_portname.u.wwn);
drivers/scsi/lpfc/lpfc_vport.c
407
*(struct lpfc_vport **)fc_vport->dd_data = vport;
drivers/scsi/lpfc/lpfc_vport.c
408
vport->fc_vport = fc_vport;
drivers/scsi/lpfc/lpfc_vport.c
533
disable_vport(struct fc_vport *fc_vport)
drivers/scsi/lpfc/lpfc_vport.c
535
struct lpfc_vport *vport = *(struct lpfc_vport **)fc_vport->dd_data;
drivers/scsi/lpfc/lpfc_vport.c
56
struct fc_vport *fc_vport = vport->fc_vport;
drivers/scsi/lpfc/lpfc_vport.c
568
enable_vport(struct fc_vport *fc_vport)
drivers/scsi/lpfc/lpfc_vport.c
570
struct lpfc_vport *vport = *(struct lpfc_vport **)fc_vport->dd_data;
drivers/scsi/lpfc/lpfc_vport.c
58
if (fc_vport) {
drivers/scsi/lpfc/lpfc_vport.c
612
lpfc_vport_disable(struct fc_vport *fc_vport, bool disable)
drivers/scsi/lpfc/lpfc_vport.c
615
return disable_vport(fc_vport);
drivers/scsi/lpfc/lpfc_vport.c
617
return enable_vport(fc_vport);
drivers/scsi/lpfc/lpfc_vport.c
621
lpfc_vport_delete(struct fc_vport *fc_vport)
drivers/scsi/lpfc/lpfc_vport.c
624
struct lpfc_vport *vport = *(struct lpfc_vport **)fc_vport->dd_data;
drivers/scsi/lpfc/lpfc_vport.c
65
fc_vport->vport_last_state = fc_vport->vport_state;
drivers/scsi/lpfc/lpfc_vport.c
66
fc_vport->vport_state = new_state;
drivers/scsi/lpfc/lpfc_vport.h
89
int lpfc_vport_create(struct fc_vport *, bool);
drivers/scsi/lpfc/lpfc_vport.h
90
int lpfc_vport_delete(struct fc_vport *);
drivers/scsi/qedf/qedf_main.c
1799
static int qedf_vport_libfc_config(struct fc_vport *vport,
drivers/scsi/qedf/qedf_main.c
1830
static int qedf_vport_create(struct fc_vport *vport, bool disabled)
drivers/scsi/qedf/qedf_main.c
1972
static int qedf_vport_destroy(struct fc_vport *vport)
drivers/scsi/qedf/qedf_main.c
2015
static int qedf_vport_disable(struct fc_vport *vport, bool disable)
drivers/scsi/qla2xxx/qla_attr.c
14
static int qla24xx_vport_disable(struct fc_vport *, bool);
drivers/scsi/qla2xxx/qla_attr.c
3044
qla24xx_vport_create(struct fc_vport *fc_vport, bool disable)
drivers/scsi/qla2xxx/qla_attr.c
3048
scsi_qla_host_t *base_vha = shost_priv(fc_vport->shost);
drivers/scsi/qla2xxx/qla_attr.c
3055
ret = qla24xx_vport_create_req_sanity_check(fc_vport);
drivers/scsi/qla2xxx/qla_attr.c
3062
vha = qla24xx_create_vhost(fc_vport);
drivers/scsi/qla2xxx/qla_attr.c
3069
fc_vport_set_state(fc_vport, FC_VPORT_DISABLED);
drivers/scsi/qla2xxx/qla_attr.c
3089
fc_vport_set_state(fc_vport, FC_VPORT_LINKDOWN);
drivers/scsi/qla2xxx/qla_attr.c
3118
if (scsi_add_host_with_dma(vha->host, &fc_vport->dev,
drivers/scsi/qla2xxx/qla_attr.c
3135
qla24xx_vport_disable(fc_vport, disable);
drivers/scsi/qla2xxx/qla_attr.c
3180
qla24xx_vport_delete(struct fc_vport *fc_vport)
drivers/scsi/qla2xxx/qla_attr.c
3182
scsi_qla_host_t *vha = fc_vport->dd_data;
drivers/scsi/qla2xxx/qla_attr.c
3242
qla24xx_vport_disable(struct fc_vport *fc_vport, bool disable)
drivers/scsi/qla2xxx/qla_attr.c
3244
scsi_qla_host_t *vha = fc_vport->dd_data;
drivers/scsi/qla2xxx/qla_def.h
5079
struct fc_vport *fc_vport; /* holds fc_vport * for each vport */
drivers/scsi/qla2xxx/qla_gbl.h
271
extern int qla24xx_vport_create_req_sanity_check(struct fc_vport *);
drivers/scsi/qla2xxx/qla_gbl.h
272
extern scsi_qla_host_t *qla24xx_create_vhost(struct fc_vport *);
drivers/scsi/qla2xxx/qla_isr.c
1452
fc_vport_set_state(vha->fc_vport, FC_VPORT_FAILED);
drivers/scsi/qla2xxx/qla_isr.c
1531
fc_vport_set_state(vha->fc_vport, FC_VPORT_FAILED);
drivers/scsi/qla2xxx/qla_isr.c
1551
fc_vport_set_state(vha->fc_vport, FC_VPORT_FAILED);
drivers/scsi/qla2xxx/qla_isr.c
1594
fc_vport_set_state(vha->fc_vport, FC_VPORT_FAILED);
drivers/scsi/qla2xxx/qla_isr.c
1623
fc_vport_set_state(vha->fc_vport, FC_VPORT_FAILED);
drivers/scsi/qla2xxx/qla_isr.c
1718
fc_vport_set_state(vha->fc_vport,
drivers/scsi/qla2xxx/qla_mbx.c
4338
fc_vport_set_state(vha->fc_vport, FC_VPORT_INITIALIZING);
drivers/scsi/qla2xxx/qla_mid.c
197
fc_vport_set_state(vha->fc_vport, FC_VPORT_DISABLED);
drivers/scsi/qla2xxx/qla_mid.c
199
fc_vport_set_state(vha->fc_vport, FC_VPORT_FAILED);
drivers/scsi/qla2xxx/qla_mid.c
217
fc_vport_set_state(vha->fc_vport, FC_VPORT_LINKDOWN);
drivers/scsi/qla2xxx/qla_mid.c
232
fc_vport_set_state(vha->fc_vport, FC_VPORT_FAILED);
drivers/scsi/qla2xxx/qla_mid.c
249
struct fc_vport *fc_vport;
drivers/scsi/qla2xxx/qla_mid.c
252
fc_vport = vha->fc_vport;
drivers/scsi/qla2xxx/qla_mid.c
271
fc_vport_set_state(fc_vport, FC_VPORT_ACTIVE);
drivers/scsi/qla2xxx/qla_mid.c
456
qla24xx_vport_create_req_sanity_check(struct fc_vport *fc_vport)
drivers/scsi/qla2xxx/qla_mid.c
458
scsi_qla_host_t *base_vha = shost_priv(fc_vport->shost);
drivers/scsi/qla2xxx/qla_mid.c
463
if (fc_vport->roles != FC_PORT_ROLE_FCP_INITIATOR)
drivers/scsi/qla2xxx/qla_mid.c
475
u64_to_wwn(fc_vport->port_name, port_name);
drivers/scsi/qla2xxx/qla_mid.c
494
qla24xx_create_vhost(struct fc_vport *fc_vport)
drivers/scsi/qla2xxx/qla_mid.c
496
scsi_qla_host_t *base_vha = shost_priv(fc_vport->shost);
drivers/scsi/qla2xxx/qla_mid.c
511
fc_vport->dd_data = vha;
drivers/scsi/qla2xxx/qla_mid.c
513
u64_to_wwn(fc_vport->node_name, vha->node_name);
drivers/scsi/qla2xxx/qla_mid.c
514
u64_to_wwn(fc_vport->port_name, vha->port_name);
drivers/scsi/qla2xxx/qla_mid.c
516
vha->fc_vport = fc_vport;
drivers/scsi/qla2xxx/qla_os.c
3787
fc_vport_terminate(vha->fc_vport);
drivers/scsi/qla2xxx/qla_sup.c
1201
struct fc_vport *vport;
drivers/scsi/qla2xxx/qla_target.c
7543
if (vha->fc_vport) {
drivers/scsi/qla2xxx/tcm_qla2xxx.c
1669
struct fc_vport *vport;
drivers/scsi/qla2xxx/tcm_qla2xxx.c
1777
fc_vport_terminate(npiv_vha->fc_vport);
drivers/scsi/scsi_transport_fc.c
1504
struct fc_vport *vport = transport_class_to_vport(dev); \
drivers/scsi/scsi_transport_fc.c
1520
struct fc_vport *vport = transport_class_to_vport(dev); \
drivers/scsi/scsi_transport_fc.c
1539
struct fc_vport *vport = transport_class_to_vport(dev); \
drivers/scsi/scsi_transport_fc.c
1576
struct fc_vport *vport = transport_class_to_vport(dev); \
drivers/scsi/scsi_transport_fc.c
1587
struct fc_vport *vport = transport_class_to_vport(dev); \
drivers/scsi/scsi_transport_fc.c
1623
struct fc_vport *vport = transport_class_to_vport(dev); \
drivers/scsi/scsi_transport_fc.c
1692
struct fc_vport *vport = transport_class_to_vport(dev);
drivers/scsi/scsi_transport_fc.c
1712
struct fc_vport *vport = transport_class_to_vport(dev);
drivers/scsi/scsi_transport_fc.c
1740
struct fc_vport *vport = transport_class_to_vport(dev);
drivers/scsi/scsi_transport_fc.c
2346
struct fc_vport *vport;
drivers/scsi/scsi_transport_fc.c
2393
struct fc_vport *vport;
drivers/scsi/scsi_transport_fc.c
2513
struct fc_vport *vport = dev_to_vport(dev);
drivers/scsi/scsi_transport_fc.c
2526
struct fc_vport *vport;
drivers/scsi/scsi_transport_fc.c
2914
struct fc_vport *vport = NULL, *next_vport = NULL;
drivers/scsi/scsi_transport_fc.c
33
struct fc_vport **vport);
drivers/scsi/scsi_transport_fc.c
3879
struct fc_vport_identifiers *ids, struct fc_vport **ret_vport)
drivers/scsi/scsi_transport_fc.c
3883
struct fc_vport *vport;
drivers/scsi/scsi_transport_fc.c
3894
size = (sizeof(struct fc_vport) + fci->f->dd_fcvport_size);
drivers/scsi/scsi_transport_fc.c
4001
struct fc_vport *
drivers/scsi/scsi_transport_fc.c
4006
struct fc_vport *vport;
drivers/scsi/scsi_transport_fc.c
4025
fc_vport_terminate(struct fc_vport *vport)
drivers/scsi/scsi_transport_fc.c
4076
struct fc_vport *vport =
drivers/scsi/scsi_transport_fc.c
4077
container_of(work, struct fc_vport, vport_delete_work);
include/scsi/libfc.h
719
struct fc_vport *vport;
include/scsi/libfc.h
923
struct fc_lport *libfc_vport_create(struct fc_vport *, int privsize);
include/scsi/libfcoe.h
266
int fcoe_validate_vport_create(struct fc_vport *vport);
include/scsi/scsi_transport_fc.h
254
container_of(d, struct fc_vport, dev)
include/scsi/scsi_transport_fc.h
711
void (*set_vport_symbolic_name)(struct fc_vport *);
include/scsi/scsi_transport_fc.h
712
int (*vport_create)(struct fc_vport *, bool);
include/scsi/scsi_transport_fc.h
713
int (*vport_disable)(struct fc_vport *, bool);
include/scsi/scsi_transport_fc.h
714
int (*vport_delete)(struct fc_vport *);
include/scsi/scsi_transport_fc.h
833
fc_vport_set_state(struct fc_vport *vport, enum fc_vport_state new_state)
include/scsi/scsi_transport_fc.h
867
struct fc_vport *fc_vport_create(struct Scsi_Host *shost, int channel,
include/scsi/scsi_transport_fc.h
869
int fc_vport_terminate(struct fc_vport *vport);