Searched refs:fc_vport (Results 1 - 25 of 38) sorted by relevance

12

/linux-master/drivers/scsi/csiostor/
H A Dcsio_attr.c391 struct fc_vport *fc_vport = ln->fc_vport; local
398 fc_vport_set_state(fc_vport, FC_VPORT_LINKDOWN);
403 fc_vport_set_state(fc_vport, FC_VPORT_NO_FABRIC_SUPP);
410 fc_vport_set_state(fc_vport, FC_VPORT_LINKDOWN);
413 fc_vport_set_state(fc_vport, FC_VPORT_ACTIVE);
552 csio_vport_create(struct fc_vport *fc_vport, bool disable) argument
554 struct Scsi_Host *shost = fc_vport
614 csio_vport_delete(struct fc_vport *fc_vport) argument
647 csio_vport_disable(struct fc_vport *fc_vport, bool disable) argument
[all...]
H A Dcsio_lnode.h184 struct fc_vport *fc_vport; member in struct:csio_lnode
/linux-master/drivers/scsi/lpfc/
H A Dlpfc_vport.c56 struct fc_vport *fc_vport = vport->fc_vport; local
58 if (fc_vport) {
63 /* fc_vport_set_state(fc_vport, new_state); */
65 fc_vport->vport_last_state = fc_vport->vport_state;
66 fc_vport->vport_state = new_state;
293 lpfc_vport_create(struct fc_vport *fc_vport, boo argument
534 disable_vport(struct fc_vport *fc_vport) argument
569 enable_vport(struct fc_vport *fc_vport) argument
613 lpfc_vport_disable(struct fc_vport *fc_vport, bool disable) argument
622 lpfc_vport_delete(struct fc_vport *fc_vport) argument
[all...]
H A Dlpfc_vport.h89 int lpfc_vport_create(struct fc_vport *, bool);
90 int lpfc_vport_delete(struct fc_vport *);
H A Dlpfc_crtn.h477 int lpfc_vport_disable(struct fc_vport *fc_vport, bool disable);
H A Dlpfc.h701 struct fc_vport *fc_vport; member in struct:lpfc_vport
/linux-master/drivers/scsi/libfc/
H A Dfc_npiv.c17 * @vport: fc_vport structure from scsi_transport_fc
21 struct fc_lport *libfc_vport_create(struct fc_vport *vport, int privsize)
94 struct fc_vport *vport = vn_port->vport;
119 struct fc_vport *vport = vn_port->vport;
/linux-master/drivers/scsi/bfa/
H A Dbfad_attr.c352 bfad_im_vport_create(struct fc_vport *fc_vport, bool disable) argument
354 char *vname = fc_vport->symbolic_name;
355 struct Scsi_Host *shost = fc_vport->shost;
365 u64_to_wwn(fc_vport->node_name, (u8 *)&port_cfg.nwwn);
366 u64_to_wwn(fc_vport->port_name, (u8 *)&port_cfg.pwwn);
382 rc = bfad_vport_create(bfad, 0, &port_cfg, &fc_vport->dev);
395 fc_vport_set_state(fc_vport, FC_VPORT_ACTIVE);
400 fc_vport_set_state(fc_vport, FC_VPORT_DISABLED);
424 fc_vport
478 bfad_im_vport_delete(struct fc_vport *fc_vport) argument
533 bfad_im_vport_disable(struct fc_vport *fc_vport, bool disable) argument
566 bfad_im_vport_set_symbolic_name(struct fc_vport *fc_vport) argument
[all...]
H A Dbfad_im.h76 struct fc_vport *fc_vport; member in struct:bfad_im_port_s
H A Dbfad.c1019 struct fc_vport *fc_vport; local
1030 fc_vport = fc_vport_create(bfad->pport.im_port->shost, 0, &vid);
1031 if (!fc_vport) {
/linux-master/drivers/scsi/qla2xxx/
H A Dqla_mid.c197 fc_vport_set_state(vha->fc_vport, FC_VPORT_DISABLED);
199 fc_vport_set_state(vha->fc_vport, FC_VPORT_FAILED);
217 fc_vport_set_state(vha->fc_vport, FC_VPORT_LINKDOWN);
232 fc_vport_set_state(vha->fc_vport, FC_VPORT_FAILED);
249 struct fc_vport *fc_vport; local
252 fc_vport = vha->fc_vport;
271 fc_vport_set_state(fc_vport, FC_VPORT_ACTIVE);
456 qla24xx_vport_create_req_sanity_check(struct fc_vport *fc_vpor argument
494 qla24xx_create_vhost(struct fc_vport *fc_vport) argument
[all...]
H A Dqla_attr.c14 static int qla24xx_vport_disable(struct fc_vport *, bool);
3051 qla24xx_vport_create(struct fc_vport *fc_vport, bool disable) argument
3055 scsi_qla_host_t *base_vha = shost_priv(fc_vport->shost);
3062 ret = qla24xx_vport_create_req_sanity_check(fc_vport);
3069 vha = qla24xx_create_vhost(fc_vport);
3076 fc_vport_set_state(fc_vport, FC_VPORT_DISABLED);
3096 fc_vport_set_state(fc_vport, FC_VPORT_LINKDOWN);
3125 if (scsi_add_host_with_dma(vha->host, &fc_vport->dev,
3142 qla24xx_vport_disable(fc_vport, disabl
3187 qla24xx_vport_delete(struct fc_vport *fc_vport) argument
3249 qla24xx_vport_disable(struct fc_vport *fc_vport, bool disable) argument
[all...]
H A Dqla_gbl.h270 extern int qla24xx_vport_create_req_sanity_check(struct fc_vport *);
271 extern scsi_qla_host_t *qla24xx_create_vhost(struct fc_vport *);
H A Dqla_isr.c1445 fc_vport_set_state(vha->fc_vport, FC_VPORT_FAILED);
1524 fc_vport_set_state(vha->fc_vport, FC_VPORT_FAILED);
1544 fc_vport_set_state(vha->fc_vport, FC_VPORT_FAILED);
1587 fc_vport_set_state(vha->fc_vport, FC_VPORT_FAILED);
1616 fc_vport_set_state(vha->fc_vport, FC_VPORT_FAILED);
1696 fc_vport_set_state(vha->fc_vport,
H A Dtcm_qla2xxx.c1651 struct fc_vport *vport;
1757 * Notify libfc that we want to release the vha->fc_vport
1759 fc_vport_terminate(npiv_vha->fc_vport);
/linux-master/drivers/scsi/elx/efct/
H A Defct_xport.c966 efct_vport_create(struct fc_vport *fc_vport, bool disable) argument
968 struct Scsi_Host *shost = fc_vport ? fc_vport->shost : NULL;
975 if (!fc_vport || !shost || !efct)
978 vport = efct_scsi_new_vport(efct, &fc_vport->dev);
984 vport->fc_vport = fc_vport;
985 vport->npiv_wwpn = fc_vport->port_name;
986 vport->npiv_wwnn = fc_vport
998 efct_vport_delete(struct fc_vport *fc_vport) argument
1014 efct_vport_disable(struct fc_vport *fc_vport, bool disable) argument
[all...]
H A Defct_lio.h143 struct fc_vport *fc_vport; member in struct:efct_lio_vport
H A Defct_scsi.h60 struct fc_vport *fc_vport; member in struct:efct_vport
H A Defct_lio.c770 struct fc_vport *new_fc_vport;
834 lio_vport->fc_vport = new_fc_vport;
866 if (lio_vport->fc_vport)
867 fc_vport_terminate(lio_vport->fc_vport);
/linux-master/include/scsi/
H A Dscsi_transport_fc.h208 * expected to set these values after receiving the fc_vport structure
219 struct fc_vport { struct
247 /* bit field values for struct fc_vport "flags" field: */
254 container_of(d, struct fc_vport, dev)
706 void (*set_vport_symbolic_name)(struct fc_vport *);
707 int (*vport_create)(struct fc_vport *, bool);
708 int (*vport_disable)(struct fc_vport *, bool);
709 int (*vport_delete)(struct fc_vport *);
828 fc_vport_set_state(struct fc_vport *vport, enum fc_vport_state new_state)
862 struct fc_vport *fc_vport_creat
[all...]
H A Dlibfc.h713 struct fc_vport *vport;
911 struct fc_lport *libfc_vport_create(struct fc_vport *, int privsize);
H A Dlibfcoe.h263 int fcoe_validate_vport_create(struct fc_vport *vport);
/linux-master/drivers/scsi/
H A Dscsi_transport_fc.c32 struct fc_vport **vport);
1474 struct fc_vport *vport = transport_class_to_vport(dev); \
1490 struct fc_vport *vport = transport_class_to_vport(dev); \
1509 struct fc_vport *vport = transport_class_to_vport(dev); \
1546 struct fc_vport *vport = transport_class_to_vport(dev); \
1557 struct fc_vport *vport = transport_class_to_vport(dev); \
1593 struct fc_vport *vport = transport_class_to_vport(dev); \
1662 struct fc_vport *vport = transport_class_to_vport(dev);
1682 struct fc_vport *vport = transport_class_to_vport(dev);
1710 struct fc_vport *vpor
[all...]
/linux-master/drivers/scsi/fcoe/
H A Dfcoe.c140 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);
2638 * @vport: fc_vport object to create a new fc_host for
2643 static int fcoe_vport_create(struct fc_vport *vport, bool disabled)
2687 * @vport: fc_vport object that is being destroyed
2691 static int fcoe_vport_destroy(struct fc_vport *vport)
2719 struct fc_vport *vpor
[all...]
/linux-master/drivers/scsi/bnx2fc/
H A Dbnx2fc_fcoe.c1117 static int bnx2fc_vport_create(struct fc_vport *vport, bool disabled)
1182 static int bnx2fc_vport_destroy(struct fc_vport *vport)
1212 static int bnx2fc_vport_disable(struct fc_vport *vport, bool disable)
1490 struct fc_vport *vport = dev_to_vport(parent);

Completed in 428 milliseconds

12