Searched refs:vn_port (Results 1 – 4 of 4) sorted by relevance
/linux/drivers/scsi/libfc/ |
H A D | fc_npiv.c | 25 struct fc_lport *vn_port; in libfc_vport_create() local 27 vn_port = libfc_host_alloc(shost->hostt, privsize); in libfc_vport_create() 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() 35 list_add_tail(&vn_port->list, &n_port->vports); in libfc_vport_create() 38 return vn_port; in libfc_vport_create() 52 struct fc_lport *vn_port; in fc_vport_id_lookup() local 61 list_for_each_entry(vn_port, &n_port->vports, list) { in fc_vport_id_lookup() [all …]
|
/linux/drivers/scsi/bnx2fc/ |
H A D | bnx2fc_fcoe.c | 512 struct fc_lport *vn_port; in bnx2fc_recv_frame() local 570 vn_port = fc_vport_id_lookup(lport, ntoh24(fh->fh_d_id)); in bnx2fc_recv_frame() 571 if (vn_port) { in bnx2fc_recv_frame() 572 port = lport_priv(vn_port); in bnx2fc_recv_frame() 617 if (lport->port_id != ntoh24(fh->fh_d_id) && !vn_port) { in bnx2fc_recv_frame() 1124 struct fc_lport *vn_port; in bnx2fc_vport_create() local 1144 vn_port = bnx2fc_if_create(interface, &vport->dev, 1); in bnx2fc_vport_create() 1148 if (!vn_port) { in bnx2fc_vport_create() 1155 fc_host_dev_loss_tmo(vn_port->host) = bnx2fc_devloss_tmo; in bnx2fc_vport_create() 1160 vn_port->boot_time = jiffies; in bnx2fc_vport_create() [all …]
|
/linux/drivers/scsi/fcoe/ |
H A D | fcoe_ctlr.c | 1318 struct fc_lport *vn_port = NULL; in fcoe_ctlr_recv_clr_vlink() local 1421 vn_port = fc_vport_id_lookup(lport, in fcoe_ctlr_recv_clr_vlink() 1423 if (vn_port && (vn_port == lport)) { in fcoe_ctlr_recv_clr_vlink() 1458 list_for_each_entry(vn_port, &lport->vports, list) in fcoe_ctlr_recv_clr_vlink() 1459 fc_lport_reset(vn_port); in fcoe_ctlr_recv_clr_vlink() 1470 vn_port = fc_vport_id_lookup(lport, in fcoe_ctlr_recv_clr_vlink() 1472 if (!vn_port) in fcoe_ctlr_recv_clr_vlink() 1479 if (!ether_addr_equal(fip->get_src_addr(vn_port), in fcoe_ctlr_recv_clr_vlink() 1482 vn_port->wwpn) in fcoe_ctlr_recv_clr_vlink() 1485 if (vn_port == lport) in fcoe_ctlr_recv_clr_vlink() [all …]
|
H A D | fcoe_transport.c | 253 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()
|