Home
last modified time | relevance | path

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

12

/Linux-v5.4/drivers/scsi/csiostor/
Dcsio_attr.c391 struct fc_vport *fc_vport = ln->fc_vport; in csio_vport_set_state() local
398 fc_vport_set_state(fc_vport, FC_VPORT_LINKDOWN); in csio_vport_set_state()
403 fc_vport_set_state(fc_vport, FC_VPORT_NO_FABRIC_SUPP); in csio_vport_set_state()
410 fc_vport_set_state(fc_vport, FC_VPORT_LINKDOWN); in csio_vport_set_state()
413 fc_vport_set_state(fc_vport, FC_VPORT_ACTIVE); in csio_vport_set_state()
552 csio_vport_create(struct fc_vport *fc_vport, bool disable) in csio_vport_create() argument
554 struct Scsi_Host *shost = fc_vport->shost; in csio_vport_create()
561 ln = csio_shost_init(hw, &fc_vport->dev, false, pln); in csio_vport_create()
565 if (fc_vport->node_name != 0) { in csio_vport_create()
566 u64_to_wwn(fc_vport->node_name, wwn); in csio_vport_create()
[all …]
Dcsio_lnode.h197 struct fc_vport *fc_vport; member
Dcsio_init.c883 fc_vport_terminate(ln->fc_vport); in csio_lnodes_exit()
/Linux-v5.4/drivers/scsi/lpfc/
Dlpfc_vport.c56 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
298 struct Scsi_Host *shost = fc_vport->shost; in lpfc_vport_create()
345 vport = lpfc_create_port(phba, instance, &fc_vport->dev); in lpfc_vport_create()
373 u64_to_wwn(fc_vport->node_name, vport->fc_nodename.u.wwn); in lpfc_vport_create()
374 u64_to_wwn(fc_vport->port_name, vport->fc_portname.u.wwn); in lpfc_vport_create()
409 *(struct lpfc_vport **)fc_vport->dd_data = vport; in lpfc_vport_create()
[all …]
Dlpfc_vport.h89 int lpfc_vport_create(struct fc_vport *, bool);
90 int lpfc_vport_delete(struct fc_vport *);
Dlpfc_crtn.h412 int lpfc_vport_disable(struct fc_vport *fc_vport, bool disable);
Dlpfc.h477 struct fc_vport *fc_vport; member
/Linux-v5.4/drivers/scsi/bfa/
Dbfad_attr.c350 bfad_im_vport_create(struct fc_vport *fc_vport, bool disable) in bfad_im_vport_create() argument
352 char *vname = fc_vport->symbolic_name; in bfad_im_vport_create()
353 struct Scsi_Host *shost = fc_vport->shost; in bfad_im_vport_create()
363 u64_to_wwn(fc_vport->node_name, (u8 *)&port_cfg.nwwn); in bfad_im_vport_create()
364 u64_to_wwn(fc_vport->port_name, (u8 *)&port_cfg.pwwn); in bfad_im_vport_create()
380 rc = bfad_vport_create(bfad, 0, &port_cfg, &fc_vport->dev); in bfad_im_vport_create()
393 fc_vport_set_state(fc_vport, FC_VPORT_ACTIVE); in bfad_im_vport_create()
398 fc_vport_set_state(fc_vport, FC_VPORT_DISABLED); in bfad_im_vport_create()
422 fc_vport->dd_data = vport; in bfad_im_vport_create()
423 vport->drv_port.im_port->fc_vport = fc_vport; in bfad_im_vport_create()
[all …]
Dbfad_im.h60 struct fc_vport *fc_vport; member
Dbfad.c1026 struct fc_vport *fc_vport; in bfad_start_ops() local
1037 fc_vport = fc_vport_create(bfad->pport.im_port->shost, 0, &vid); in bfad_start_ops()
1038 if (!fc_vport) { in bfad_start_ops()
/Linux-v5.4/drivers/scsi/qla2xxx/
Dqla_mid.c181 fc_vport_set_state(vha->fc_vport, FC_VPORT_DISABLED); in qla24xx_disable_vp()
183 fc_vport_set_state(vha->fc_vport, FC_VPORT_FAILED); in qla24xx_disable_vp()
201 fc_vport_set_state(vha->fc_vport, FC_VPORT_LINKDOWN); in qla24xx_enable_vp()
216 fc_vport_set_state(vha->fc_vport, FC_VPORT_FAILED); in qla24xx_enable_vp()
233 struct fc_vport *fc_vport; in qla24xx_configure_vp() local
236 fc_vport = vha->fc_vport; in qla24xx_configure_vp()
255 fc_vport_set_state(fc_vport, FC_VPORT_ACTIVE); in qla24xx_configure_vp()
442 qla24xx_vport_create_req_sanity_check(struct fc_vport *fc_vport) in qla24xx_vport_create_req_sanity_check() argument
444 scsi_qla_host_t *base_vha = shost_priv(fc_vport->shost); in qla24xx_vport_create_req_sanity_check()
449 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);
2778 qla24xx_vport_create(struct fc_vport *fc_vport, bool disable) in qla24xx_vport_create() argument
2782 scsi_qla_host_t *base_vha = shost_priv(fc_vport->shost); in qla24xx_vport_create()
2789 ret = qla24xx_vport_create_req_sanity_check(fc_vport); in qla24xx_vport_create()
2796 vha = qla24xx_create_vhost(fc_vport); in qla24xx_vport_create()
2803 fc_vport_set_state(fc_vport, FC_VPORT_DISABLED); in qla24xx_vport_create()
2823 fc_vport_set_state(fc_vport, FC_VPORT_LINKDOWN); in qla24xx_vport_create()
2854 if (scsi_add_host_with_dma(vha->host, &fc_vport->dev, in qla24xx_vport_create()
2871 qla24xx_vport_disable(fc_vport, disable); in qla24xx_vport_create()
2916 qla24xx_vport_delete(struct fc_vport *fc_vport) in qla24xx_vport_delete() argument
[all …]
Dqla_gbl.h250 extern int qla24xx_vport_create_req_sanity_check(struct fc_vport *);
251 extern scsi_qla_host_t *qla24xx_create_vhost(struct fc_vport *);
Dqla_isr.c796 fc_vport_set_state(vha->fc_vport, FC_VPORT_FAILED); in qla2x00_async_event()
869 fc_vport_set_state(vha->fc_vport, FC_VPORT_FAILED); in qla2x00_async_event()
889 fc_vport_set_state(vha->fc_vport, FC_VPORT_FAILED); in qla2x00_async_event()
932 fc_vport_set_state(vha->fc_vport, FC_VPORT_FAILED); in qla2x00_async_event()
961 fc_vport_set_state(vha->fc_vport, FC_VPORT_FAILED); in qla2x00_async_event()
1042 fc_vport_set_state(vha->fc_vport, in qla2x00_async_event()
Dtcm_qla2xxx.c1673 struct fc_vport *vport; in tcm_qla2xxx_lport_register_npiv_cb()
1781 fc_vport_terminate(npiv_vha->fc_vport); in tcm_qla2xxx_npiv_drop_lport()
/Linux-v5.4/drivers/scsi/libfc/
Dfc_npiv.c21 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-v5.4/include/scsi/
Dscsi_transport_fc.h217 struct fc_vport { struct
252 container_of(d, struct fc_vport, dev)
645 void (*set_vport_symbolic_name)(struct fc_vport *);
646 int (*vport_create)(struct fc_vport *, bool);
647 int (*vport_disable)(struct fc_vport *, bool);
648 int (*vport_delete)(struct fc_vport *);
767 fc_vport_set_state(struct fc_vport *vport, enum fc_vport_state new_state) in fc_vport_set_state()
799 struct fc_vport *fc_vport_create(struct Scsi_Host *shost, int channel,
801 int fc_vport_terminate(struct fc_vport *vport);
Dlibfc.h704 struct fc_vport *vport;
902 struct fc_lport *libfc_vport_create(struct fc_vport *, int privsize);
Dlibfcoe.h261 int fcoe_validate_vport_create(struct fc_vport *vport);
/Linux-v5.4/drivers/scsi/
Dscsi_transport_fc.c31 struct fc_vport **vport);
1064 struct fc_vport *vport = transport_class_to_vport(dev); \
1080 struct fc_vport *vport = transport_class_to_vport(dev); \
1099 struct fc_vport *vport = transport_class_to_vport(dev); \
1136 struct fc_vport *vport = transport_class_to_vport(dev); \
1147 struct fc_vport *vport = transport_class_to_vport(dev); \
1183 struct fc_vport *vport = transport_class_to_vport(dev); \
1252 struct fc_vport *vport = transport_class_to_vport(dev); in show_fc_vport_roles()
1272 struct fc_vport *vport = transport_class_to_vport(dev); in store_fc_vport_delete()
1300 struct fc_vport *vport = transport_class_to_vport(dev); in store_fc_vport_disable()
[all …]
/Linux-v5.4/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-v5.4/drivers/scsi/fcoe/
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 *);
1136 struct fc_vport *vport = dev_to_vport(parent); in fcoe_if_create()
2657 static int fcoe_vport_create(struct fc_vport *vport, bool disabled) in fcoe_vport_create()
2705 static int fcoe_vport_destroy(struct fc_vport *vport) in fcoe_vport_destroy()
2733 struct fc_vport *vport; in fcoe_vport_remove()
2734 struct fc_vport *next_vport; in fcoe_vport_remove()
2760 static int fcoe_vport_disable(struct fc_vport *vport, bool disable) in fcoe_vport_disable()
[all …]
Dfcoe_transport.c248 int fcoe_validate_vport_create(struct fc_vport *vport) in fcoe_validate_vport_create()
/Linux-v5.4/drivers/scsi/bnx2fc/
Dbnx2fc_fcoe.c1124 static int bnx2fc_vport_create(struct fc_vport *vport, bool disabled) in bnx2fc_vport_create()
1189 static int bnx2fc_vport_destroy(struct fc_vport *vport) in bnx2fc_vport_destroy()
1219 static int bnx2fc_vport_disable(struct fc_vport *vport, bool disable) in bnx2fc_vport_disable()
1497 struct fc_vport *vport = dev_to_vport(parent); in bnx2fc_if_create()
/Linux-v5.4/drivers/scsi/qedf/
Dqedf_main.c1685 static int qedf_vport_libfc_config(struct fc_vport *vport, in qedf_vport_libfc_config()
1716 static int qedf_vport_create(struct fc_vport *vport, bool disabled) in qedf_vport_create()
1836 static int qedf_vport_destroy(struct fc_vport *vport) in qedf_vport_destroy()
1880 static int qedf_vport_disable(struct fc_vport *vport, bool disable) in qedf_vport_disable()

12