Home
last modified time | relevance | path

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

12

/openbmc/linux/include/scsi/
H A Dlibfc.h115 struct fc_lport *lp;
157 struct fc_lport *local_port;
191 struct fc_lport *local_port;
323 struct fc_lport *lp;
440 struct fc_lport *lp;
593 struct fc_lport *);
701 struct fc_lport { struct
868 static inline struct fc_lport *
871 struct fc_lport *lport; in libfc_host_alloc()
912 struct fc_lport *fc_vport_id_lookup(struct fc_lport *, u32 port_id);
[all …]
H A Dlibfcoe.h121 struct fc_lport *lp;
152 void (*update_mac)(struct fc_lport *, u8 *addr);
153 u8 * (*get_src_addr)(struct fc_lport *);
249 int fcoe_ctlr_recv_flogi(struct fcoe_ctlr *, struct fc_lport *,
255 int fcoe_libfc_config(struct fc_lport *, struct fcoe_ctlr *,
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;
361 struct net_device * (*get_netdev)(const struct fc_lport *lport);
375 void fcoe_clean_pending_queue(struct fc_lport *);
[all …]
H A 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()
/openbmc/linux/drivers/scsi/libfc/
H A Dfc_npiv.c24 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()
137 void fc_vports_linkchange(struct fc_lport *n_port) in fc_vports_linkchange()
[all …]
H A Dfc_lport.c144 struct fc_lport *lport;
565 void fc_linkup(struct fc_lport *lport) in fc_linkup()
1118 struct fc_lport *lport = lp_arg; in fc_lport_ns_resp()
1194 struct fc_lport *lport = lp_arg; in fc_lport_ms_resp()
1278 struct fc_lport *lport = lp_arg; in fc_lport_scr_resp()
1591 struct fc_lport *lport = in fc_lport_timeout()
1592 container_of(work, struct fc_lport, in fc_lport_timeout()
1659 struct fc_lport *lport = lp_arg; in fc_lport_logo_resp()
1737 struct fc_lport *lport = lp_arg; in fc_lport_flogi_resp()
1960 struct fc_lport *lport = info->lport; in fc_lport_bsg_resp()
[all …]
H A Dfc_disc.c72 struct fc_lport *lport; in fc_disc_recv_rscn_req()
232 struct fc_lport *lport) in fc_disc_start()
254 struct fc_lport *lport = fc_disc_lport(disc); in fc_disc_done()
298 struct fc_lport *lport = fc_disc_lport(disc); in fc_disc_error()
342 struct fc_lport *lport = fc_disc_lport(disc); in fc_disc_gpn_ft_req()
378 struct fc_lport *lport; in fc_disc_gpn_ft_parse()
570 struct fc_lport *lport; in fc_disc_gpn_id_resp()
643 static int fc_disc_gpn_id_req(struct fc_lport *lport, in fc_disc_gpn_id_req()
683 static void fc_disc_stop(struct fc_lport *lport) in fc_disc_stop()
701 static void fc_disc_stop_final(struct fc_lport *lport) in fc_disc_stop_final()
[all …]
H A Dfc_rport.c265 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()
986 struct fc_lport *lport = rdata->local_port; in fc_rport_plogi_resp()
1071 struct fc_lport *lport = rdata->local_port; in fc_rport_enter_plogi()
1247 struct fc_lport *lport = rdata->local_port; in fc_rport_enter_prli()
1387 struct fc_lport *lport = rdata->local_port; in fc_rport_enter_rtv()
[all …]
H A Dfc_fcp.c318 struct fc_lport *lport; in fc_fcp_ddp_setup()
336 struct fc_lport *lport; in fc_fcp_ddp_done()
475 struct fc_lport *lport = fsp->lp; in fc_fcp_recv_data()
596 struct fc_lport *lport = fsp->lp; in fc_fcp_send_data()
776 struct fc_lport *lport = fsp->lp; in fc_fcp_recv()
980 struct fc_lport *lport = fsp->lp; in fc_fcp_complete_locked()
1287 struct fc_lport *lport = fsp->lp; in fc_lun_reset_send()
1457 struct fc_lport *lport; in fc_fcp_rec()
1955 struct fc_lport *lport; in fc_io_compl()
2099 struct fc_lport *lport; in fc_eh_abort()
[all …]
H A 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()
H A 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);
H A Dfc_exch.c86 struct fc_lport *lport;
928 struct fc_lport *lport = mp->lport; in fc_exch_find()
1281 struct fc_lport *lport = ep->lp; in fc_seq_send_ack()
1346 struct fc_lport *lport; in fc_exch_send_ba_rjt()
1831 struct fc_lport *lport; in fc_seq_ls_acc()
1863 struct fc_lport *lport; in fc_seq_ls_rjt()
2018 struct fc_lport *lport; in fc_exch_els_rec()
2245 struct fc_lport *lport; in fc_exch_rrq()
2295 struct fc_lport *lport; in fc_exch_els_rrq()
2438 int fc_exch_mgr_list_clone(struct fc_lport *src, struct fc_lport *dst) in fc_exch_mgr_list_clone()
[all …]
H A 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()
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()
868 static inline void fc_prli_fill(struct fc_lport *lport, struct fc_frame *fp) in fc_prli_fill()
888 static inline void fc_scr_fill(struct fc_lport *lport, struct fc_frame *fp) in fc_scr_fill()
[all …]
H A 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()
H A DMakefile12 fc_lport.o \
/openbmc/linux/drivers/scsi/fcoe/
H A Dfcoe.c77 static int fcoe_link_ok(struct fc_lport *);
1127 struct fc_lport *lport, *n_port; in fcoe_if_create()
1337 struct fc_lport *lport; in fcoe_rcv()
1650 struct fc_lport *lport; in fcoe_recv_frame()
1837 struct fc_lport *lport = NULL; in fcoe_device_notification()
2002 struct fc_lport *lport = ctlr->lp; in fcoe_ctlr_enabled()
2054 struct fc_lport *lport; in fcoe_destroy()
2190 struct fc_lport *lport; in _fcoe_create()
2563 struct fc_lport *lport = exch->lp; in fcoe_flogi_resp()
2590 struct fc_lport *lport = arg; in fcoe_logo_resp()
[all …]
H A Dfcoe_ctlr.c530 struct fc_lport *lport, in fcoe_ctlr_send_keep_alive()
541 struct fc_lport *lp; in fcoe_ctlr_send_keep_alive()
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()
2486 struct fc_lport *lport = fip->lp; in fcoe_ctlr_vn_add()
2544 struct fc_lport *lport = fip->lp; in fcoe_ctlr_vn_lookup()
2640 struct fc_lport *lport = fip->lp; in fcoe_ctlr_vn_beacon()
2693 struct fc_lport *lport = fip->lp; in fcoe_ctlr_vn_age()
[all …]
H A 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()
/openbmc/linux/drivers/scsi/qedf/
H A 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()
H A 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()
/openbmc/linux/drivers/scsi/bnx2fc/
H A Dbnx2fc_fcoe.c427 struct fc_lport *lport; in bnx2fc_rcv()
507 struct fc_lport *lport; in bnx2fc_recv_frame()
863 struct fc_lport *lport; in bnx2fc_indicate_netevent()
864 struct fc_lport *vport; in bnx2fc_indicate_netevent()
1687 struct fc_lport *lport; in bnx2fc_port_destroy()
1827 struct fc_lport *lport; in bnx2fc_ulp_start()
1860 struct fc_lport *lport; in bnx2fc_stop()
1861 struct fc_lport *vport; in bnx2fc_stop()
1987 struct fc_lport *lport; in bnx2fc_start_disc()
2172 struct fc_lport *lport; in __bnx2fc_enable()
[all …]
H A 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()
/openbmc/linux/drivers/target/tcm_fc/
H A 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 *);
156 struct ft_tpg *ft_lport_find_tpg(struct fc_lport *);
H A 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()
/openbmc/linux/drivers/scsi/fnic/
H A Dfnic.h219 struct fc_lport *lport;
336 int fnic_send(struct fc_lport *, struct fc_frame *);
346 void fnic_set_port_id(struct fc_lport *, u32, struct fc_frame *);
347 void fnic_update_mac(struct fc_lport *, u8 *new);
355 void fnic_scsi_cleanup(struct fc_lport *);
356 void fnic_scsi_abort_io(struct fc_lport *);
357 void fnic_empty_scsi_cleanup(struct fc_lport *);
358 void fnic_exch_mgr_reset(struct fc_lport *, u32, u32);
H A 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()

12