Searched refs:vn_port (Results 1 – 6 of 6) sorted by relevance
/linux-6.6.21/drivers/scsi/libfc/ |
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-6.6.21/drivers/scsi/qedf/ |
D | qedf_main.c | 1072 struct fc_lport *vn_port = NULL; in qedf_xmit() local 1090 vn_port = base_lport; in qedf_xmit() 1097 vn_port = tmp_lport; in qedf_xmit() 1102 if (vn_port && ntoh24(fh->fh_d_id) != FC_FID_FLOGI) { in qedf_xmit() 1822 struct fc_lport *vn_port; in qedf_vport_create() local 1843 vn_port = libfc_vport_create(vport, sizeof(struct qedf_ctx)); in qedf_vport_create() 1844 if (!vn_port) { in qedf_vport_create() 1855 vport_qedf = lport_priv(vn_port); in qedf_vport_create() 1859 vport_qedf->lport = vn_port; in qedf_vport_create() 1868 rc = qedf_vport_libfc_config(vport, vn_port); in qedf_vport_create() [all …]
|
/linux-6.6.21/drivers/scsi/bnx2fc/ |
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-6.6.21/drivers/scsi/fcoe/ |
D | fcoe.c | 2650 struct fc_lport *vn_port; in fcoe_vport_create() local 2665 vn_port = fcoe_if_create(fcoe, &vport->dev, 1); in fcoe_vport_create() 2669 if (IS_ERR(vn_port)) { in fcoe_vport_create() 2678 vn_port->boot_time = jiffies; in fcoe_vport_create() 2679 fc_fabric_login(vn_port); in fcoe_vport_create() 2680 fc_vport_setlink(vn_port); in fcoe_vport_create() 2695 struct fc_lport *vn_port = vport->dd_data; in fcoe_vport_destroy() local 2698 list_del(&vn_port->list); in fcoe_vport_destroy() 2703 fcoe_if_destroy(vn_port); in fcoe_vport_destroy()
|
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 …]
|
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()
|