/linux-4.4.14/include/scsi/ |
D | libfc.h | 121 struct fc_lport *lp; 150 void (*event_callback)(struct fc_lport *, struct fc_rport_priv *, 163 struct fc_lport *local_port; 197 struct fc_lport *local_port; 221 void (*lld_event_callback)(struct fc_lport *, 329 struct fc_lport *lp; 435 struct fc_lport *lp; 467 int (*frame_send)(struct fc_lport *, struct fc_frame *); 474 struct fc_seq *(*elsct_send)(struct fc_lport *, u32 did, 503 struct fc_seq *(*exch_seq_send)(struct fc_lport *, struct fc_frame *, [all …]
|
D | libfcoe.h | 128 struct fc_lport *lp; 158 void (*update_mac)(struct fc_lport *, u8 *addr); 159 u8 * (*get_src_addr)(struct fc_lport *); 252 int fcoe_ctlr_els_send(struct fcoe_ctlr *, struct fc_lport *, struct sk_buff *); 254 int fcoe_ctlr_recv_flogi(struct fcoe_ctlr *, struct fc_lport *, 259 int fcoe_libfc_config(struct fc_lport *, struct fcoe_ctlr *, 264 void __fcoe_get_lesb(struct fc_lport *lport, struct fc_els_lesb *fc_lesb, 268 int fcoe_link_speed_update(struct fc_lport *); 269 void fcoe_get_lesb(struct fc_lport *, struct fc_els_lesb *); 354 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-4.4.14/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 | 54 static int fc_disc_single(struct fc_lport *, struct fc_disc_port *); 66 struct fc_lport *lport; in fc_disc_stop_rports() 87 struct fc_lport *lport; in fc_disc_recv_rscn_req() 194 static void fc_disc_recv_req(struct fc_lport *lport, struct fc_frame *fp) in fc_disc_recv_req() 247 static void fc_disc_start(void (*disc_callback)(struct fc_lport *, in fc_disc_start() argument 249 struct fc_lport *lport) in fc_disc_start() 275 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() 360 struct fc_lport *lport = fc_disc_lport(disc); in fc_disc_gpn_ft_req() 394 struct fc_lport *lport; in fc_disc_gpn_ft_parse() [all …]
|
D | fc_fcp.c | 146 static struct fc_fcp_pkt *fc_fcp_pkt_alloc(struct fc_lport *lport, gfp_t gfp) in fc_fcp_pkt_alloc() 306 struct fc_lport *lport; in fc_fcp_ddp_setup() 324 struct fc_lport *lport; in fc_fcp_ddp_done() 343 static void fc_fcp_can_queue_ramp_up(struct fc_lport *lport) in fc_fcp_can_queue_ramp_up() 385 static void fc_fcp_can_queue_ramp_down(struct fc_lport *lport) in fc_fcp_can_queue_ramp_down() 420 static inline struct fc_frame *fc_fcp_frame_alloc(struct fc_lport *lport, in fc_fcp_frame_alloc() 444 struct fc_lport *lport = fsp->lp; in fc_fcp_recv_data() 566 struct fc_lport *lport = fsp->lp; in fc_fcp_send_data() 753 struct fc_lport *lport = fsp->lp; in fc_fcp_recv() 943 struct fc_lport *lport = fsp->lp; in fc_fcp_complete_locked() [all …]
|
D | fc_rport.c | 72 static void fc_rport_recv_plogi_req(struct fc_lport *, struct fc_frame *); 75 static void fc_rport_recv_logo_req(struct fc_lport *, struct fc_frame *); 100 static struct fc_rport_priv *fc_rport_lookup(const struct fc_lport *lport, in fc_rport_lookup() 120 static struct fc_rport_priv *fc_rport_create(struct fc_lport *lport, in fc_rport_create() 247 struct fc_lport *lport = rdata->local_port; in fc_rport_work() 619 struct fc_lport *lport = rdata->local_port; in fc_rport_login_complete() 660 struct fc_lport *lport = rdata->local_port; in fc_rport_flogi_resp() 722 struct fc_lport *lport = rdata->local_port; in fc_rport_enter_flogi() 750 static void fc_rport_recv_flogi_req(struct fc_lport *lport, in fc_rport_recv_flogi_req() 878 struct fc_lport *lport = rdata->local_port; in fc_rport_plogi_resp() [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 | 466 static int fc_seq_send_locked(struct fc_lport *lport, struct fc_seq *sp, in fc_seq_send_locked() 528 static int fc_seq_send(struct fc_lport *lport, struct fc_seq *sp, in fc_seq_send() 801 static struct fc_exch *fc_exch_em_alloc(struct fc_lport *lport, in fc_exch_em_alloc() 891 static inline struct fc_exch *fc_exch_alloc(struct fc_lport *lport, in fc_exch_alloc() 955 static struct fc_exch *fc_exch_resp(struct fc_lport *lport, in fc_exch_resp() 1003 static enum fc_pf_rjt_reason fc_seq_lookup_recip(struct fc_lport *lport, in fc_seq_lookup_recip() 1245 struct fc_lport *lport = ep->lp; in fc_seq_send_ack() 1307 struct fc_lport *lport; in fc_exch_send_ba_rjt() 1428 static struct fc_seq *fc_seq_assign(struct fc_lport *lport, struct fc_frame *fp) in fc_seq_assign() 1461 static void fc_exch_recv_req(struct fc_lport *lport, struct fc_exch_mgr *mp, in fc_exch_recv_req() [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()
|
D | Makefile | 11 fc_lport.o \
|
D | fc_frame.c | 74 struct fc_frame *fc_frame_alloc_fill(struct fc_lport *lp, size_t payload_len) in fc_frame_alloc_fill()
|
/linux-4.4.14/drivers/scsi/fcoe/ |
D | fcoe.c | 80 static int fcoe_xmit(struct fc_lport *, struct fc_frame *); 84 static void fcoe_percpu_clean(struct fc_lport *); 85 static int fcoe_link_ok(struct fc_lport *); 87 static struct fc_lport *fcoe_hostlist_lookup(const struct net_device *); 88 static int fcoe_hostlist_add(const struct fc_lport *); 89 static void fcoe_hostlist_del(const struct fc_lport *); 101 static void fcoe_update_src_mac(struct fc_lport *, u8 *); 102 static u8 *fcoe_get_src_mac(struct fc_lport *); 105 static int fcoe_ddp_setup(struct fc_lport *, u16, struct scatterlist *, 107 static int fcoe_ddp_done(struct fc_lport *, u16); [all …]
|
D | fcoe_transport.c | 93 int fcoe_link_speed_update(struct fc_lport *lport) in fcoe_link_speed_update() 157 void __fcoe_get_lesb(struct fc_lport *lport, in __fcoe_get_lesb() 191 void fcoe_get_lesb(struct fc_lport *lport, in fcoe_get_lesb() 240 struct fc_lport *n_port = shost_priv(shost); in fcoe_validate_vport_create() 241 struct fc_lport *vn_port; in fcoe_validate_vport_create() 356 void fcoe_clean_pending_queue(struct fc_lport *lport) in fcoe_clean_pending_queue() 384 void fcoe_check_wait_queue(struct fc_lport *lport, struct sk_buff *skb) in fcoe_check_wait_queue() 437 fcoe_check_wait_queue((struct fc_lport *)lport, NULL); in fcoe_queue_timer()
|
D | fcoe_ctlr.c | 535 struct fc_lport *lport, in fcoe_ctlr_send_keep_alive() 546 struct fc_lport *lp; in fcoe_ctlr_send_keep_alive() 608 static int fcoe_ctlr_encaps(struct fcoe_ctlr *fip, struct fc_lport *lport, in fcoe_ctlr_encaps() 702 int fcoe_ctlr_els_send(struct fcoe_ctlr *fip, struct fc_lport *lport, in fcoe_ctlr_els_send() 1140 struct fc_lport *lport = fip->lp; in fcoe_ctlr_recv_els() 1324 struct fc_lport *lport = fip->lp; in fcoe_ctlr_recv_clr_vlink() 1325 struct fc_lport *vn_port = NULL; in fcoe_ctlr_recv_clr_vlink() 1765 struct fc_lport *vport; in fcoe_ctlr_timer_work() 1870 int fcoe_ctlr_recv_flogi(struct fcoe_ctlr *fip, struct fc_lport *lport, in fcoe_ctlr_recv_flogi() 2091 static void fcoe_ctlr_vn_rport_callback(struct fc_lport *lport, in fcoe_ctlr_vn_rport_callback() [all …]
|
D | fcoe.h | 98 static inline struct net_device *fcoe_netdev(const struct fc_lport *lport) in fcoe_netdev()
|
/linux-4.4.14/drivers/target/tcm_fc/ |
D | tcm_fc.h | 64 struct fc_lport *lport; 147 void ft_lport_add(struct fc_lport *, void *); 148 void ft_lport_del(struct fc_lport *, void *); 168 struct ft_tpg *ft_lport_find_tpg(struct fc_lport *);
|
D | tfc_sess.c | 48 static struct ft_tport *ft_tport_get(struct fc_lport *lport) in ft_tport_get() 89 struct fc_lport *lport; in ft_tport_delete() 109 void ft_lport_add(struct fc_lport *lport, void *arg) in ft_lport_add() 120 void ft_lport_del(struct fc_lport *lport, void *arg) in ft_lport_del() 137 struct fc_lport *lport = arg; in ft_lport_notify() 163 static struct ft_sess *ft_sess_get(struct fc_lport *lport, u32 port_id) in ft_sess_get() 473 static void ft_recv(struct fc_lport *lport, struct fc_frame *fp) in ft_recv()
|
D | tfc_cmd.c | 86 struct fc_lport *lport; in ft_free_cmd() 122 struct fc_lport *lport; in ft_queue_status() 200 struct fc_lport *lport; in ft_write_pending() 288 static void ft_send_resp_status(struct fc_lport *lport, in ft_send_resp_status() 440 struct fc_lport *lport = sess->tport->lport; in ft_recv_cmd()
|
D | tfc_io.c | 59 struct fc_lport *lport; in ft_queue_data_in() 214 struct fc_lport *lport; in ft_recv_write_data() 346 struct fc_lport *lport = NULL; in ft_invl_hw_context()
|
D | tfc_conf.c | 319 struct ft_tpg *ft_lport_find_tpg(struct fc_lport *lport) in ft_lport_find_tpg()
|
/linux-4.4.14/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()
|
D | fnic_main.c | 172 struct fc_lport *lp = shost_priv(shost); in fnic_get_host_speed() 190 struct fc_lport *lp = shost_priv(host); in fnic_get_stats() 303 struct fc_lport *lp = shost_priv(host); in fnic_reset_host_stats() 528 static u8 *fnic_get_mac(struct fc_lport *lport) in fnic_get_mac() 544 struct fc_lport *lp; in fnic_probe() 942 struct fc_lport *lp = fnic->lport; in fnic_remove()
|
D | fnic_scsi.c | 263 struct fc_lport *lp = fnic->lport; in fnic_flogi_reg_handler() 431 struct fc_lport *lp = shost_priv(sc->device->host); in fnic_queuecommand_lck() 1616 struct fc_lport *lport; in fnic_terminate_rport_io() 1761 struct fc_lport *lp; in fnic_abort_cmd() 2232 struct fc_lport *lp; in fnic_device_reset() 2488 struct fc_lport *lp; in fnic_reset() 2535 struct fc_lport *lp = shost_priv(shost); in fnic_host_reset() 2562 void fnic_scsi_abort_io(struct fc_lport *lp) in fnic_scsi_abort_io() 2613 void fnic_scsi_cleanup(struct fc_lport *lp) in fnic_scsi_cleanup() 2642 void fnic_empty_scsi_cleanup(struct fc_lport *lp) in fnic_empty_scsi_cleanup() [all …]
|
D | fnic_fcs.c | 154 struct fc_lport *lp = fnic->lport; in fnic_handle_frame() 267 struct fc_lport *lport = fip->lp; in is_fnic_fip_flogi_reject() 711 void fnic_update_mac(struct fc_lport *lport, u8 *new) in fnic_update_mac() 734 void fnic_set_port_id(struct fc_lport *lport, u32 port_id, struct fc_frame *fp) in fnic_set_port_id() 1134 int fnic_send(struct fc_lport *lp, struct fc_frame *fp) in fnic_send()
|
/linux-4.4.14/drivers/scsi/bnx2fc/ |
D | bnx2fc_fcoe.c | 73 static int bnx2fc_shost_config(struct fc_lport *lport, struct device *dev); 74 static int bnx2fc_lport_config(struct fc_lport *lport); 75 static int bnx2fc_em_config(struct fc_lport *lport, struct bnx2fc_hba *hba); 80 static struct fc_lport *bnx2fc_if_create(struct bnx2fc_interface *interface, 93 static void bnx2fc_port_shutdown(struct fc_lport *lport); 108 static inline struct net_device *bnx2fc_netdev(const struct fc_lport *lport) in bnx2fc_netdev() 124 static void bnx2fc_clean_rx_queue(struct fc_lport *lp) in bnx2fc_clean_rx_queue() 158 static void bnx2fc_abort_io(struct fc_lport *lport) in bnx2fc_abort_io() 168 static void bnx2fc_cleanup(struct fc_lport *lport) in bnx2fc_cleanup() 243 static int bnx2fc_xmit(struct fc_lport *lport, struct fc_frame *fp) in bnx2fc_xmit() [all …]
|
D | bnx2fc_els.c | 64 struct fc_lport *lport = tgt->rdata->local_port; in bnx2fc_send_rrq() 179 struct fc_lport *lport = tgt->rdata->local_port; in bnx2fc_send_adisc() 207 struct fc_lport *lport = tgt->rdata->local_port; in bnx2fc_send_logo() 235 struct fc_lport *lport = tgt->rdata->local_port; in bnx2fc_send_rls() 578 struct fc_lport *lport = tgt->rdata->local_port; in bnx2fc_send_rec() 620 struct fc_lport *lport = tgt->rdata->local_port; in bnx2fc_send_srr() 670 struct fc_lport *lport = port->lport; in bnx2fc_initiate_els() 854 struct fc_lport *lport = exch->lp; in bnx2fc_flogi_resp() 885 struct fc_lport *lport = exch->lp; in bnx2fc_logo_resp() 893 struct fc_seq *bnx2fc_elsct_send(struct fc_lport *lport, u32 did, in bnx2fc_elsct_send()
|
D | bnx2fc_debug.h | 44 void BNX2FC_HBA_DBG(const struct fc_lport *lport, const char *fmt, ...);
|
D | bnx2fc.h | 274 struct fc_lport *lport; 481 struct fc_lport *lport; 542 void bnx2fc_rport_event_handler(struct fc_lport *lport, 566 struct fc_seq *bnx2fc_elsct_send(struct fc_lport *lport, u32 did,
|
D | bnx2fc_debug.c | 64 void BNX2FC_HBA_DBG(const struct fc_lport *lport, const char *fmt, ...) in BNX2FC_HBA_DBG()
|
D | bnx2fc_io.c | 650 struct fc_lport *lport; in bnx2fc_initiate_tmf() 809 struct fc_lport *lport; in bnx2fc_initiate_abts() 919 struct fc_lport *lport; in bnx2fc_initiate_seq_cleanup() 988 struct fc_lport *lport; in bnx2fc_initiate_cleanup() 1105 struct fc_lport *lport; in bnx2fc_eh_abort() 1783 struct fc_lport *lport = shost_priv(host); in bnx2fc_queuecommand() 1950 struct fc_lport *lport = port->lport; in bnx2fc_post_io_req()
|
D | bnx2fc_hwi.c | 173 struct fc_lport *lport = port->lport; in bnx2fc_send_session_ofld_req() 363 struct fc_lport *lport = port->lport; in bnx2fc_send_session_enable_req() 514 static bool is_valid_lport(struct bnx2fc_hba *hba, struct fc_lport *lport) in is_valid_lport() 534 struct fc_lport *lport; in bnx2fc_unsol_els_work() 552 struct fc_lport *lport = port->lport; in bnx2fc_process_l2_frame_compl()
|
D | bnx2fc_tgt.c | 83 struct fc_lport *lport = rdata->local_port; in bnx2fc_offload_session() 439 void bnx2fc_rport_event_handler(struct fc_lport *lport, in bnx2fc_rport_event_handler()
|