Home
last modified time | relevance | path

Searched refs:vn_port (Results 1 – 6 of 6) sorted by relevance

/linux/drivers/scsi/libfc/
A Dfc_npiv.c25 struct fc_lport *vn_port; in libfc_vport_create() local
28 if (!vn_port) in libfc_vport_create()
29 return vn_port; in libfc_vport_create()
31 vn_port->vport = vport; in libfc_vport_create()
32 vport->dd_data = vn_port; in libfc_vport_create()
38 return vn_port; in libfc_vport_create()
52 struct fc_lport *vn_port; in fc_vport_id_lookup() local
63 lport = vn_port; in fc_vport_id_lookup()
102 __fc_linkup(vn_port); in __fc_vport_setlink()
105 __fc_linkdown(vn_port); in __fc_vport_setlink()
[all …]
/linux/drivers/scsi/qedf/
A Dqedf_main.c1089 vn_port = base_lport; in qedf_xmit()
1096 vn_port = tmp_lport; in qedf_xmit()
1821 struct fc_lport *vn_port; in qedf_vport_create() local
1843 if (!vn_port) { in qedf_vport_create()
1898 fc_exch_init(vn_port); in qedf_vport_create()
1899 fc_elsct_init(vn_port); in qedf_vport_create()
1900 fc_lport_init(vn_port); in qedf_vport_create()
1901 fc_disc_init(vn_port); in qedf_vport_create()
1902 fc_disc_config(vn_port, vn_port); in qedf_vport_create()
1924 vn_port); in qedf_vport_create()
[all …]
/linux/drivers/scsi/bnx2fc/
A Dbnx2fc_fcoe.c518 struct fc_lport *vn_port; in bnx2fc_recv_frame() local
574 if (vn_port) { in bnx2fc_recv_frame()
575 port = lport_priv(vn_port); in bnx2fc_recv_frame()
1135 struct fc_lport *vn_port; in bnx2fc_vport_create() local
1159 if (!vn_port) { in bnx2fc_vport_create()
1171 vn_port->boot_time = jiffies; in bnx2fc_vport_create()
1172 fc_lport_init(vn_port); in bnx2fc_vport_create()
1173 fc_fabric_login(vn_port); in bnx2fc_vport_create()
1174 fc_vport_setlink(vn_port); in bnx2fc_vport_create()
1197 struct fc_lport *vn_port = vport->dd_data; in bnx2fc_vport_destroy() local
[all …]
/linux/drivers/scsi/fcoe/
A Dfcoe.c2659 struct fc_lport *vn_port; in fcoe_vport_create() local
2674 vn_port = fcoe_if_create(fcoe, &vport->dev, 1); in fcoe_vport_create()
2678 if (IS_ERR(vn_port)) { in fcoe_vport_create()
2687 vn_port->boot_time = jiffies; in fcoe_vport_create()
2688 fc_fabric_login(vn_port); in fcoe_vport_create()
2689 fc_vport_setlink(vn_port); in fcoe_vport_create()
2704 struct fc_lport *vn_port = vport->dd_data; in fcoe_vport_destroy() local
2707 list_del(&vn_port->list); in fcoe_vport_destroy()
2712 fcoe_if_destroy(vn_port); in fcoe_vport_destroy()
A Dfcoe_ctlr.c1323 struct fc_lport *vn_port = NULL; in fcoe_ctlr_recv_clr_vlink() local
1426 vn_port = fc_vport_id_lookup(lport, in fcoe_ctlr_recv_clr_vlink()
1428 if (vn_port && (vn_port == lport)) { in fcoe_ctlr_recv_clr_vlink()
1466 list_for_each_entry(vn_port, &lport->vports, list) in fcoe_ctlr_recv_clr_vlink()
1467 fc_lport_reset(vn_port); in fcoe_ctlr_recv_clr_vlink()
1478 vn_port = fc_vport_id_lookup(lport, in fcoe_ctlr_recv_clr_vlink()
1480 if (!vn_port) in fcoe_ctlr_recv_clr_vlink()
1487 if (!ether_addr_equal(fip->get_src_addr(vn_port), in fcoe_ctlr_recv_clr_vlink()
1490 vn_port->wwpn) in fcoe_ctlr_recv_clr_vlink()
1493 if (vn_port == lport) in fcoe_ctlr_recv_clr_vlink()
[all …]
A Dfcoe_transport.c253 struct fc_lport *vn_port; in fcoe_validate_vport_create() local
269 list_for_each_entry(vn_port, &n_port->vports, list) { in fcoe_validate_vport_create()
270 if (!memcmp(&vn_port->wwpn, &vport->port_name, sizeof(u64))) { in fcoe_validate_vport_create()

Completed in 25 milliseconds