Searched refs:vn_port (Results 1 – 5 of 5) sorted by relevance
/linux-4.1.27/drivers/scsi/libfc/ |
D | fc_npiv.c | 37 struct fc_lport *vn_port; in libfc_vport_create() local 39 vn_port = libfc_host_alloc(shost->hostt, privsize); in libfc_vport_create() 40 if (!vn_port) in libfc_vport_create() 41 return vn_port; in libfc_vport_create() 43 vn_port->vport = vport; in libfc_vport_create() 44 vport->dd_data = vn_port; in libfc_vport_create() 47 list_add_tail(&vn_port->list, &n_port->vports); in libfc_vport_create() 50 return vn_port; in libfc_vport_create() 64 struct fc_lport *vn_port; in fc_vport_id_lookup() local 73 list_for_each_entry(vn_port, &n_port->vports, list) { in fc_vport_id_lookup() [all …]
|
/linux-4.1.27/drivers/scsi/bnx2fc/ |
D | bnx2fc_fcoe.c | 502 struct fc_lport *vn_port; in bnx2fc_recv_frame() local 544 vn_port = fc_vport_id_lookup(lport, ntoh24(fh->fh_d_id)); in bnx2fc_recv_frame() 545 if (vn_port) { in bnx2fc_recv_frame() 546 port = lport_priv(vn_port); in bnx2fc_recv_frame() 1067 struct fc_lport *vn_port; in bnx2fc_vport_create() local 1087 vn_port = bnx2fc_if_create(interface, &vport->dev, 1); in bnx2fc_vport_create() 1091 if (!vn_port) { in bnx2fc_vport_create() 1100 vn_port->boot_time = jiffies; in bnx2fc_vport_create() 1101 fc_lport_init(vn_port); in bnx2fc_vport_create() 1102 fc_fabric_login(vn_port); in bnx2fc_vport_create() [all …]
|
/linux-4.1.27/drivers/scsi/fcoe/ |
D | fcoe_ctlr.c | 1325 struct fc_lport *vn_port = NULL; in fcoe_ctlr_recv_clr_vlink() local 1399 vn_port = fc_vport_id_lookup(lport, in fcoe_ctlr_recv_clr_vlink() 1401 if (vn_port && (vn_port == lport)) { in fcoe_ctlr_recv_clr_vlink() 1439 list_for_each_entry(vn_port, &lport->vports, list) in fcoe_ctlr_recv_clr_vlink() 1440 fc_lport_reset(vn_port); in fcoe_ctlr_recv_clr_vlink() 1451 vn_port = fc_vport_id_lookup(lport, in fcoe_ctlr_recv_clr_vlink() 1453 if (!vn_port) in fcoe_ctlr_recv_clr_vlink() 1460 if (!ether_addr_equal(fip->get_src_addr(vn_port), in fcoe_ctlr_recv_clr_vlink() 1463 vn_port->wwpn) in fcoe_ctlr_recv_clr_vlink() 1466 if (vn_port == lport) in fcoe_ctlr_recv_clr_vlink() [all …]
|
D | fcoe.c | 2824 struct fc_lport *vn_port; in fcoe_vport_create() local 2839 vn_port = fcoe_if_create(fcoe, &vport->dev, 1); in fcoe_vport_create() 2843 if (IS_ERR(vn_port)) { in fcoe_vport_create() 2852 vn_port->boot_time = jiffies; in fcoe_vport_create() 2853 fc_fabric_login(vn_port); in fcoe_vport_create() 2854 fc_vport_setlink(vn_port); in fcoe_vport_create() 2869 struct fc_lport *vn_port = vport->dd_data; in fcoe_vport_destroy() local 2872 list_del(&vn_port->list); in fcoe_vport_destroy() 2876 fcoe_if_destroy(vn_port); in fcoe_vport_destroy()
|
D | fcoe_transport.c | 241 struct fc_lport *vn_port; in fcoe_validate_vport_create() local 257 list_for_each_entry(vn_port, &n_port->vports, list) { in fcoe_validate_vport_create() 258 if (!memcmp(&vn_port->wwpn, &vport->port_name, sizeof(u64))) { in fcoe_validate_vport_create()
|