Home
last modified time | relevance | path

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

1234

/Linux-v4.19/drivers/scsi/libfc/
Dfc_lport.c153 struct fc_lport *lport; member
165 static int fc_frame_drop(struct fc_lport *lport, struct fc_frame *fp) in fc_frame_drop()
180 static void fc_lport_rport_callback(struct fc_lport *lport, in fc_lport_rport_callback()
224 static const char *fc_lport_state(struct fc_lport *lport) in fc_lport_state()
241 static void fc_lport_ptp_setup(struct fc_lport *lport, in fc_lport_ptp_setup()
269 struct fc_lport *lport = shost_priv(shost); in fc_get_host_port_state() local
292 struct fc_lport *lport = shost_priv(shost); in fc_get_host_speed() local
305 struct fc_lport *lport = shost_priv(shost); in fc_get_host_stats() local
358 static void fc_lport_flogi_fill(struct fc_lport *lport, in fc_lport_flogi_fill()
393 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.c84 struct fc_lport *lport; in fc_disc_recv_rscn_req() local
193 static void fc_disc_recv_req(struct fc_lport *lport, struct fc_frame *fp) in fc_disc_recv_req()
247 struct fc_lport *lport) in fc_disc_start()
269 struct fc_lport *lport = fc_disc_lport(disc); in fc_disc_done() local
313 struct fc_lport *lport = fc_disc_lport(disc); in fc_disc_error() local
357 struct fc_lport *lport = fc_disc_lport(disc); in fc_disc_gpn_ft_req() local
393 struct fc_lport *lport; in fc_disc_gpn_ft_parse() local
585 struct fc_lport *lport; in fc_disc_gpn_id_resp() local
652 static int fc_disc_gpn_id_req(struct fc_lport *lport, in fc_disc_gpn_id_req()
675 static int fc_disc_single(struct fc_lport *lport, struct fc_disc_port *dp) in fc_disc_single()
[all …]
Dfc_rport.c116 struct fc_rport_priv *fc_rport_lookup(const struct fc_lport *lport, in fc_rport_lookup()
140 struct fc_rport_priv *fc_rport_create(struct fc_lport *lport, u32 port_id) in fc_rport_create()
273 struct fc_lport *lport = rdata->local_port; in fc_rport_work() local
512 struct fc_lport *lport = rdata->local_port; in fc_rport_logoff() local
622 struct fc_lport *lport = rdata->local_port; in fc_rport_error() local
706 struct fc_lport *lport = rdata->local_port; in fc_rport_login_complete() local
747 struct fc_lport *lport = rdata->local_port; in fc_rport_flogi_resp() local
827 struct fc_lport *lport = rdata->local_port; in fc_rport_enter_flogi() local
860 static void fc_rport_recv_flogi_req(struct fc_lport *lport, in fc_rport_recv_flogi_req()
993 struct fc_lport *lport = rdata->local_port; in fc_rport_plogi_resp() local
[all …]
Dfc_fcp.c147 static struct fc_fcp_pkt *fc_fcp_pkt_alloc(struct fc_lport *lport, gfp_t gfp) in fc_fcp_pkt_alloc()
330 struct fc_lport *lport; in fc_fcp_ddp_setup() local
348 struct fc_lport *lport; in fc_fcp_ddp_done() local
367 static void fc_fcp_can_queue_ramp_up(struct fc_lport *lport) in fc_fcp_can_queue_ramp_up()
409 static bool fc_fcp_can_queue_ramp_down(struct fc_lport *lport) in fc_fcp_can_queue_ramp_down()
445 static inline struct fc_frame *fc_fcp_frame_alloc(struct fc_lport *lport, in fc_fcp_frame_alloc()
488 struct fc_lport *lport = fsp->lp; in fc_fcp_recv_data() local
612 struct fc_lport *lport = fsp->lp; in fc_fcp_send_data() local
792 struct fc_lport *lport = fsp->lp; in fc_fcp_recv() local
996 struct fc_lport *lport = fsp->lp; in fc_fcp_complete_locked() local
[all …]
Dfc_exch.c97 struct fc_lport *lport; member
474 static int fc_seq_send_locked(struct fc_lport *lport, struct fc_seq *sp, in fc_seq_send_locked()
536 int fc_seq_send(struct fc_lport *lport, struct fc_seq *sp, struct fc_frame *fp) in fc_seq_send()
820 static struct fc_exch *fc_exch_em_alloc(struct fc_lport *lport, in fc_exch_em_alloc()
914 static struct fc_exch *fc_exch_alloc(struct fc_lport *lport, in fc_exch_alloc()
937 struct fc_lport *lport = mp->lport; in fc_exch_find() local
999 static struct fc_exch *fc_exch_resp(struct fc_lport *lport, in fc_exch_resp()
1047 static enum fc_pf_rjt_reason fc_seq_lookup_recip(struct fc_lport *lport, in fc_seq_lookup_recip()
1290 struct fc_lport *lport = ep->lp; in fc_seq_send_ack() local
1355 struct fc_lport *lport; in fc_exch_send_ba_rjt() local
[all …]
Dfc_libfc.c241 void fc_fc4_conf_lport_params(struct fc_lport *lport, enum fc_fh_type type) in fc_fc4_conf_lport_params()
255 struct fc_lport *lport; in fc_lport_iterate() local
311 void fc_fc4_add_lport(struct fc_lport *lport) in fc_fc4_add_lport()
324 void fc_fc4_del_lport(struct fc_lport *lport) in fc_fc4_del_lport()
Dfc_libfc.h46 #define FC_LPORT_DBG(lport, fmt, args...) \ argument
58 #define FC_RPORT_ID_DBG(lport, port_id, fmt, args...) \ argument
91 #define FC_SCSI_DBG(lport, fmt, args...) \ argument
Dfc_elsct.c43 struct fc_seq *fc_elsct_send(struct fc_lport *lport, u32 did, in fc_elsct_send()
78 int fc_elsct_init(struct fc_lport *lport) in fc_elsct_init()
/Linux-v4.19/drivers/scsi/fcoe/
Dfcoe.c605 static void fcoe_update_src_mac(struct fc_lport *lport, u8 *addr) in fcoe_update_src_mac()
621 static u8 *fcoe_get_src_mac(struct fc_lport *lport) in fcoe_get_src_mac()
634 static int fcoe_lport_config(struct fc_lport *lport) in fcoe_lport_config()
665 static void fcoe_netdev_features_change(struct fc_lport *lport, in fcoe_netdev_features_change()
714 static int fcoe_netdev_config(struct fc_lport *lport, struct net_device *netdev) in fcoe_netdev_config()
778 static int fcoe_shost_config(struct fc_lport *lport, struct device *dev) in fcoe_shost_config()
820 static void fcoe_fdmi_info(struct fc_lport *lport, struct net_device *netdev) in fcoe_fdmi_info()
934 static inline int fcoe_em_config(struct fc_lport *lport) in fcoe_em_config()
1015 static void fcoe_if_destroy(struct fc_lport *lport) in fcoe_if_destroy()
1075 static int fcoe_ddp_setup(struct fc_lport *lport, u16 xid, in fcoe_ddp_setup()
[all …]
Dfcoe_ctlr.c538 struct fc_lport *lport, in fcoe_ctlr_send_keep_alive()
611 static int fcoe_ctlr_encaps(struct fcoe_ctlr *fip, struct fc_lport *lport, in fcoe_ctlr_encaps()
704 int fcoe_ctlr_els_send(struct fcoe_ctlr *fip, struct fc_lport *lport, in fcoe_ctlr_els_send()
1145 struct fc_lport *lport = fip->lp; in fcoe_ctlr_recv_els() local
1329 struct fc_lport *lport = fip->lp; in fcoe_ctlr_recv_clr_vlink() local
1911 int fcoe_ctlr_recv_flogi(struct fcoe_ctlr *fip, struct fc_lport *lport, in fcoe_ctlr_recv_flogi()
2132 static void fcoe_ctlr_vn_rport_callback(struct fc_lport *lport, in fcoe_ctlr_vn_rport_callback()
2174 static void fcoe_ctlr_disc_stop_locked(struct fc_lport *lport) in fcoe_ctlr_disc_stop_locked()
2196 static void fcoe_ctlr_disc_stop(struct fc_lport *lport) in fcoe_ctlr_disc_stop()
2212 static void fcoe_ctlr_disc_stop_final(struct fc_lport *lport) in fcoe_ctlr_disc_stop_final()
[all …]
Dfcoe_transport.c128 int fcoe_link_speed_update(struct fc_lport *lport) in fcoe_link_speed_update()
180 void __fcoe_get_lesb(struct fc_lport *lport, in __fcoe_get_lesb()
214 void fcoe_get_lesb(struct fc_lport *lport, in fcoe_get_lesb()
379 void fcoe_clean_pending_queue(struct fc_lport *lport) in fcoe_clean_pending_queue()
407 void fcoe_check_wait_queue(struct fc_lport *lport, struct sk_buff *skb) in fcoe_check_wait_queue()
/Linux-v4.19/include/scsi/
Dfc_encode.h88 static inline void fc_adisc_fill(struct fc_lport *lport, struct fc_frame *fp) in fc_adisc_fill()
131 static inline int fc_ct_ns_fill(struct fc_lport *lport, in fc_ct_ns_fill()
215 static inline int fc_ct_ms_fill(struct fc_lport *lport, in fc_ct_ms_fill()
509 static inline int fc_ct_fill(struct fc_lport *lport, in fc_ct_fill()
533 static inline void fc_plogi_fill(struct fc_lport *lport, struct fc_frame *fp, in fc_plogi_fill()
566 static inline void fc_flogi_fill(struct fc_lport *lport, struct fc_frame *fp) in fc_flogi_fill()
591 static inline void fc_fdisc_fill(struct fc_lport *lport, struct fc_frame *fp) in fc_fdisc_fill()
614 static inline void fc_logo_fill(struct fc_lport *lport, struct fc_frame *fp) in fc_logo_fill()
628 static inline void fc_rtv_fill(struct fc_lport *lport, struct fc_frame *fp) in fc_rtv_fill()
640 static inline void fc_rec_fill(struct fc_lport *lport, struct fc_frame *fp) in fc_rec_fill()
[all …]
/Linux-v4.19/drivers/scsi/bnx2fc/
Dbnx2fc_fcoe.c131 static inline struct net_device *bnx2fc_netdev(const struct fc_lport *lport) in bnx2fc_netdev()
181 static void bnx2fc_abort_io(struct fc_lport *lport) in bnx2fc_abort_io()
191 static void bnx2fc_cleanup(struct fc_lport *lport) in bnx2fc_cleanup()
266 static int bnx2fc_xmit(struct fc_lport *lport, struct fc_frame *fp) in bnx2fc_xmit()
432 struct fc_lport *lport; in bnx2fc_rcv() local
519 struct fc_lport *lport; in bnx2fc_recv_frame() local
689 struct fc_lport *lport = shost_priv(shost); in bnx2fc_get_host_stats() local
738 static int bnx2fc_shost_config(struct fc_lport *lport, struct device *dev) in bnx2fc_shost_config()
771 static int bnx2fc_link_ok(struct fc_lport *lport) in bnx2fc_link_ok()
803 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
862 struct fc_lport *lport = exch->lp; in bnx2fc_flogi_resp() local
893 struct fc_lport *lport = exch->lp; in bnx2fc_logo_resp() local
901 struct fc_seq *bnx2fc_elsct_send(struct fc_lport *lport, u32 did, in bnx2fc_elsct_send()
/Linux-v4.19/drivers/target/tcm_fc/
Dtfc_sess.c42 #define TFC_SESS_DBG(lport, fmt, args...) \ argument
53 static struct ft_tport *ft_tport_get(struct fc_lport *lport) in ft_tport_get()
94 struct fc_lport *lport; in ft_tport_delete() local
115 void ft_lport_add(struct fc_lport *lport, void *arg) in ft_lport_add()
127 void ft_lport_del(struct fc_lport *lport, void *arg) in ft_lport_del()
144 struct fc_lport *lport = arg; in ft_lport_notify() local
170 static struct ft_sess *ft_sess_get(struct fc_lport *lport, u32 port_id) in ft_sess_get()
490 static void ft_recv(struct fc_lport *lport, struct fc_frame *fp) in ft_recv()
Dtfc_io.c59 struct fc_lport *lport; in ft_queue_data_in() local
214 struct fc_lport *lport; in ft_recv_write_data() local
346 struct fc_lport *lport = NULL; in ft_invl_hw_context() local
Dtfc_cmd.c118 struct fc_lport *lport; in ft_queue_status() local
202 struct fc_lport *lport; in ft_write_pending() local
290 static void ft_send_resp_status(struct fc_lport *lport, in ft_send_resp_status()
448 struct fc_lport *lport = sess->tport->lport; in ft_recv_cmd() local
/Linux-v4.19/drivers/scsi/qla2xxx/
Dtcm_qla2xxx.c190 struct tcm_qla2xxx_lport *lport = tpg->lport; in tcm_qla2xxx_get_fabric_wwn() local
800 struct tcm_qla2xxx_lport *lport = container_of(se_wwn, in tcm_qla2xxx_clear_nacl_from_fcport_map() local
1055 struct tcm_qla2xxx_lport *lport = container_of(wwn, in tcm_qla2xxx_make_tpg() local
1103 struct tcm_qla2xxx_lport *lport = tpg->lport; in tcm_qla2xxx_drop_tpg() local
1131 struct tcm_qla2xxx_lport *lport = container_of(se_wwn, in tcm_qla2xxx_npiv_tpg_enable_store() local
1175 struct tcm_qla2xxx_lport *lport = container_of(wwn, in tcm_qla2xxx_npiv_make_tpg() local
1219 struct tcm_qla2xxx_lport *lport; in tcm_qla2xxx_find_sess_by_s_id() local
1255 struct tcm_qla2xxx_lport *lport, in tcm_qla2xxx_set_sess_by_s_id()
1324 struct tcm_qla2xxx_lport *lport; in tcm_qla2xxx_find_sess_by_loop_id() local
1360 struct tcm_qla2xxx_lport *lport, in tcm_qla2xxx_set_sess_by_loop_id()
[all …]
Dqla_nvme.c84 static int qla_nvme_alloc_queue(struct nvme_fc_local_port *lport, in qla_nvme_alloc_queue()
196 static void qla_nvme_ls_abort(struct nvme_fc_local_port *lport, in qla_nvme_ls_abort()
214 static int qla_nvme_ls_req(struct nvme_fc_local_port *lport, in qla_nvme_ls_req()
265 static void qla_nvme_fcp_abort(struct nvme_fc_local_port *lport, in qla_nvme_fcp_abort()
275 static void qla_nvme_poll(struct nvme_fc_local_port *lport, void *hw_queue_handle) in qla_nvme_poll()
467 static int qla_nvme_post_cmd(struct nvme_fc_local_port *lport, in qla_nvme_post_cmd()
534 static void qla_nvme_localport_delete(struct nvme_fc_local_port *lport) in qla_nvme_localport_delete()
/Linux-v4.19/drivers/scsi/qedf/
Dqedf_attr.c19 struct fc_lport *lport; in qedf_get_base_qedf() local
34 struct fc_lport *lport = shost_priv(class_to_shost(dev)); in qedf_fcoe_mac_show() local
52 struct fc_lport *lport = shost_priv(class_to_shost(dev)); in qedf_fka_period_show() local
107 struct fc_lport *lport = shost_priv(dev_to_shost(container_of(kobj, in qedf_sysfs_read_grcdump() local
126 struct fc_lport *lport = NULL; in qedf_sysfs_write_grcdump() local
Dqedf_els.c18 struct fc_lport *lport; in qedf_initiate_els() local
230 struct fc_lport *lport; in qedf_send_rrq() local
298 struct fc_lport *lport = fcport->qedf->lport; in qedf_process_l2_frame_compl() local
335 struct fc_lport *lport; in qedf_restart_rport() local
451 struct fc_lport *lport = fcport->qedf->lport; in qedf_send_adisc() local
494 struct fc_lport *lport; in qedf_srr_compl() local
570 struct fc_lport *lport; in qedf_send_srr() local
782 struct fc_lport *lport; in qedf_rec_compl() local
930 struct fc_lport *lport; in qedf_send_rec() local
Dqedf_main.c242 struct fc_lport *lport = exch->lp; in qedf_flogi_resp() local
276 static struct fc_seq *qedf_elsct_send(struct fc_lport *lport, u32 did, in qedf_elsct_send()
300 struct fc_lport *lport; in qedf_send_flogi() local
439 struct fc_lport *lport = qedf->lport; in qedf_update_link_speed() local
620 struct fc_lport *lport; in qedf_eh_abort() local
716 static void qedf_ctx_soft_reset(struct fc_lport *lport) in qedf_ctx_soft_reset()
741 struct fc_lport *lport; in qedf_eh_host_reset() local
859 static int qedf_xmit(struct fc_lport *lport, struct fc_frame *fp) in qedf_xmit()
1245 static void qedf_rport_event_handler(struct fc_lport *lport, in qedf_rport_event_handler()
1397 static void qedf_abort_io(struct fc_lport *lport) in qedf_abort_io()
[all …]
/Linux-v4.19/drivers/scsi/lpfc/
Dlpfc_nvme.c218 struct lpfc_nvme_lport *lport; in lpfc_nvme_create_queue() local
275 struct lpfc_nvme_lport *lport; in lpfc_nvme_delete_queue() local
293 struct lpfc_nvme_lport *lport = localport->private; in lpfc_nvme_localport_delete() local
361 struct lpfc_nvme_lport *lport; in lpfc_nvme_cmpl_gen_req() local
563 struct lpfc_nvme_lport *lport; in lpfc_nvme_ls_req() local
698 struct lpfc_nvme_lport *lport; in lpfc_nvme_ls_abort() local
967 struct lpfc_nvme_lport *lport; in lpfc_nvme_io_cmd_wqe_cmpl() local
1438 struct lpfc_nvme_lport *lport; in lpfc_nvme_fcp_io_submit() local
1719 struct lpfc_nvme_lport *lport; in lpfc_nvme_fcp_abort() local
2453 struct lpfc_nvme_lport *lport; in lpfc_nvme_create_localport() local
[all …]
/Linux-v4.19/include/uapi/linux/netfilter/
Dxt_TPROXY.h15 __be16 lport; member
22 __be16 lport; member
/Linux-v4.19/drivers/nvme/target/
Dfcloop.c208 struct fcloop_lport *lport; member
215 struct fcloop_lport *lport; member
222 struct fcloop_lport *lport; member
228 struct fcloop_lport *lport; member
800 struct fcloop_lport *lport = lport_priv->lport; in fcloop_localport_delete() local
869 struct fcloop_lport *lport; in fcloop_create_local_port() local
924 __unlink_local_port(struct fcloop_lport *lport) in __unlink_local_port()
930 __wait_localport_unreg(struct fcloop_lport *lport) in __wait_localport_unreg()
950 struct fcloop_lport *tlport, *lport = NULL; in fcloop_delete_local_port() local
983 struct fcloop_lport *tmplport, *lport = NULL; in fcloop_alloc_nport() local
[all …]

1234