/Linux-v4.19/include/scsi/ |
D | libfc.h | 127 struct fc_lport *lp; 156 void (*event_callback)(struct fc_lport *, struct fc_rport_priv *, 169 struct fc_lport *local_port; 203 struct fc_lport *local_port; 227 void (*lld_event_callback)(struct fc_lport *, 335 struct fc_lport *lp; 443 struct fc_lport *lp; 475 int (*frame_send)(struct fc_lport *, struct fc_frame *); 482 struct fc_seq *(*elsct_send)(struct fc_lport *, u32 did, 494 int (*ddp_setup)(struct fc_lport *, u16, struct scatterlist *, [all …]
|
D | libfcoe.h | 132 struct fc_lport *lp; 163 void (*update_mac)(struct fc_lport *, u8 *addr); 164 u8 * (*get_src_addr)(struct fc_lport *); 257 int fcoe_ctlr_els_send(struct fcoe_ctlr *, struct fc_lport *, struct sk_buff *); 259 int fcoe_ctlr_recv_flogi(struct fcoe_ctlr *, struct fc_lport *, 264 int fcoe_libfc_config(struct fc_lport *, struct fcoe_ctlr *, 269 void __fcoe_get_lesb(struct fc_lport *lport, struct fc_els_lesb *fc_lesb, 273 int fcoe_link_speed_update(struct fc_lport *); 274 void fcoe_get_lesb(struct fc_lport *, struct fc_els_lesb *); 361 struct fc_lport *lport; [all …]
|
D | fc_encode.h | 88 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 …]
|
D | fc_frame.h | 81 struct fc_lport *fr_dev; /* transport layer private pointer */ 121 struct fc_frame *fc_frame_alloc_fill(struct fc_lport *, size_t payload_len); 128 static inline struct fc_frame *fc_frame_alloc(struct fc_lport *dev, size_t len) in fc_frame_alloc()
|
/Linux-v4.19/drivers/scsi/libfc/ |
D | fc_npiv.c | 33 struct fc_lport *libfc_vport_create(struct fc_vport *vport, int privsize) in libfc_vport_create() 36 struct fc_lport *n_port = shost_priv(shost); in libfc_vport_create() 37 struct fc_lport *vn_port; in libfc_vport_create() 61 struct fc_lport *fc_vport_id_lookup(struct fc_lport *n_port, u32 port_id) in fc_vport_id_lookup() 63 struct fc_lport *lport = NULL; in fc_vport_id_lookup() 64 struct fc_lport *vn_port; in fc_vport_id_lookup() 103 static void __fc_vport_setlink(struct fc_lport *n_port, in __fc_vport_setlink() 104 struct fc_lport *vn_port) in __fc_vport_setlink() 129 void fc_vport_setlink(struct fc_lport *vn_port) in fc_vport_setlink() 133 struct fc_lport *n_port = shost_priv(shost); in fc_vport_setlink() [all …]
|
D | fc_lport.c | 110 static void fc_lport_error(struct fc_lport *, struct fc_frame *); 112 static void fc_lport_enter_reset(struct fc_lport *); 113 static void fc_lport_enter_flogi(struct fc_lport *); 114 static void fc_lport_enter_dns(struct fc_lport *); 115 static void fc_lport_enter_ns(struct fc_lport *, enum fc_lport_state); 116 static void fc_lport_enter_scr(struct fc_lport *); 117 static void fc_lport_enter_ready(struct fc_lport *); 118 static void fc_lport_enter_logo(struct fc_lport *); 119 static void fc_lport_enter_fdmi(struct fc_lport *lport); 120 static void fc_lport_enter_ms(struct fc_lport *, enum fc_lport_state); [all …]
|
D | fc_disc.c | 56 static int fc_disc_single(struct fc_lport *, struct fc_disc_port *); 84 struct fc_lport *lport; in fc_disc_recv_rscn_req() 193 static void fc_disc_recv_req(struct fc_lport *lport, struct fc_frame *fp) in fc_disc_recv_req() 245 static void fc_disc_start(void (*disc_callback)(struct fc_lport *, in fc_disc_start() argument 247 struct fc_lport *lport) in fc_disc_start() 269 struct fc_lport *lport = fc_disc_lport(disc); in fc_disc_done() 313 struct fc_lport *lport = fc_disc_lport(disc); in fc_disc_error() 357 struct fc_lport *lport = fc_disc_lport(disc); in fc_disc_gpn_ft_req() 393 struct fc_lport *lport; in fc_disc_gpn_ft_parse() 585 struct fc_lport *lport; in fc_disc_gpn_id_resp() [all …]
|
D | fc_rport.c | 87 static void fc_rport_recv_plogi_req(struct fc_lport *, struct fc_frame *); 90 static void fc_rport_recv_logo_req(struct fc_lport *, struct fc_frame *); 116 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() 512 struct fc_lport *lport = rdata->local_port; in fc_rport_logoff() 622 struct fc_lport *lport = rdata->local_port; in fc_rport_error() 706 struct fc_lport *lport = rdata->local_port; in fc_rport_login_complete() 747 struct fc_lport *lport = rdata->local_port; in fc_rport_flogi_resp() 827 struct fc_lport *lport = rdata->local_port; in fc_rport_enter_flogi() [all …]
|
D | fc_fcp.c | 147 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() 348 struct fc_lport *lport; in fc_fcp_ddp_done() 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() 612 struct fc_lport *lport = fsp->lp; in fc_fcp_send_data() 792 struct fc_lport *lport = fsp->lp; in fc_fcp_recv() 996 struct fc_lport *lport = fsp->lp; in fc_fcp_complete_locked() [all …]
|
D | fc_libfc.c | 241 void fc_fc4_conf_lport_params(struct fc_lport *lport, enum fc_fh_type type) in fc_fc4_conf_lport_params() 253 void fc_lport_iterate(void (*notify)(struct fc_lport *, void *), void *arg) in fc_lport_iterate() argument 255 struct fc_lport *lport; in fc_lport_iterate() 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()
|
D | fc_exch.c | 97 struct fc_lport *lport; 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() 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() 1355 struct fc_lport *lport; in fc_exch_send_ba_rjt() [all …]
|
D | fc_libfc.h | 127 extern void fc_fc4_add_lport(struct fc_lport *); 128 extern void fc_fc4_del_lport(struct fc_lport *); 129 extern void fc_fc4_conf_lport_params(struct fc_lport *, enum fc_fh_type);
|
D | fc_elsct.c | 43 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/ |
D | fcoe.c | 85 static int fcoe_xmit(struct fc_lport *, struct fc_frame *); 88 static void fcoe_percpu_clean(struct fc_lport *); 89 static int fcoe_link_ok(struct fc_lport *); 91 static struct fc_lport *fcoe_hostlist_lookup(const struct net_device *); 92 static int fcoe_hostlist_add(const struct fc_lport *); 93 static void fcoe_hostlist_del(const struct fc_lport *); 107 static void fcoe_update_src_mac(struct fc_lport *, u8 *); 108 static u8 *fcoe_get_src_mac(struct fc_lport *); 111 static int fcoe_ddp_setup(struct fc_lport *, u16, struct scatterlist *, 113 static int fcoe_ddp_done(struct fc_lport *, u16); [all …]
|
D | fcoe_ctlr.c | 538 struct fc_lport *lport, in fcoe_ctlr_send_keep_alive() 549 struct fc_lport *lp; 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() 1329 struct fc_lport *lport = fip->lp; in fcoe_ctlr_recv_clr_vlink() 1330 struct fc_lport *vn_port = NULL; in fcoe_ctlr_recv_clr_vlink() 1806 struct fc_lport *vport; in fcoe_ctlr_timer_work() 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() [all …]
|
D | fcoe_transport.c | 128 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() 263 struct fc_lport *n_port = shost_priv(shost); in fcoe_validate_vport_create() 264 struct fc_lport *vn_port; in fcoe_validate_vport_create() 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/drivers/scsi/qedf/ |
D | qedf_attr.c | 19 struct fc_lport *lport; in qedf_get_base_qedf() 20 struct fc_lport *base_lport; in qedf_get_base_qedf() 34 struct fc_lport *lport = shost_priv(class_to_shost(dev)); in qedf_fcoe_mac_show() 52 struct fc_lport *lport = shost_priv(class_to_shost(dev)); in qedf_fka_period_show() 107 struct fc_lport *lport = shost_priv(dev_to_shost(container_of(kobj, in qedf_sysfs_read_grcdump() 126 struct fc_lport *lport = NULL; in qedf_sysfs_write_grcdump()
|
D | qedf_els.c | 18 struct fc_lport *lport; in qedf_initiate_els() 230 struct fc_lport *lport; in qedf_send_rrq() 298 struct fc_lport *lport = fcport->qedf->lport; in qedf_process_l2_frame_compl() 335 struct fc_lport *lport; in qedf_restart_rport() 451 struct fc_lport *lport = fcport->qedf->lport; in qedf_send_adisc() 494 struct fc_lport *lport; in qedf_srr_compl() 570 struct fc_lport *lport; in qedf_send_srr() 782 struct fc_lport *lport; in qedf_rec_compl() 930 struct fc_lport *lport; in qedf_send_rec()
|
D | qedf_main.c | 242 struct fc_lport *lport = exch->lp; in qedf_flogi_resp() 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() 439 struct fc_lport *lport = qedf->lport; in qedf_update_link_speed() 620 struct fc_lport *lport; in qedf_eh_abort() 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() 859 static int qedf_xmit(struct fc_lport *lport, struct fc_frame *fp) in qedf_xmit() 861 struct fc_lport *base_lport; in qedf_xmit() 873 struct fc_lport *tmp_lport; in qedf_xmit() [all …]
|
/Linux-v4.19/drivers/scsi/bnx2fc/ |
D | bnx2fc_fcoe.c | 74 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() 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() [all …]
|
D | bnx2fc_els.c | 65 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() 862 struct fc_lport *lport = exch->lp; in bnx2fc_flogi_resp() 893 struct fc_lport *lport = exch->lp; in bnx2fc_logo_resp() 901 struct fc_seq *bnx2fc_elsct_send(struct fc_lport *lport, u32 did, in bnx2fc_elsct_send()
|
/Linux-v4.19/drivers/scsi/fnic/ |
D | fnic.h | 216 struct fc_lport *lport; 329 int fnic_send(struct fc_lport *, struct fc_frame *); 339 void fnic_set_port_id(struct fc_lport *, u32, struct fc_frame *); 340 void fnic_update_mac(struct fc_lport *, u8 *new); 348 void fnic_scsi_cleanup(struct fc_lport *); 349 void fnic_scsi_abort_io(struct fc_lport *); 350 void fnic_empty_scsi_cleanup(struct fc_lport *); 351 void fnic_exch_mgr_reset(struct fc_lport *, u32, u32);
|
D | fnic_attrs.c | 26 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()
|
/Linux-v4.19/drivers/target/tcm_fc/ |
D | tcm_fc.h | 67 struct fc_lport *lport; 149 void ft_lport_add(struct fc_lport *, void *); 150 void ft_lport_del(struct fc_lport *, void *); 170 struct ft_tpg *ft_lport_find_tpg(struct fc_lport *);
|
D | tfc_sess.c | 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() 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() 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()
|