Home
last modified time | relevance | path

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

12

/linux-6.1.9/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;
440 struct fc_lport *lp;
472 int (*frame_send)(struct fc_lport *, struct fc_frame *);
479 struct fc_seq *(*elsct_send)(struct fc_lport *, u32 did,
491 int (*ddp_setup)(struct fc_lport *, u16, struct scatterlist *,
[all …]
Dlibfcoe.h121 struct fc_lport *lp;
152 void (*update_mac)(struct fc_lport *, u8 *addr);
153 u8 * (*get_src_addr)(struct fc_lport *);
247 int fcoe_ctlr_els_send(struct fcoe_ctlr *, struct fc_lport *, struct sk_buff *);
249 int fcoe_ctlr_recv_flogi(struct fcoe_ctlr *, struct fc_lport *,
255 int fcoe_libfc_config(struct fc_lport *, struct fcoe_ctlr *,
260 void __fcoe_get_lesb(struct fc_lport *lport, struct fc_els_lesb *fc_lesb,
264 int fcoe_link_speed_update(struct fc_lport *);
265 void fcoe_get_lesb(struct fc_lport *, struct fc_els_lesb *);
353 struct fc_lport *lport;
[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()
/linux-6.1.9/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.c101 static void fc_lport_error(struct fc_lport *, struct fc_frame *);
103 static void fc_lport_enter_reset(struct fc_lport *);
104 static void fc_lport_enter_flogi(struct fc_lport *);
105 static void fc_lport_enter_dns(struct fc_lport *);
106 static void fc_lport_enter_ns(struct fc_lport *, enum fc_lport_state);
107 static void fc_lport_enter_scr(struct fc_lport *);
108 static void fc_lport_enter_ready(struct fc_lport *);
109 static void fc_lport_enter_logo(struct fc_lport *);
110 static void fc_lport_enter_fdmi(struct fc_lport *lport);
111 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.c131 static struct fc_fcp_pkt *fc_fcp_pkt_alloc(struct fc_lport *lport, gfp_t gfp) in fc_fcp_pkt_alloc()
313 struct fc_lport *lport; in fc_fcp_ddp_setup()
331 struct fc_lport *lport; in fc_fcp_ddp_done()
350 static void fc_fcp_can_queue_ramp_up(struct fc_lport *lport) in fc_fcp_can_queue_ramp_up()
392 static bool fc_fcp_can_queue_ramp_down(struct fc_lport *lport) in fc_fcp_can_queue_ramp_down()
428 static inline struct fc_frame *fc_fcp_frame_alloc(struct fc_lport *lport, in fc_fcp_frame_alloc()
470 struct fc_lport *lport = fsp->lp; in fc_fcp_recv_data()
591 struct fc_lport *lport = fsp->lp; in fc_fcp_send_data()
771 struct fc_lport *lport = fsp->lp; in fc_fcp_recv()
975 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.c86 struct fc_lport *lport;
463 static int fc_seq_send_locked(struct fc_lport *lport, struct fc_seq *sp, in fc_seq_send_locked()
525 int fc_seq_send(struct fc_lport *lport, struct fc_seq *sp, struct fc_frame *fp) in fc_seq_send()
812 static struct fc_exch *fc_exch_em_alloc(struct fc_lport *lport, in fc_exch_em_alloc()
905 static struct fc_exch *fc_exch_alloc(struct fc_lport *lport, in fc_exch_alloc()
928 struct fc_lport *lport = mp->lport; in fc_exch_find()
990 static struct fc_exch *fc_exch_resp(struct fc_lport *lport, in fc_exch_resp()
1038 static enum fc_pf_rjt_reason fc_seq_lookup_recip(struct fc_lport *lport, in fc_seq_lookup_recip()
1281 struct fc_lport *lport = ep->lp; in fc_seq_send_ack()
1346 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_encode.h48 static inline void fc_adisc_fill(struct fc_lport *lport, struct fc_frame *fp) in fc_adisc_fill()
91 static inline int fc_ct_ns_fill(struct fc_lport *lport, in fc_ct_ns_fill()
185 static inline int fc_ct_ms_fill(struct fc_lport *lport, in fc_ct_ms_fill()
721 static inline int fc_ct_fill(struct fc_lport *lport, in fc_ct_fill()
745 static inline void fc_plogi_fill(struct fc_lport *lport, struct fc_frame *fp, in fc_plogi_fill()
778 static inline void fc_flogi_fill(struct fc_lport *lport, struct fc_frame *fp) in fc_flogi_fill()
803 static inline void fc_fdisc_fill(struct fc_lport *lport, struct fc_frame *fp) in fc_fdisc_fill()
826 static inline void fc_logo_fill(struct fc_lport *lport, struct fc_frame *fp) in fc_logo_fill()
840 static inline void fc_rtv_fill(struct fc_lport *lport, struct fc_frame *fp) in fc_rtv_fill()
852 static inline void fc_rec_fill(struct fc_lport *lport, struct fc_frame *fp) in fc_rec_fill()
[all …]
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-6.1.9/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()
1136 struct fc_lport *lport = fip->lp; in fcoe_ctlr_recv_els()
1317 struct fc_lport *lport = fip->lp; in fcoe_ctlr_recv_clr_vlink()
1318 struct fc_lport *vn_port = NULL; in fcoe_ctlr_recv_clr_vlink()
1791 struct fc_lport *vport; in fcoe_ctlr_timer_work()
1897 int fcoe_ctlr_recv_flogi(struct fcoe_ctlr *fip, struct fc_lport *lport, in fcoe_ctlr_recv_flogi()
2118 static void fcoe_ctlr_vn_rport_callback(struct fc_lport *lport, in fcoe_ctlr_vn_rport_callback()
[all …]
Dfcoe_transport.c117 int fcoe_link_speed_update(struct fc_lport *lport) in fcoe_link_speed_update()
169 void __fcoe_get_lesb(struct fc_lport *lport, in __fcoe_get_lesb()
203 void fcoe_get_lesb(struct fc_lport *lport, in fcoe_get_lesb()
252 struct fc_lport *n_port = shost_priv(shost); in fcoe_validate_vport_create()
253 struct fc_lport *vn_port; in fcoe_validate_vport_create()
368 void fcoe_clean_pending_queue(struct fc_lport *lport) in fcoe_clean_pending_queue()
397 void fcoe_check_wait_queue(struct fc_lport *lport, struct sk_buff *skb) in fcoe_check_wait_queue()
/linux-6.1.9/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()
30 struct fc_lport *lport = shost_priv(class_to_shost(dev)); in fcoe_mac_show()
47 struct fc_lport *lport = shost_priv(class_to_shost(dev)); in fka_period_show()
111 struct fc_lport *lport = shost_priv(dev_to_shost(container_of(kobj, in qedf_sysfs_read_grcdump()
130 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()
1057 static int qedf_xmit(struct fc_lport *lport, struct fc_frame *fp) in qedf_xmit()
1059 struct fc_lport *base_lport; in qedf_xmit()
[all …]
/linux-6.1.9/drivers/scsi/bnx2fc/
Dbnx2fc_fcoe.c76 static int bnx2fc_shost_config(struct fc_lport *lport, struct device *dev);
77 static int bnx2fc_lport_config(struct fc_lport *lport);
78 static int bnx2fc_em_config(struct fc_lport *lport, struct bnx2fc_hba *hba);
83 static struct fc_lport *bnx2fc_if_create(struct bnx2fc_interface *interface,
96 static void bnx2fc_port_shutdown(struct fc_lport *lport);
133 static inline struct net_device *bnx2fc_netdev(const struct fc_lport *lport) in bnx2fc_netdev()
149 static void bnx2fc_clean_rx_queue(struct fc_lport *lp) in bnx2fc_clean_rx_queue()
179 static void bnx2fc_abort_io(struct fc_lport *lport) in bnx2fc_abort_io()
189 static void bnx2fc_cleanup(struct fc_lport *lport) in bnx2fc_cleanup()
264 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()
/linux-6.1.9/drivers/scsi/fnic/
Dfnic.h219 struct fc_lport *lport;
333 int fnic_send(struct fc_lport *, struct fc_frame *);
343 void fnic_set_port_id(struct fc_lport *, u32, struct fc_frame *);
344 void fnic_update_mac(struct fc_lport *, u8 *new);
352 void fnic_scsi_cleanup(struct fc_lport *);
353 void fnic_scsi_abort_io(struct fc_lport *);
354 void fnic_empty_scsi_cleanup(struct fc_lport *);
355 void fnic_exch_mgr_reset(struct fc_lport *, u32, u32);
Dfnic_attrs.c14 struct fc_lport *lp = shost_priv(class_to_shost(dev)); in fnic_show_state()
29 struct fc_lport *lp = shost_priv(class_to_shost(dev)); in fnic_show_link_state()
/linux-6.1.9/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