/linux-6.3-rc2/drivers/scsi/libfc/ |
A D | fc_lport.c | 438 lport->tt.frame_send(lport, fp); in fc_lport_recv_echo_req() 495 lport->tt.frame_send(lport, fp); in fc_lport_recv_rnid_req() 581 lport->tt.fcp_cleanup(lport); in __fc_linkdown() 609 lport->tt.disc_stop_final(lport); in fc_fabric_logoff() 641 lport->tt.fcp_abort_io(lport); in fc_lport_destroy() 642 lport->tt.disc_stop_final(lport); in fc_lport_destroy() 848 lport->tt.frame_send(lport, fp); in fc_lport_recv_flogi_req() 1008 lport->tt.disc_stop(lport); in fc_lport_reset_locked() 1396 lport, 3 * lport->r_a_tov)) in fc_lport_enter_ns() 2053 info->lport = lport; in fc_lport_els_request() [all …]
|
A D | fc_encode.h | 234 put_unaligned_be64(lport->wwpn, in fc_ct_ms_fill() 284 fc_host_model(lport->host), in fc_ct_ms_fill() 796 if (lport->does_npiv) in fc_flogi_fill() 908 fc_adisc_fill(lport, fp); in fc_els_fill() 916 fc_flogi_fill(lport, fp); in fc_els_fill() 920 fc_fdisc_fill(lport, fp); in fc_els_fill() 924 fc_logo_fill(lport, fp); in fc_els_fill() 928 fc_rtv_fill(lport, fp); in fc_els_fill() 932 fc_rec_fill(lport, fp); in fc_els_fill() 936 fc_prli_fill(lport, fp); in fc_els_fill() [all …]
|
A D | fc_disc.c | 72 struct fc_lport *lport; in fc_disc_recv_rscn_req() local 84 lport = fc_disc_lport(disc); in fc_disc_recv_rscn_req() 124 dp->lp = lport; in fc_disc_recv_rscn_req() 359 if (lport->tt.elsct_send(lport, 0, fp, in fc_disc_gpn_ft_req() 378 struct fc_lport *lport; in fc_disc_gpn_ft_parse() local 570 struct fc_lport *lport; in fc_disc_gpn_id_resp() local 577 disc = &lport->disc; in fc_disc_gpn_id_resp() 653 if (!lport->tt.elsct_send(lport, rdata->ids.port_id, fp, FC_NS_GPN_ID, in fc_disc_gpn_id_req() 655 3 * lport->r_a_tov)) in fc_disc_gpn_id_req() 703 fc_disc_stop(lport); in fc_disc_stop_final() [all …]
|
A D | fc_rport.c | 352 lport->tt.exch_mgr_reset(lport, 0, port_id); in fc_rport_work() 353 lport->tt.exch_mgr_reset(lport, port_id, 0); in fc_rport_work() 523 lport->tt.exch_mgr_reset(lport, 0, port_id); in fc_rport_logoff() 946 lport->tt.frame_send(lport, fp); in fc_rport_recv_flogi_req() 1442 lport->tt.frame_send(lport, fp); in fc_rport_recv_rtv_req() 1618 lport->tt.frame_send(lport, fp); in fc_rport_recv_adisc_req() 1665 lport->tt.get_lesb(lport, lesb); in fc_rport_recv_rls_req() 1678 lport->tt.frame_send(lport, fp); in fc_rport_recv_rls_req() 1948 lport->tt.frame_send(lport, fp); in fc_rport_recv_plogi_req() 2063 lport->tt.frame_send(lport, fp); in fc_rport_recv_prli_req() [all …]
|
A D | fc_fcp.c | 139 fsp->lp = lport; in fc_fcp_pkt_alloc() 315 lport = fsp->lp; in fc_fcp_ddp_setup() 317 (lport->lro_enabled) && (lport->tt.ddp_setup)) { in fc_fcp_ddp_setup() 318 if (lport->tt.ddp_setup(lport, xid, scsi_sglist(fsp->cmd), in fc_fcp_ddp_setup() 339 lport = fsp->lp; in fc_fcp_ddp_done() 341 fsp->xfer_len = lport->tt.ddp_done(lport, fsp->xfer_ddp); in fc_fcp_ddp_done() 1140 rc = lport->tt.fcp_cmd_send(lport, fsp, fc_fcp_recv); in fc_fcp_pkt_send() 1284 if (lport->tt.fcp_cmd_send(lport, fsp, fc_tm_done)) { in fc_lun_reset_send() 1457 lport = fsp->lp; in fc_fcp_rec() 1475 if (lport->tt.elsct_send(lport, rport->port_id, fp, ELS_REC, in fc_fcp_rec() [all …]
|
A D | fc_exch.c | 499 error = lport->tt.frame_send(lport, fp); in fc_seq_send_locked() 928 struct fc_lport *lport = mp->lport; in fc_exch_find() local 938 lport->host->host_no, lport->port_id, xid, cpu); in fc_exch_find() 1325 lport->tt.frame_send(lport, fp); in fc_seq_send_ack() 1399 lport->tt.frame_send(lport, fp); in fc_exch_send_ba_rjt() 1848 lport->tt.frame_send(lport, fp); in fc_seq_ls_acc() 1882 lport->tt.frame_send(lport, fp); in fc_seq_ls_rjt() 2082 lport->tt.frame_send(lport, fp); in fc_exch_els_rec() 2214 if (unlikely(lport->tt.frame_send(lport, fp))) in fc_exch_seq_send() 2488 mp->lport = lport; in fc_exch_mgr_alloc() [all …]
|
A D | fc_elsct.c | 31 struct fc_seq *fc_elsct_send(struct fc_lport *lport, u32 did, in fc_elsct_send() argument 44 rc = fc_els_fill(lport, did, fp, op, &r_ctl, &fh_type); in fc_elsct_send() 47 rc = fc_ct_fill(lport, did, fp, op, &r_ctl, &fh_type, &did); in fc_elsct_send() 55 fc_fill_fc_hdr(fp, r_ctl, did, lport->port_id, fh_type, in fc_elsct_send() 58 return fc_exch_seq_send(lport, fp, resp, NULL, arg, timer_msec); in fc_elsct_send() 66 int fc_elsct_init(struct fc_lport *lport) in fc_elsct_init() argument 68 if (!lport->tt.elsct_send) in fc_elsct_init() 69 lport->tt.elsct_send = fc_elsct_send; in fc_elsct_init()
|
A D | fc_libfc.c | 233 BUG_ON(!lport); in fc_fc4_conf_lport_params() 237 lport->service_params |= FCP_SPPF_TARG_FCN; in fc_fc4_conf_lport_params() 243 struct fc_lport *lport; in fc_lport_iterate() local 246 list_for_each_entry(lport, &fc_local_ports, lport_list) in fc_lport_iterate() 247 notify(lport, arg); in fc_lport_iterate() 299 void fc_fc4_add_lport(struct fc_lport *lport) in fc_fc4_add_lport() argument 302 list_add_tail(&lport->lport_list, &fc_local_ports); in fc_fc4_add_lport() 304 FC_LPORT_EV_ADD, lport); in fc_fc4_add_lport() 312 void fc_fc4_del_lport(struct fc_lport *lport) in fc_fc4_del_lport() argument 315 list_del(&lport->lport_list); in fc_fc4_del_lport() [all …]
|
/linux-6.3-rc2/drivers/scsi/fcoe/ |
A D | fcoe.c | 623 lport->qfull = 0; in fcoe_lport_config() 717 lport->vlan = 0; in fcoe_netdev_config() 774 if (lport->vport) in fcoe_shost_config() 818 if (lport->vport) in fcoe_fdmi_info() 933 if (!lport->lro_enabled || !lport->lro_xid || in fcoe_em_config() 1023 if (lport->vport) in fcoe_if_destroy() 1048 if (lport->vport) in fcoe_if_destroy() 1144 if (!lport) { in fcoe_if_create() 1150 port->lport = lport; in fcoe_if_create() 1229 return lport; in fcoe_if_create() [all …]
|
/linux-6.3-rc2/drivers/scsi/bnx2fc/ |
A D | bnx2fc_fcoe.c | 437 lport = ctlr->lp; in bnx2fc_rcv() 743 if (lport->vport) in bnx2fc_shost_config() 994 fc_disc_config(lport, lport); in bnx2fc_libfc_config() 1177 if (blport->lport == lport) { in bnx2fc_free_vport() 1511 if (!lport) { in bnx2fc_if_create() 1517 port->lport = lport; in bnx2fc_if_create() 1574 blport->lport = lport; in bnx2fc_if_create() 1578 return lport; in bnx2fc_if_create() 1692 lport = port->lport; in bnx2fc_port_destroy() 2197 if (!lport) in __bnx2fc_enable() [all …]
|
A D | bnx2fc_debug.c | 30 if (io_req && io_req->port && io_req->port->lport && in BNX2FC_IO_DBG() 31 io_req->port->lport->host) in BNX2FC_IO_DBG() 32 shost_printk(KERN_INFO, io_req->port->lport->host, in BNX2FC_IO_DBG() 54 if (tgt && tgt->port && tgt->port->lport && tgt->port->lport->host && in BNX2FC_TGT_DBG() 56 shost_printk(KERN_INFO, tgt->port->lport->host, in BNX2FC_TGT_DBG() 65 void BNX2FC_HBA_DBG(const struct fc_lport *lport, const char *fmt, ...) in BNX2FC_HBA_DBG() argument 78 if (lport && lport->host) in BNX2FC_HBA_DBG() 79 shost_printk(KERN_INFO, lport->host, PFX "%pV", &vaf); in BNX2FC_HBA_DBG()
|
/linux-6.3-rc2/drivers/target/tcm_fc/ |
A D | tfc_sess.c | 32 (lport)->host->host_no, \ 33 (lport)->port_id, ##args ) 52 tpg = ft_lport_find_tpg(lport); in ft_tport_get() 66 tport->lport = lport; in ft_tport_get() 82 struct fc_lport *lport; in ft_tport_delete() local 86 lport = tport->lport; in ft_tport_delete() 106 ft_tport_get(lport); in ft_lport_add() 120 tport = lport->prov[FC_TYPE_FCP]; in ft_lport_del() 132 struct fc_lport *lport = arg; in ft_lport_notify() local 136 ft_lport_add(lport, NULL); in ft_lport_notify() [all …]
|
A D | tfc_io.c | 46 struct fc_lport *lport; in ft_queue_data_in() local 71 lport = ep->lp; in ft_queue_data_in() 110 frame_len = (lport->seq_offload) ? lport->lso_max : in ft_queue_data_in() 169 remaining, lport->lso_max); in ft_queue_data_in() 200 struct fc_lport *lport; in ft_recv_write_data() local 221 lport = ep->lp; in ft_recv_write_data() 223 BUG_ON(!lport); in ft_recv_write_data() 331 struct fc_lport *lport = NULL; in ft_invl_hw_context() local 340 lport = ep->lp; in ft_invl_hw_context() 341 if (lport && (ep->xid <= lport->lro_xid)) { in ft_invl_hw_context() [all …]
|
A D | tfc_cmd.c | 105 struct fc_lport *lport; in ft_queue_status() local 114 lport = ep->lp; in ft_queue_status() 116 fp = fc_frame_alloc(lport, len); in ft_queue_status() 182 struct fc_lport *lport; in ft_write_pending() local 192 lport = ep->lp; in ft_write_pending() 216 lport->tt.ddp_target(lport, ep->xid, in ft_write_pending() 222 fc_seq_send(lport, cmd->seq, fp); in ft_write_pending() 287 fp = fc_frame_alloc(lport, len); in ft_send_resp_status() 303 fc_seq_send(lport, sp, fp); in ft_send_resp_status() 306 lport->tt.frame_send(lport, fp); in ft_send_resp_status() [all …]
|
/linux-6.3-rc2/drivers/scsi/qla2xxx/ |
A D | tcm_qla2xxx.c | 166 struct tcm_qla2xxx_lport *lport = tpg->lport; in tcm_qla2xxx_get_fabric_wwn() local 1017 tpg->lport = lport; in tcm_qla2xxx_make_tpg() 1044 struct tcm_qla2xxx_lport *lport = tpg->lport; in tcm_qla2xxx_drop_tpg() local 1108 tpg->lport = lport; in tcm_qla2xxx_npiv_make_tpg() 1141 if (!lport) { in tcm_qla2xxx_find_sess_by_s_id() 1246 if (!lport) { in tcm_qla2xxx_find_sess_by_loop_id() 1366 if (!lport) { in tcm_qla2xxx_free_session() 1381 struct tcm_qla2xxx_lport *lport = tpg->lport; in tcm_qla2xxx_session_cb() local 1422 if (!lport) { in tcm_qla2xxx_check_initiator_node_acl() 1605 if (!lport) { in tcm_qla2xxx_make_lport() [all …]
|
/linux-6.3-rc2/drivers/scsi/qedf/ |
A D | qedf_attr.c | 10 return qedf->lport->vport != NULL; in qedf_is_vport() 16 struct fc_lport *lport; in qedf_get_base_qedf() local 22 lport = qedf->lport; in qedf_get_base_qedf() 23 base_lport = shost_priv(vport_to_shost(lport->vport)); in qedf_get_base_qedf() 30 struct fc_lport *lport = shost_priv(class_to_shost(dev)); in fcoe_mac_show() local 35 port_id = fc_host_port_id(lport->host); in fcoe_mac_show() 48 struct qedf_ctx *qedf = lport_priv(lport); in fka_period_show() 113 struct qedf_ctx *qedf = lport_priv(lport); in qedf_sysfs_read_grcdump() 130 struct fc_lport *lport = NULL; in qedf_sysfs_write_grcdump() local 139 lport = shost_priv(dev_to_shost(container_of(kobj, in qedf_sysfs_write_grcdump() [all …]
|
A D | qedf_main.c | 337 lport = qedf->lport; in qedf_send_flogi() 352 lport->tt.elsct_send(lport, FC_FID_FLOGI, fp, in qedf_send_flogi() 369 struct fc_lport *lport = qedf->lport; in qedf_link_recovery() local 451 struct fc_lport *lport = qedf->lport; in qedf_update_link_speed() local 539 if (lport->host && lport->host->shost_data) in qedf_update_link_speed() 1656 struct fc_lport *lport = qedf->lport; in qedf_setup_fdmi() local 1727 struct fc_lport *lport = qedf->lport; in qedf_lport_setup() local 2474 lport = qedf->lport; in qedf_recv_frame() 3318 qedf->lport = lport; in __qedf_probe() 3343 lport = qedf->lport; in __qedf_probe() [all …]
|
A D | qedf_els.c | 15 struct fc_lport *lport; in qedf_initiate_els() local 34 lport = qedf->lport; in qedf_initiate_els() 44 if (lport->state != LPORT_ST_READY || !(lport->link_up)) { in qedf_initiate_els() 291 lport = qedf->lport; in qedf_send_rrq() 333 struct fc_lport *lport = fcport->qedf->lport; in qedf_process_l2_frame_compl() local 401 lport = fcport->qedf->lport; in qedf_restart_rport() 504 struct fc_lport *lport = fcport->qedf->lport; in qedf_send_adisc() local 554 lport = qedf->lport; in qedf_srr_compl() 655 lport = qedf->lport; in qedf_send_srr() 855 lport = qedf->lport; in qedf_rec_compl() [all …]
|
/linux-6.3-rc2/include/scsi/ |
A D | libfc.h | 804 lport->wwnn = wwnn; in fc_set_wwnn() 814 lport->wwpn = wwpn; in fc_set_wwpn() 825 if (state != lport->state) in fc_lport_state_enter() 826 lport->retry_count = 0; in fc_lport_state_enter() 827 lport->state = state; in fc_lport_state_enter() 837 if (!lport->stats) in fc_lport_init_stats() 848 free_percpu(lport->stats); in fc_lport_free_stats() 871 struct fc_lport *lport; in libfc_host_alloc() local 877 lport = shost_priv(shost); in libfc_host_alloc() 878 lport->host = shost; in libfc_host_alloc() [all …]
|
/linux-6.3-rc2/drivers/nvme/host/ |
A D | fc.c | 482 lport->ops->localport_delete(&lport->localport); in nvme_fc_unregister_localport() 732 newrec->lport = lport; in nvme_fc_register_remoteport() 1466 struct nvme_fc_lport *lport = rport->lport; in nvme_fc_xmt_ls_rsp_done() local 1489 struct nvme_fc_lport *lport = rport->lport; in nvme_fc_xmt_ls_rsp() local 1738 struct nvme_fc_lport *lport = rport->lport; in nvme_fc_rcv_ls_req() local 3005 struct nvme_fc_lport *lport = rport->lport; in nvme_fc_rport_active_on_lport() local 3013 struct nvme_fc_lport *lport = rport->lport; in nvme_fc_rport_inactive_on_lport() local 3018 lport->ops->localport_delete(&lport->localport); in nvme_fc_rport_inactive_on_lport() 3041 struct nvme_fc_lport *lport = rport->lport; in nvme_fc_ctlr_inactive_on_rport() local 3491 ctrl->lport = lport; in nvme_fc_init_ctrl() [all …]
|
/linux-6.3-rc2/drivers/scsi/fnic/ |
A D | fnic_fcs.c | 111 fnic->lport->host->host_no, in fnic_handle_link() 122 fnic->lport->host->host_no, in fnic_handle_link() 149 fnic->lport->host->host_no, in fnic_handle_link() 184 struct fc_lport *lp = fnic->lport; in fnic_handle_frame() 297 struct fc_lport *lport = fip->lp; in is_fnic_fip_flogi_reject() local 349 shost_printk(KERN_INFO, lport->host, in is_fnic_fip_flogi_reject() 353 shost_printk(KERN_INFO, lport->host, in is_fnic_fip_flogi_reject() 738 struct fnic *fnic = lport_priv(lport); in fnic_update_mac() 761 struct fnic *fnic = lport_priv(lport); in fnic_set_port_id() 784 fnic_update_mac(lport, mac); in fnic_set_port_id() [all …]
|
/linux-6.3-rc2/arch/um/drivers/ |
A D | umcast_kern.c | 21 int lport; member 36 dpri->lport = init->lport; in umcast_init() 44 "%u\n", dpri->addr, dpri->rport, dpri->lport); in umcast_init() 47 "TTL:%u\n", dpri->addr, dpri->lport, dpri->ttl); in umcast_init() 78 .lport = 1102, in mcast_setup() 90 init->lport = simple_strtoul(port_str, &last, 10); in mcast_setup() 108 init->rport = init->lport; in mcast_setup() 111 init->lport, init->ttl); in mcast_setup() 124 .lport = 1102, in ucast_setup() 136 init->lport = simple_strtoul(lport_str, &last, 10); in ucast_setup() [all …]
|
/linux-6.3-rc2/drivers/scsi/lpfc/ |
A D | lpfc_nvme.c | 95 vport = lport->vport; in lpfc_nvme_create_queue() 155 vport = lport->vport; in lpfc_nvme_delete_queue() 159 lport, qidx, handle); in lpfc_nvme_delete_queue() 170 lport); in lpfc_nvme_localport_delete() 280 if (!lport) in lpfc_nvme_handle_lsreq() 374 if (lport) { in lpfc_nvme_ls_req_cmp() 674 vport = lport->vport; in lpfc_nvme_ls_req() 983 if (lport) { in lpfc_nvme_io_cmd_cmpl() 2363 if (!lport) { in lpfc_nvme_update_localport() 2490 rport->lport = lport; in lpfc_nvme_register_port() [all …]
|
/linux-6.3-rc2/net/netfilter/ |
A D | xt_TPROXY.c | 36 tproxy_tg4(struct net *net, struct sk_buff *skb, __be32 laddr, __be16 lport, in tproxy_tg4() argument 57 if (!lport) in tproxy_tg4() 58 lport = hp->dest; in tproxy_tg4() 63 sk = nf_tproxy_handle_time_wait4(net, skb, laddr, lport, sk); in tproxy_tg4() 69 hp->source, lport, in tproxy_tg4() 89 return tproxy_tg4(xt_net(par), skb, tgi->laddr, tgi->lport, in tproxy_tg4_v0() 98 return tproxy_tg4(xt_net(par), skb, tgi->laddr.ip, tgi->lport, in tproxy_tg4_v1() 112 __be16 lport; in tproxy_tg6_v1() local 134 lport = tgi->lport ? tgi->lport : hp->dest; in tproxy_tg6_v1() 143 tgi->lport, in tproxy_tg6_v1() [all …]
|
/linux-6.3-rc2/drivers/nvme/target/ |
A D | fcloop.c | 1019 struct fcloop_lport *lport = lport_priv->lport; in fcloop_localport_delete() local 1101 lport = kzalloc(sizeof(*lport), GFP_KERNEL); in fcloop_create_local_port() 1102 if (!lport) in fcloop_create_local_port() 1129 lport_priv->lport = lport; in fcloop_create_local_port() 1198 if (!lport) in fcloop_delete_local_port() 1256 if (!lport) in fcloop_alloc_nport() 1258 newnport->lport = lport; in fcloop_alloc_nport() 1275 nport->lport = lport; in fcloop_alloc_nport() 1333 nport->tport->lport = nport->lport; in fcloop_create_remote_port() 1336 rport->lport = nport->lport; in fcloop_create_remote_port() [all …]
|