Home
last modified time | relevance | path

Searched defs:lport (Results 1 – 25 of 86) sorted by relevance

1234

/Linux-v5.10/drivers/scsi/libfc/
Dfc_lport.c141 struct fc_lport *lport; member
153 static int fc_frame_drop(struct fc_lport *lport, struct fc_frame *fp) in fc_frame_drop()
168 static void fc_lport_rport_callback(struct fc_lport *lport, in fc_lport_rport_callback()
212 static const char *fc_lport_state(struct fc_lport *lport) in fc_lport_state()
229 static void fc_lport_ptp_setup(struct fc_lport *lport, in fc_lport_ptp_setup()
257 struct fc_lport *lport = shost_priv(shost); in fc_get_host_port_state() local
280 struct fc_lport *lport = shost_priv(shost); in fc_get_host_speed() local
293 struct fc_lport *lport = shost_priv(shost); in fc_get_host_stats() local
346 static void fc_lport_flogi_fill(struct fc_lport *lport, in fc_lport_flogi_fill()
381 static void fc_lport_add_fc4_type(struct fc_lport *lport, enum fc_fh_type type) in fc_lport_add_fc4_type()
[all …]
Dfc_disc.c72 struct fc_lport *lport; in fc_disc_recv_rscn_req() local
181 static void fc_disc_recv_req(struct fc_lport *lport, struct fc_frame *fp) in fc_disc_recv_req()
235 struct fc_lport *lport) in fc_disc_start()
257 struct fc_lport *lport = fc_disc_lport(disc); in fc_disc_done() local
301 struct fc_lport *lport = fc_disc_lport(disc); in fc_disc_error() local
345 struct fc_lport *lport = fc_disc_lport(disc); in fc_disc_gpn_ft_req() local
381 struct fc_lport *lport; in fc_disc_gpn_ft_parse() local
573 struct fc_lport *lport; in fc_disc_gpn_id_resp() local
646 static int fc_disc_gpn_id_req(struct fc_lport *lport, in fc_disc_gpn_id_req()
669 static int fc_disc_single(struct fc_lport *lport, struct fc_disc_port *dp) in fc_disc_single()
[all …]
Dfc_rport.c104 struct fc_rport_priv *fc_rport_lookup(const struct fc_lport *lport, in fc_rport_lookup()
128 struct fc_rport_priv *fc_rport_create(struct fc_lport *lport, u32 port_id) in fc_rport_create()
265 struct fc_lport *lport = rdata->local_port; in fc_rport_work() local
505 struct fc_lport *lport = rdata->local_port; in fc_rport_logoff() local
615 struct fc_lport *lport = rdata->local_port; in fc_rport_error() local
701 struct fc_lport *lport = rdata->local_port; in fc_rport_login_complete() local
742 struct fc_lport *lport = rdata->local_port; in fc_rport_flogi_resp() local
822 struct fc_lport *lport = rdata->local_port; in fc_rport_enter_flogi() local
855 static void fc_rport_recv_flogi_req(struct fc_lport *lport, in fc_rport_recv_flogi_req()
986 struct fc_lport *lport = rdata->local_port; in fc_rport_plogi_resp() local
[all …]
Dfc_fcp.c135 static struct fc_fcp_pkt *fc_fcp_pkt_alloc(struct fc_lport *lport, gfp_t gfp) in fc_fcp_pkt_alloc()
319 struct fc_lport *lport; in fc_fcp_ddp_setup() local
337 struct fc_lport *lport; in fc_fcp_ddp_done() local
356 static void fc_fcp_can_queue_ramp_up(struct fc_lport *lport) in fc_fcp_can_queue_ramp_up()
398 static bool fc_fcp_can_queue_ramp_down(struct fc_lport *lport) in fc_fcp_can_queue_ramp_down()
434 static inline struct fc_frame *fc_fcp_frame_alloc(struct fc_lport *lport, in fc_fcp_frame_alloc()
477 struct fc_lport *lport = fsp->lp; in fc_fcp_recv_data() local
601 struct fc_lport *lport = fsp->lp; in fc_fcp_send_data() local
781 struct fc_lport *lport = fsp->lp; in fc_fcp_recv() local
985 struct fc_lport *lport = fsp->lp; in fc_fcp_complete_locked() local
[all …]
Dfc_exch.c87 struct fc_lport *lport; member
464 static int fc_seq_send_locked(struct fc_lport *lport, struct fc_seq *sp, in fc_seq_send_locked()
526 int fc_seq_send(struct fc_lport *lport, struct fc_seq *sp, struct fc_frame *fp) in fc_seq_send()
813 static struct fc_exch *fc_exch_em_alloc(struct fc_lport *lport, in fc_exch_em_alloc()
907 static struct fc_exch *fc_exch_alloc(struct fc_lport *lport, in fc_exch_alloc()
930 struct fc_lport *lport = mp->lport; in fc_exch_find() local
992 static struct fc_exch *fc_exch_resp(struct fc_lport *lport, in fc_exch_resp()
1040 static enum fc_pf_rjt_reason fc_seq_lookup_recip(struct fc_lport *lport, in fc_seq_lookup_recip()
1283 struct fc_lport *lport = ep->lp; in fc_seq_send_ack() local
1348 struct fc_lport *lport; in fc_exch_send_ba_rjt() local
[all …]
Dfc_libfc.c229 void fc_fc4_conf_lport_params(struct fc_lport *lport, enum fc_fh_type type) in fc_fc4_conf_lport_params()
243 struct fc_lport *lport; in fc_lport_iterate() local
299 void fc_fc4_add_lport(struct fc_lport *lport) in fc_fc4_add_lport()
312 void fc_fc4_del_lport(struct fc_lport *lport) in fc_fc4_del_lport()
Dfc_libfc.h34 #define FC_LPORT_DBG(lport, fmt, args...) \ argument
46 #define FC_RPORT_ID_DBG(lport, port_id, fmt, args...) \ argument
79 #define FC_SCSI_DBG(lport, fmt, args...) \ argument
Dfc_elsct.c31 struct fc_seq *fc_elsct_send(struct fc_lport *lport, u32 did, in fc_elsct_send()
66 int fc_elsct_init(struct fc_lport *lport) in fc_elsct_init()
/Linux-v5.10/drivers/scsi/fcoe/
Dfcoe.c592 static void fcoe_update_src_mac(struct fc_lport *lport, u8 *addr) in fcoe_update_src_mac()
608 static u8 *fcoe_get_src_mac(struct fc_lport *lport) in fcoe_get_src_mac()
621 static int fcoe_lport_config(struct fc_lport *lport) in fcoe_lport_config()
652 static void fcoe_netdev_features_change(struct fc_lport *lport, in fcoe_netdev_features_change()
701 static int fcoe_netdev_config(struct fc_lport *lport, struct net_device *netdev) in fcoe_netdev_config()
765 static int fcoe_shost_config(struct fc_lport *lport, struct device *dev) in fcoe_shost_config()
807 static void fcoe_fdmi_info(struct fc_lport *lport, struct net_device *netdev) in fcoe_fdmi_info()
921 static inline int fcoe_em_config(struct fc_lport *lport) in fcoe_em_config()
1002 static void fcoe_if_destroy(struct fc_lport *lport) in fcoe_if_destroy()
1062 static int fcoe_ddp_setup(struct fc_lport *lport, u16 xid, in fcoe_ddp_setup()
[all …]
Dfcoe_ctlr.c530 struct fc_lport *lport, in fcoe_ctlr_send_keep_alive()
604 static int fcoe_ctlr_encaps(struct fcoe_ctlr *fip, struct fc_lport *lport, in fcoe_ctlr_encaps()
697 int fcoe_ctlr_els_send(struct fcoe_ctlr *fip, struct fc_lport *lport, in fcoe_ctlr_els_send()
1138 struct fc_lport *lport = fip->lp; in fcoe_ctlr_recv_els() local
1322 struct fc_lport *lport = fip->lp; in fcoe_ctlr_recv_clr_vlink() local
1905 int fcoe_ctlr_recv_flogi(struct fcoe_ctlr *fip, struct fc_lport *lport, in fcoe_ctlr_recv_flogi()
2126 static void fcoe_ctlr_vn_rport_callback(struct fc_lport *lport, in fcoe_ctlr_vn_rport_callback()
2168 static void fcoe_ctlr_disc_stop_locked(struct fc_lport *lport) in fcoe_ctlr_disc_stop_locked()
2190 static void fcoe_ctlr_disc_stop(struct fc_lport *lport) in fcoe_ctlr_disc_stop()
2206 static void fcoe_ctlr_disc_stop_final(struct fc_lport *lport) in fcoe_ctlr_disc_stop_final()
[all …]
Dfcoe_transport.c116 int fcoe_link_speed_update(struct fc_lport *lport) in fcoe_link_speed_update()
168 void __fcoe_get_lesb(struct fc_lport *lport, in __fcoe_get_lesb()
202 void fcoe_get_lesb(struct fc_lport *lport, in fcoe_get_lesb()
367 void fcoe_clean_pending_queue(struct fc_lport *lport) in fcoe_clean_pending_queue()
396 void fcoe_check_wait_queue(struct fc_lport *lport, struct sk_buff *skb) in fcoe_check_wait_queue()
/Linux-v5.10/include/scsi/
Dfc_encode.h76 static inline void fc_adisc_fill(struct fc_lport *lport, struct fc_frame *fp) in fc_adisc_fill()
119 static inline int fc_ct_ns_fill(struct fc_lport *lport, in fc_ct_ns_fill()
203 static inline int fc_ct_ms_fill(struct fc_lport *lport, in fc_ct_ms_fill()
497 static inline int fc_ct_fill(struct fc_lport *lport, in fc_ct_fill()
521 static inline void fc_plogi_fill(struct fc_lport *lport, struct fc_frame *fp, in fc_plogi_fill()
554 static inline void fc_flogi_fill(struct fc_lport *lport, struct fc_frame *fp) in fc_flogi_fill()
579 static inline void fc_fdisc_fill(struct fc_lport *lport, struct fc_frame *fp) in fc_fdisc_fill()
602 static inline void fc_logo_fill(struct fc_lport *lport, struct fc_frame *fp) in fc_logo_fill()
616 static inline void fc_rtv_fill(struct fc_lport *lport, struct fc_frame *fp) in fc_rtv_fill()
628 static inline void fc_rec_fill(struct fc_lport *lport, struct fc_frame *fp) in fc_rec_fill()
[all …]
/Linux-v5.10/drivers/scsi/bnx2fc/
Dbnx2fc_fcoe.c131 static inline struct net_device *bnx2fc_netdev(const struct fc_lport *lport) in bnx2fc_netdev()
177 static void bnx2fc_abort_io(struct fc_lport *lport) in bnx2fc_abort_io()
187 static void bnx2fc_cleanup(struct fc_lport *lport) in bnx2fc_cleanup()
262 static int bnx2fc_xmit(struct fc_lport *lport, struct fc_frame *fp) in bnx2fc_xmit()
428 struct fc_lport *lport; in bnx2fc_rcv() local
510 struct fc_lport *lport; in bnx2fc_recv_frame() local
683 struct fc_lport *lport = shost_priv(shost); in bnx2fc_get_host_stats() local
732 static int bnx2fc_shost_config(struct fc_lport *lport, struct device *dev) in bnx2fc_shost_config()
765 static int bnx2fc_link_ok(struct fc_lport *lport) in bnx2fc_link_ok()
797 static int bnx2fc_net_config(struct fc_lport *lport, struct net_device *netdev) in bnx2fc_net_config()
[all …]
Dbnx2fc_els.c65 struct fc_lport *lport = NULL; in bnx2fc_send_rrq() local
187 struct fc_lport *lport = tgt->rdata->local_port; in bnx2fc_send_adisc() local
215 struct fc_lport *lport = tgt->rdata->local_port; in bnx2fc_send_logo() local
243 struct fc_lport *lport = tgt->rdata->local_port; in bnx2fc_send_rls() local
586 struct fc_lport *lport = tgt->rdata->local_port; in bnx2fc_send_rec() local
628 struct fc_lport *lport = tgt->rdata->local_port; in bnx2fc_send_srr() local
678 struct fc_lport *lport = port->lport; in bnx2fc_initiate_els() local
865 struct fc_lport *lport = exch->lp; in bnx2fc_flogi_resp() local
917 struct fc_lport *lport = exch->lp; in bnx2fc_logo_resp() local
925 struct fc_seq *bnx2fc_elsct_send(struct fc_lport *lport, u32 did, in bnx2fc_elsct_send()
/Linux-v5.10/drivers/scsi/qla2xxx/
Dtcm_qla2xxx.c166 struct tcm_qla2xxx_lport *lport = tpg->lport; in tcm_qla2xxx_get_fabric_wwn() local
787 struct tcm_qla2xxx_lport *lport = container_of(se_wwn, in tcm_qla2xxx_clear_nacl_from_fcport_map() local
923 struct tcm_qla2xxx_lport *lport = container_of(se_wwn, in tcm_qla2xxx_tpg_enable_store() local
1010 struct tcm_qla2xxx_lport *lport = container_of(wwn, in tcm_qla2xxx_make_tpg() local
1058 struct tcm_qla2xxx_lport *lport = tpg->lport; in tcm_qla2xxx_drop_tpg() local
1086 struct tcm_qla2xxx_lport *lport = container_of(se_wwn, in tcm_qla2xxx_npiv_tpg_enable_store() local
1131 struct tcm_qla2xxx_lport *lport = container_of(wwn, in tcm_qla2xxx_npiv_make_tpg() local
1174 struct tcm_qla2xxx_lport *lport; in tcm_qla2xxx_find_sess_by_s_id() local
1210 struct tcm_qla2xxx_lport *lport, in tcm_qla2xxx_set_sess_by_s_id()
1279 struct tcm_qla2xxx_lport *lport; in tcm_qla2xxx_find_sess_by_loop_id() local
[all …]
Dqla_nvme.c87 static int qla_nvme_alloc_queue(struct nvme_fc_local_port *lport, in qla_nvme_alloc_queue()
253 static void qla_nvme_ls_abort(struct nvme_fc_local_port *lport, in qla_nvme_ls_abort()
275 static int qla_nvme_ls_req(struct nvme_fc_local_port *lport, in qla_nvme_ls_req()
338 static void qla_nvme_fcp_abort(struct nvme_fc_local_port *lport, in qla_nvme_fcp_abort()
537 static int qla_nvme_post_cmd(struct nvme_fc_local_port *lport, in qla_nvme_post_cmd()
614 static void qla_nvme_localport_delete(struct nvme_fc_local_port *lport) in qla_nvme_localport_delete()
/Linux-v5.10/drivers/target/tcm_fc/
Dtfc_sess.c30 #define TFC_SESS_DBG(lport, fmt, args...) \ argument
41 static struct ft_tport *ft_tport_get(struct fc_lport *lport) in ft_tport_get()
82 struct fc_lport *lport; in ft_tport_delete() local
103 void ft_lport_add(struct fc_lport *lport, void *arg) in ft_lport_add()
115 void ft_lport_del(struct fc_lport *lport, void *arg) in ft_lport_del()
132 struct fc_lport *lport = arg; in ft_lport_notify() local
158 static struct ft_sess *ft_sess_get(struct fc_lport *lport, u32 port_id) in ft_sess_get()
478 static void ft_recv(struct fc_lport *lport, struct fc_frame *fp) in ft_recv()
Dtfc_io.c47 struct fc_lport *lport; in ft_queue_data_in() local
201 struct fc_lport *lport; in ft_recv_write_data() local
332 struct fc_lport *lport = NULL; in ft_invl_hw_context() local
Dtfc_cmd.c106 struct fc_lport *lport; in ft_queue_status() local
183 struct fc_lport *lport; in ft_write_pending() local
271 static void ft_send_resp_status(struct fc_lport *lport, in ft_send_resp_status()
429 struct fc_lport *lport = sess->tport->lport; in ft_recv_cmd() local
/Linux-v5.10/drivers/scsi/lpfc/
Dlpfc_nvme.c257 struct lpfc_nvme_lport *lport; in lpfc_nvme_create_queue() local
314 struct lpfc_nvme_lport *lport; in lpfc_nvme_delete_queue() local
332 struct lpfc_nvme_lport *lport = localport->private; in lpfc_nvme_localport_delete() local
422 struct lpfc_nvme_lport *lport; in lpfc_nvme_handle_lsreq() local
520 struct lpfc_nvme_lport *lport; in lpfc_nvme_ls_req_cmp() local
805 struct lpfc_nvme_lport *lport; in lpfc_nvme_ls_req() local
903 struct lpfc_nvme_lport *lport; in lpfc_nvme_xmt_ls_rsp() local
941 struct lpfc_nvme_lport *lport; in lpfc_nvme_ls_abort() local
1084 struct lpfc_nvme_lport *lport; in lpfc_nvme_io_cmd_wqe_cmpl() local
1609 struct lpfc_nvme_lport *lport; in lpfc_nvme_fcp_io_submit() local
[all …]
/Linux-v5.10/drivers/scsi/qedf/
Dqedf_attr.c16 struct fc_lport *lport; in qedf_get_base_qedf() local
31 struct fc_lport *lport = shost_priv(class_to_shost(dev)); in qedf_fcoe_mac_show() local
49 struct fc_lport *lport = shost_priv(class_to_shost(dev)); in qedf_fka_period_show() local
104 struct fc_lport *lport = shost_priv(dev_to_shost(container_of(kobj, in qedf_sysfs_read_grcdump() local
123 struct fc_lport *lport = NULL; in qedf_sysfs_write_grcdump() local
Dqedf_els.c15 struct fc_lport *lport; in qedf_initiate_els() local
242 struct fc_lport *lport; in qedf_send_rrq() local
333 struct fc_lport *lport = fcport->qedf->lport; in qedf_process_l2_frame_compl() local
370 struct fc_lport *lport; in qedf_restart_rport() local
504 struct fc_lport *lport = fcport->qedf->lport; in qedf_send_adisc() local
547 struct fc_lport *lport; in qedf_srr_compl() local
628 struct fc_lport *lport; in qedf_send_srr() local
842 struct fc_lport *lport; in qedf_rec_compl() local
1001 struct fc_lport *lport; in qedf_send_rec() local
Dqedf_main.c270 struct fc_lport *lport = exch->lp; in qedf_flogi_resp() local
305 static struct fc_seq *qedf_elsct_send(struct fc_lport *lport, u32 did, in qedf_elsct_send()
334 struct fc_lport *lport; in qedf_send_flogi() local
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
716 struct fc_lport *lport; in qedf_eh_abort() local
906 void qedf_ctx_soft_reset(struct fc_lport *lport) in qedf_ctx_soft_reset()
954 struct fc_lport *lport; in qedf_eh_host_reset() local
1054 static int qedf_xmit(struct fc_lport *lport, struct fc_frame *fp) in qedf_xmit()
1451 static void qedf_rport_event_handler(struct fc_lport *lport, in qedf_rport_event_handler()
[all …]
/Linux-v5.10/include/uapi/linux/netfilter/
Dxt_TPROXY.h15 __be16 lport; member
22 __be16 lport; member
/Linux-v5.10/drivers/nvme/host/
Dfc.c139 struct nvme_fc_lport *lport; member
156 struct nvme_fc_lport *lport; member
246 struct nvme_fc_lport *lport = in nvme_fc_free_lport() local
269 nvme_fc_lport_put(struct nvme_fc_lport *lport) in nvme_fc_lport_put()
275 nvme_fc_lport_get(struct nvme_fc_lport *lport) in nvme_fc_lport_get()
286 struct nvme_fc_lport *lport; in nvme_fc_attach_to_unreg_lport() local
463 struct nvme_fc_lport *lport = localport_to_lport(portptr); in nvme_fc_unregister_localport() local
499 nvme_fc_signal_discovery_scan(struct nvme_fc_lport *lport, in nvme_fc_signal_discovery_scan()
523 struct nvme_fc_lport *lport = in nvme_fc_free_rport() local
587 nvme_fc_attach_to_suspended_rport(struct nvme_fc_lport *lport, in nvme_fc_attach_to_suspended_rport()
[all …]

1234