Home
last modified time | relevance | path

Searched refs:fc_lport (Results 1 – 25 of 43) sorted by relevance

12

/kernel/linux/linux-5.10/include/scsi/
Dlibfc.h115 struct fc_lport *lp;
144 void (*event_callback)(struct fc_lport *, struct fc_rport_priv *,
157 struct fc_lport *local_port;
191 struct fc_lport *local_port;
215 void (*lld_event_callback)(struct fc_lport *,
323 struct fc_lport *lp;
431 struct fc_lport *lp;
463 int (*frame_send)(struct fc_lport *, struct fc_frame *);
470 struct fc_seq *(*elsct_send)(struct fc_lport *, u32 did,
482 int (*ddp_setup)(struct fc_lport *, u16, struct scatterlist *,
[all …]
Dlibfcoe.h120 struct fc_lport *lp;
151 void (*update_mac)(struct fc_lport *, u8 *addr);
152 u8 * (*get_src_addr)(struct fc_lport *);
246 int fcoe_ctlr_els_send(struct fcoe_ctlr *, struct fc_lport *, struct sk_buff *);
248 int fcoe_ctlr_recv_flogi(struct fcoe_ctlr *, struct fc_lport *,
253 int fcoe_libfc_config(struct fc_lport *, struct fcoe_ctlr *,
258 void __fcoe_get_lesb(struct fc_lport *lport, struct fc_els_lesb *fc_lesb,
262 int fcoe_link_speed_update(struct fc_lport *);
263 void fcoe_get_lesb(struct fc_lport *, struct fc_els_lesb *);
350 struct fc_lport *lport;
[all …]
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 …]
Dfc_frame.h69 struct fc_lport *fr_dev; /* transport layer private pointer */
109 struct fc_frame *fc_frame_alloc_fill(struct fc_lport *, size_t payload_len);
116 static inline struct fc_frame *fc_frame_alloc(struct fc_lport *dev, size_t len) in fc_frame_alloc()
/kernel/linux/linux-5.10/drivers/scsi/libfc/
Dfc_npiv.c21 struct fc_lport *libfc_vport_create(struct fc_vport *vport, int privsize) in libfc_vport_create()
24 struct fc_lport *n_port = shost_priv(shost); in libfc_vport_create()
25 struct fc_lport *vn_port; in libfc_vport_create()
49 struct fc_lport *fc_vport_id_lookup(struct fc_lport *n_port, u32 port_id) in fc_vport_id_lookup()
51 struct fc_lport *lport = NULL; in fc_vport_id_lookup()
52 struct fc_lport *vn_port; in fc_vport_id_lookup()
91 static void __fc_vport_setlink(struct fc_lport *n_port, in __fc_vport_setlink()
92 struct fc_lport *vn_port) in __fc_vport_setlink()
117 void fc_vport_setlink(struct fc_lport *vn_port) in fc_vport_setlink()
121 struct fc_lport *n_port = shost_priv(shost); in fc_vport_setlink()
[all …]
Dfc_lport.c98 static void fc_lport_error(struct fc_lport *, struct fc_frame *);
100 static void fc_lport_enter_reset(struct fc_lport *);
101 static void fc_lport_enter_flogi(struct fc_lport *);
102 static void fc_lport_enter_dns(struct fc_lport *);
103 static void fc_lport_enter_ns(struct fc_lport *, enum fc_lport_state);
104 static void fc_lport_enter_scr(struct fc_lport *);
105 static void fc_lport_enter_ready(struct fc_lport *);
106 static void fc_lport_enter_logo(struct fc_lport *);
107 static void fc_lport_enter_fdmi(struct fc_lport *lport);
108 static void fc_lport_enter_ms(struct fc_lport *, enum fc_lport_state);
[all …]
Dfc_disc.c44 static int fc_disc_single(struct fc_lport *, struct fc_disc_port *);
72 struct fc_lport *lport; in fc_disc_recv_rscn_req()
181 static void fc_disc_recv_req(struct fc_lport *lport, struct fc_frame *fp) in fc_disc_recv_req()
233 static void fc_disc_start(void (*disc_callback)(struct fc_lport *, in fc_disc_start() argument
235 struct fc_lport *lport) in fc_disc_start()
257 struct fc_lport *lport = fc_disc_lport(disc); in fc_disc_done()
301 struct fc_lport *lport = fc_disc_lport(disc); in fc_disc_error()
345 struct fc_lport *lport = fc_disc_lport(disc); in fc_disc_gpn_ft_req()
381 struct fc_lport *lport; in fc_disc_gpn_ft_parse()
573 struct fc_lport *lport; in fc_disc_gpn_id_resp()
[all …]
Dfc_rport.c75 static void fc_rport_recv_plogi_req(struct fc_lport *, struct fc_frame *);
78 static void fc_rport_recv_logo_req(struct fc_lport *, struct fc_frame *);
104 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()
505 struct fc_lport *lport = rdata->local_port; in fc_rport_logoff()
615 struct fc_lport *lport = rdata->local_port; in fc_rport_error()
701 struct fc_lport *lport = rdata->local_port; in fc_rport_login_complete()
742 struct fc_lport *lport = rdata->local_port; in fc_rport_flogi_resp()
822 struct fc_lport *lport = rdata->local_port; in fc_rport_enter_flogi()
[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()
337 struct fc_lport *lport; in fc_fcp_ddp_done()
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()
601 struct fc_lport *lport = fsp->lp; in fc_fcp_send_data()
781 struct fc_lport *lport = fsp->lp; in fc_fcp_recv()
985 struct fc_lport *lport = fsp->lp; in fc_fcp_complete_locked()
[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()
241 void fc_lport_iterate(void (*notify)(struct fc_lport *, void *), void *arg) in fc_lport_iterate() argument
243 struct fc_lport *lport; in fc_lport_iterate()
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_exch.c87 struct fc_lport *lport;
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()
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()
1348 struct fc_lport *lport; in fc_exch_send_ba_rjt()
[all …]
Dfc_libfc.h115 extern void fc_fc4_add_lport(struct fc_lport *);
116 extern void fc_fc4_del_lport(struct fc_lport *);
117 extern void fc_fc4_conf_lport_params(struct fc_lport *, enum fc_fh_type);
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()
/kernel/linux/linux-5.10/drivers/scsi/fcoe/
Dfcoe.c73 static int fcoe_xmit(struct fc_lport *, struct fc_frame *);
76 static void fcoe_percpu_clean(struct fc_lport *);
77 static int fcoe_link_ok(struct fc_lport *);
79 static struct fc_lport *fcoe_hostlist_lookup(const struct net_device *);
80 static int fcoe_hostlist_add(const struct fc_lport *);
81 static void fcoe_hostlist_del(const struct fc_lport *);
95 static void fcoe_update_src_mac(struct fc_lport *, u8 *);
96 static u8 *fcoe_get_src_mac(struct fc_lport *);
99 static int fcoe_ddp_setup(struct fc_lport *, u16, struct scatterlist *,
101 static int fcoe_ddp_done(struct fc_lport *, u16);
[all …]
Dfcoe_ctlr.c530 struct fc_lport *lport, in fcoe_ctlr_send_keep_alive()
541 struct fc_lport *lp; 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()
1322 struct fc_lport *lport = fip->lp; in fcoe_ctlr_recv_clr_vlink()
1323 struct fc_lport *vn_port = NULL; in fcoe_ctlr_recv_clr_vlink()
1799 struct fc_lport *vport; in fcoe_ctlr_timer_work()
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()
[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()
251 struct fc_lport *n_port = shost_priv(shost); in fcoe_validate_vport_create()
252 struct fc_lport *vn_port; in fcoe_validate_vport_create()
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()
/kernel/linux/linux-5.10/drivers/scsi/qedf/
Dqedf_attr.c16 struct fc_lport *lport; in qedf_get_base_qedf()
17 struct fc_lport *base_lport; in qedf_get_base_qedf()
31 struct fc_lport *lport = shost_priv(class_to_shost(dev)); in qedf_fcoe_mac_show()
49 struct fc_lport *lport = shost_priv(class_to_shost(dev)); in qedf_fka_period_show()
104 struct fc_lport *lport = shost_priv(dev_to_shost(container_of(kobj, in qedf_sysfs_read_grcdump()
123 struct fc_lport *lport = NULL; in qedf_sysfs_write_grcdump()
Dqedf_els.c15 struct fc_lport *lport; in qedf_initiate_els()
242 struct fc_lport *lport; in qedf_send_rrq()
333 struct fc_lport *lport = fcport->qedf->lport; in qedf_process_l2_frame_compl()
370 struct fc_lport *lport; in qedf_restart_rport()
504 struct fc_lport *lport = fcport->qedf->lport; in qedf_send_adisc()
547 struct fc_lport *lport; in qedf_srr_compl()
628 struct fc_lport *lport; in qedf_send_srr()
842 struct fc_lport *lport; in qedf_rec_compl()
1001 struct fc_lport *lport; in qedf_send_rec()
Dqedf_main.c270 struct fc_lport *lport = exch->lp; in qedf_flogi_resp()
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()
369 struct fc_lport *lport = qedf->lport; in qedf_link_recovery()
451 struct fc_lport *lport = qedf->lport; in qedf_update_link_speed()
718 struct fc_lport *lport; in qedf_eh_abort()
908 void qedf_ctx_soft_reset(struct fc_lport *lport) in qedf_ctx_soft_reset()
956 struct fc_lport *lport; in qedf_eh_host_reset()
1056 static int qedf_xmit(struct fc_lport *lport, struct fc_frame *fp) in qedf_xmit()
1058 struct fc_lport *base_lport; in qedf_xmit()
[all …]
/kernel/linux/linux-5.10/drivers/scsi/bnx2fc/
Dbnx2fc_fcoe.c74 static int bnx2fc_shost_config(struct fc_lport *lport, struct device *dev);
75 static int bnx2fc_lport_config(struct fc_lport *lport);
76 static int bnx2fc_em_config(struct fc_lport *lport, struct bnx2fc_hba *hba);
81 static struct fc_lport *bnx2fc_if_create(struct bnx2fc_interface *interface,
94 static void bnx2fc_port_shutdown(struct fc_lport *lport);
131 static inline struct net_device *bnx2fc_netdev(const struct fc_lport *lport) in bnx2fc_netdev()
147 static void bnx2fc_clean_rx_queue(struct fc_lport *lp) in bnx2fc_clean_rx_queue()
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()
[all …]
Dbnx2fc_els.c65 struct fc_lport *lport = NULL; in bnx2fc_send_rrq()
187 struct fc_lport *lport = tgt->rdata->local_port; in bnx2fc_send_adisc()
215 struct fc_lport *lport = tgt->rdata->local_port; in bnx2fc_send_logo()
243 struct fc_lport *lport = tgt->rdata->local_port; in bnx2fc_send_rls()
586 struct fc_lport *lport = tgt->rdata->local_port; in bnx2fc_send_rec()
628 struct fc_lport *lport = tgt->rdata->local_port; in bnx2fc_send_srr()
678 struct fc_lport *lport = port->lport; in bnx2fc_initiate_els()
865 struct fc_lport *lport = exch->lp; in bnx2fc_flogi_resp()
917 struct fc_lport *lport = exch->lp; in bnx2fc_logo_resp()
925 struct fc_seq *bnx2fc_elsct_send(struct fc_lport *lport, u32 did, in bnx2fc_elsct_send()
/kernel/linux/linux-5.10/drivers/scsi/fnic/
Dfnic.h218 struct fc_lport *lport;
331 int fnic_send(struct fc_lport *, struct fc_frame *);
341 void fnic_set_port_id(struct fc_lport *, u32, struct fc_frame *);
342 void fnic_update_mac(struct fc_lport *, u8 *new);
350 void fnic_scsi_cleanup(struct fc_lport *);
351 void fnic_scsi_abort_io(struct fc_lport *);
352 void fnic_empty_scsi_cleanup(struct fc_lport *);
353 void fnic_exch_mgr_reset(struct fc_lport *, u32, u32);
Dfnic_attrs.c26 struct fc_lport *lp = shost_priv(class_to_shost(dev)); in fnic_show_state()
41 struct fc_lport *lp = shost_priv(class_to_shost(dev)); in fnic_show_link_state()
/kernel/linux/linux-5.10/drivers/target/tcm_fc/
Dtcm_fc.h55 struct fc_lport *lport;
137 void ft_lport_add(struct fc_lport *, void *);
138 void ft_lport_del(struct fc_lport *, void *);
157 struct ft_tpg *ft_lport_find_tpg(struct fc_lport *);
Dtfc_sess.c41 static struct ft_tport *ft_tport_get(struct fc_lport *lport) in ft_tport_get()
82 struct fc_lport *lport; in ft_tport_delete()
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()
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()

12