Home
last modified time | relevance | path

Searched refs:fc_vport (Results 1 – 34 of 34) sorted by relevance

/linux-4.1.27/drivers/scsi/csiostor/
Dcsio_attr.c379 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 …]
Dcsio_lnode.h197 struct fc_vport *fc_vport; member
Dcsio_init.c887 fc_vport_terminate(ln->fc_vport); in csio_lnodes_exit()
/linux-4.1.27/drivers/scsi/lpfc/
Dlpfc_vport.c52 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()
393 *(struct lpfc_vport **)fc_vport->dd_data = vport; in lpfc_vport_create()
[all …]
Dlpfc_vport.h87 int lpfc_vport_create(struct fc_vport *, bool);
88 int lpfc_vport_delete(struct fc_vport *);
Dlpfc_crtn.h372 int lpfc_vport_disable(struct fc_vport *fc_vport, bool disable);
Dlpfc.h429 struct fc_vport *fc_vport; member
Dlpfc_ct.c1062 strlen(vport->fc_vport->symbolic_name)) in lpfc_vport_symbolic_port_name()
1064 vport->fc_vport->symbolic_name); in lpfc_vport_symbolic_port_name()
Dlpfc_attr.c5653 lpfc_set_vport_symbolic_name(struct fc_vport *fc_vport) in lpfc_set_vport_symbolic_name() argument
5655 struct lpfc_vport *vport = *(struct lpfc_vport **)fc_vport->dd_data; in lpfc_set_vport_symbolic_name()
Dlpfc_init.c9694 fc_vport_terminate(vports[i]->fc_vport); in lpfc_pci_remove_one_s3()
10465 fc_vport_terminate(vports[i]->fc_vport); in lpfc_pci_remove_one_s4()
Dlpfc_hbadisc.c3602 struct fc_vport *new_fc_vport; in lpfc_create_static_vport()
/linux-4.1.27/drivers/scsi/qla2xxx/
Dqla_mid.c168 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()
405 qla24xx_vport_create_req_sanity_check(struct fc_vport *fc_vport) in qla24xx_vport_create_req_sanity_check() argument
407 scsi_qla_host_t *base_vha = shost_priv(fc_vport->shost); in qla24xx_vport_create_req_sanity_check()
412 if (fc_vport->roles != FC_PORT_ROLE_FCP_INITIATOR) in qla24xx_vport_create_req_sanity_check()
[all …]
Dqla_attr.c15 static int qla24xx_vport_disable(struct fc_vport *, bool);
1990 qla24xx_vport_create(struct fc_vport *fc_vport, bool disable) in qla24xx_vport_create() argument
1994 scsi_qla_host_t *base_vha = shost_priv(fc_vport->shost); in qla24xx_vport_create()
2001 ret = qla24xx_vport_create_req_sanity_check(fc_vport); in qla24xx_vport_create()
2008 vha = qla24xx_create_vhost(fc_vport); in qla24xx_vport_create()
2015 fc_vport_set_state(fc_vport, FC_VPORT_DISABLED); in qla24xx_vport_create()
2035 fc_vport_set_state(fc_vport, FC_VPORT_LINKDOWN); in qla24xx_vport_create()
2065 if (scsi_add_host_with_dma(vha->host, &fc_vport->dev, in qla24xx_vport_create()
2082 qla24xx_vport_disable(fc_vport, disable); in qla24xx_vport_create()
2133 qla24xx_vport_delete(struct fc_vport *fc_vport) in qla24xx_vport_delete() argument
[all …]
Dqla_gbl.h184 extern int qla24xx_vport_create_req_sanity_check(struct fc_vport *);
185 extern scsi_qla_host_t * qla24xx_create_vhost(struct fc_vport *);
Dqla_isr.c720 fc_vport_set_state(vha->fc_vport, FC_VPORT_FAILED); in qla2x00_async_event()
782 fc_vport_set_state(vha->fc_vport, FC_VPORT_FAILED); in qla2x00_async_event()
802 fc_vport_set_state(vha->fc_vport, FC_VPORT_FAILED); in qla2x00_async_event()
842 fc_vport_set_state(vha->fc_vport, FC_VPORT_FAILED); in qla2x00_async_event()
872 fc_vport_set_state(vha->fc_vport, FC_VPORT_FAILED); in qla2x00_async_event()
918 fc_vport_set_state(vha->fc_vport, in qla2x00_async_event()
Dtcm_qla2xxx.c1845 struct fc_vport *vport; in tcm_qla2xxx_lport_register_npiv_cb()
1955 fc_vport_terminate(npiv_vha->fc_vport); in tcm_qla2xxx_npiv_drop_lport()
Dqla_def.h3596 struct fc_vport *fc_vport; /* holds fc_vport * for each vport */ member
Dqla_target.c959 if (!vha->fc_vport) { in qlt_stop_phase1()
5812 if (base_vha->fc_vport) in qlt_add_target()
5828 if (vha->fc_vport) { in qlt_remove_target()
Dqla_sup.c1093 struct fc_vport *vport; in qla2xxx_flash_npiv_conf()
Dqla_os.c2998 fc_vport_terminate(vha->fc_vport); in qla2x00_delete_all_vps()
Dqla_mbx.c3494 fc_vport_set_state(vha->fc_vport, FC_VPORT_INITIALIZING); in qla24xx_modify_vp_config()
/linux-4.1.27/drivers/scsi/bfa/
Dbfad_attr.c357 bfad_im_vport_create(struct fc_vport *fc_vport, bool disable) in bfad_im_vport_create() argument
359 char *vname = fc_vport->symbolic_name; in bfad_im_vport_create()
360 struct Scsi_Host *shost = fc_vport->shost; in bfad_im_vport_create()
370 u64_to_wwn(fc_vport->node_name, (u8 *)&port_cfg.nwwn); in bfad_im_vport_create()
371 u64_to_wwn(fc_vport->port_name, (u8 *)&port_cfg.pwwn); in bfad_im_vport_create()
387 rc = bfad_vport_create(bfad, 0, &port_cfg, &fc_vport->dev); in bfad_im_vport_create()
400 fc_vport_set_state(fc_vport, FC_VPORT_ACTIVE); in bfad_im_vport_create()
405 fc_vport_set_state(fc_vport, FC_VPORT_DISABLED); in bfad_im_vport_create()
429 fc_vport->dd_data = vport; in bfad_im_vport_create()
430 vport->drv_port.im_port->fc_vport = fc_vport; in bfad_im_vport_create()
[all …]
Dbfad_im.h68 struct fc_vport *fc_vport; member
Dbfad.c1041 struct fc_vport *fc_vport; in bfad_start_ops() local
1052 fc_vport = fc_vport_create(bfad->pport.im_port->shost, 0, &vid); in bfad_start_ops()
1053 if (!fc_vport) { in bfad_start_ops()
Dbfad_im.c603 fc_vport_terminate(im_port->fc_vport); in bfad_im_port_delete_handler()
/linux-4.1.27/drivers/scsi/libfc/
Dfc_npiv.c33 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()
/linux-4.1.27/include/scsi/
Dscsi_transport_fc.h225 struct fc_vport { struct
260 container_of(d, struct fc_vport, dev)
694 void (*set_vport_symbolic_name)(struct fc_vport *);
695 int (*vport_create)(struct fc_vport *, bool);
696 int (*vport_disable)(struct fc_vport *, bool);
697 int (*vport_delete)(struct fc_vport *);
830 fc_vport_set_state(struct fc_vport *vport, enum fc_vport_state new_state) in fc_vport_set_state()
856 struct fc_vport *fc_vport_create(struct Scsi_Host *shost, int channel,
858 int fc_vport_terminate(struct fc_vport *vport);
Dlibfc.h875 struct fc_vport *vport;
1071 struct fc_lport *libfc_vport_create(struct fc_vport *, int privsize);
Dlibfcoe.h267 int fcoe_validate_vport_create(struct fc_vport *vport);
/linux-4.1.27/drivers/scsi/
Dscsi_transport_fc.c47 struct fc_vport **vport);
1074 struct fc_vport *vport = transport_class_to_vport(dev); \
1090 struct fc_vport *vport = transport_class_to_vport(dev); \
1109 struct fc_vport *vport = transport_class_to_vport(dev); \
1146 struct fc_vport *vport = transport_class_to_vport(dev); \
1157 struct fc_vport *vport = transport_class_to_vport(dev); \
1193 struct fc_vport *vport = transport_class_to_vport(dev); \
1262 struct fc_vport *vport = transport_class_to_vport(dev); in show_fc_vport_roles()
1282 struct fc_vport *vport = transport_class_to_vport(dev); in store_fc_vport_delete()
1310 struct fc_vport *vport = transport_class_to_vport(dev); in store_fc_vport_disable()
[all …]
/linux-4.1.27/Documentation/scsi/
Dscsi_fc_transport.txt113 /sys/class/fc_vports/vport-17:0-0 the vport's fc_vport
122 The new fc_vport class object has the following attributes
305 int vport_create(struct fc_vport *vport, bool disable)
378 int vport_disable(struct fc_vport *vport, bool disable)
406 int vport_delete(struct fc_vport *vport)
412 fc_host or fc_vport vport_delete attributes), the transport will call
460 struct fc_vport *
465 * @vport: fc_vport to be terminated
474 fc_vport_terminate(struct fc_vport *vport)
/linux-4.1.27/drivers/scsi/fcoe/
Dfcoe.c152 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 *);
1105 struct fc_vport *vport = dev_to_vport(parent); in fcoe_if_create()
2214 struct fc_vport *vport; in fcoe_destroy_work()
2215 struct fc_vport *next_vport; in fcoe_destroy_work()
2817 static int fcoe_vport_create(struct fc_vport *vport, bool disabled) in fcoe_vport_create()
2865 static int fcoe_vport_destroy(struct fc_vport *vport) in fcoe_vport_destroy()
2887 static int fcoe_vport_disable(struct fc_vport *vport, bool disable) in fcoe_vport_disable()
[all …]
Dfcoe_transport.c237 int fcoe_validate_vport_create(struct fc_vport *vport) in fcoe_validate_vport_create()
/linux-4.1.27/drivers/scsi/bnx2fc/
Dbnx2fc_fcoe.c1060 static int bnx2fc_vport_create(struct fc_vport *vport, bool disabled) in bnx2fc_vport_create()
1122 static int bnx2fc_vport_destroy(struct fc_vport *vport) in bnx2fc_vport_destroy()
1152 static int bnx2fc_vport_disable(struct fc_vport *vport, bool disable) in bnx2fc_vport_disable()
1428 struct fc_vport *vport = dev_to_vport(parent); in bnx2fc_if_create()