Home
last modified time | relevance | path

Searched defs:lport (Results 1 – 25 of 61) sorted by relevance

123

/drivers/scsi/libfc/
Dfc_lport.c144 struct fc_lport *lport; member
156 static int fc_frame_drop(struct fc_lport *lport, struct fc_frame *fp) in fc_frame_drop()
171 static void fc_lport_rport_callback(struct fc_lport *lport, in fc_lport_rport_callback()
215 static const char *fc_lport_state(struct fc_lport *lport) in fc_lport_state()
232 static void fc_lport_ptp_setup(struct fc_lport *lport, in fc_lport_ptp_setup()
266 struct fc_lport *lport = shost_priv(shost); in fc_get_host_port_state() local
289 struct fc_lport *lport = shost_priv(shost); in fc_get_host_speed() local
302 struct fc_lport *lport = shost_priv(shost); in fc_get_host_stats() local
355 static void fc_lport_flogi_fill(struct fc_lport *lport, in fc_lport_flogi_fill()
390 static void fc_lport_add_fc4_type(struct fc_lport *lport, enum fc_fh_type type) in fc_lport_add_fc4_type()
[all …]
Dfc_disc.c72 struct fc_lport *lport; in fc_disc_recv_rscn_req() local
181 static void fc_disc_recv_req(struct fc_lport *lport, struct fc_frame *fp) in fc_disc_recv_req()
235 struct fc_lport *lport) in fc_disc_start()
257 struct fc_lport *lport = fc_disc_lport(disc); in fc_disc_done() local
301 struct fc_lport *lport = fc_disc_lport(disc); in fc_disc_error() local
345 struct fc_lport *lport = fc_disc_lport(disc); in fc_disc_gpn_ft_req() local
381 struct fc_lport *lport; in fc_disc_gpn_ft_parse() local
573 struct fc_lport *lport; in fc_disc_gpn_id_resp() local
646 static int fc_disc_gpn_id_req(struct fc_lport *lport, in fc_disc_gpn_id_req()
669 static int fc_disc_single(struct fc_lport *lport, struct fc_disc_port *dp) in fc_disc_single()
[all …]
Dfc_rport.c104 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() local
505 struct fc_lport *lport = rdata->local_port; in fc_rport_logoff() local
615 struct fc_lport *lport = rdata->local_port; in fc_rport_error() local
701 struct fc_lport *lport = rdata->local_port; in fc_rport_login_complete() local
742 struct fc_lport *lport = rdata->local_port; in fc_rport_flogi_resp() local
822 struct fc_lport *lport = rdata->local_port; in fc_rport_enter_flogi() local
855 static void fc_rport_recv_flogi_req(struct fc_lport *lport, in fc_rport_recv_flogi_req()
986 struct fc_lport *lport = rdata->local_port; in fc_rport_plogi_resp() local
[all …]
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_fcp.c135 static struct fc_fcp_pkt *fc_fcp_pkt_alloc(struct fc_lport *lport, gfp_t gfp) in fc_fcp_pkt_alloc()
324 struct fc_lport *lport; in fc_fcp_ddp_setup() local
342 struct fc_lport *lport; in fc_fcp_ddp_done() local
361 static void fc_fcp_can_queue_ramp_up(struct fc_lport *lport) in fc_fcp_can_queue_ramp_up()
403 static bool fc_fcp_can_queue_ramp_down(struct fc_lport *lport) in fc_fcp_can_queue_ramp_down()
439 static inline struct fc_frame *fc_fcp_frame_alloc(struct fc_lport *lport, in fc_fcp_frame_alloc()
482 struct fc_lport *lport = fsp->lp; in fc_fcp_recv_data() local
606 struct fc_lport *lport = fsp->lp; in fc_fcp_send_data() local
786 struct fc_lport *lport = fsp->lp; in fc_fcp_recv() local
990 struct fc_lport *lport = fsp->lp; in fc_fcp_complete_locked() local
[all …]
Dfc_exch.c86 struct fc_lport *lport; member
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()
906 static struct fc_exch *fc_exch_alloc(struct fc_lport *lport, in fc_exch_alloc()
929 struct fc_lport *lport = mp->lport; in fc_exch_find() local
991 static struct fc_exch *fc_exch_resp(struct fc_lport *lport, in fc_exch_resp()
1039 static enum fc_pf_rjt_reason fc_seq_lookup_recip(struct fc_lport *lport, in fc_seq_lookup_recip()
1282 struct fc_lport *lport = ep->lp; in fc_seq_send_ack() local
1347 struct fc_lport *lport; in fc_exch_send_ba_rjt() local
[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()
243 struct fc_lport *lport; in fc_lport_iterate() local
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_libfc.h34 #define FC_LPORT_DBG(lport, fmt, args...) \ argument
46 #define FC_RPORT_ID_DBG(lport, port_id, fmt, args...) \ argument
79 #define FC_SCSI_DBG(lport, fmt, args...) \ argument
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()
/drivers/scsi/fcoe/
Dfcoe.c590 static void fcoe_update_src_mac(struct fc_lport *lport, u8 *addr) in fcoe_update_src_mac()
606 static u8 *fcoe_get_src_mac(struct fc_lport *lport) in fcoe_get_src_mac()
619 static int fcoe_lport_config(struct fc_lport *lport) in fcoe_lport_config()
650 static void fcoe_netdev_features_change(struct fc_lport *lport, in fcoe_netdev_features_change()
699 static int fcoe_netdev_config(struct fc_lport *lport, struct net_device *netdev) in fcoe_netdev_config()
763 static int fcoe_shost_config(struct fc_lport *lport, struct device *dev) in fcoe_shost_config()
805 static void fcoe_fdmi_info(struct fc_lport *lport, struct net_device *netdev) in fcoe_fdmi_info()
919 static inline int fcoe_em_config(struct fc_lport *lport) in fcoe_em_config()
1000 static void fcoe_if_destroy(struct fc_lport *lport) in fcoe_if_destroy()
1060 static int fcoe_ddp_setup(struct fc_lport *lport, u16 xid, in fcoe_ddp_setup()
[all …]
Dfcoe_ctlr.c530 struct fc_lport *lport, 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() local
1322 struct fc_lport *lport = fip->lp; in fcoe_ctlr_recv_clr_vlink() local
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()
2168 static void fcoe_ctlr_disc_stop_locked(struct fc_lport *lport) in fcoe_ctlr_disc_stop_locked()
2190 static void fcoe_ctlr_disc_stop(struct fc_lport *lport) in fcoe_ctlr_disc_stop()
2206 static void fcoe_ctlr_disc_stop_final(struct fc_lport *lport) in fcoe_ctlr_disc_stop_final()
[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()
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()
/drivers/scsi/bnx2fc/
Dbnx2fc_fcoe.c133 static inline struct net_device *bnx2fc_netdev(const struct fc_lport *lport) in bnx2fc_netdev()
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()
430 struct fc_lport *lport; in bnx2fc_rcv() local
510 struct fc_lport *lport; in bnx2fc_recv_frame() local
687 struct fc_lport *lport = shost_priv(shost); in bnx2fc_get_host_stats() local
736 static int bnx2fc_shost_config(struct fc_lport *lport, struct device *dev) in bnx2fc_shost_config()
769 static int bnx2fc_link_ok(struct fc_lport *lport) in bnx2fc_link_ok()
801 static int bnx2fc_net_config(struct fc_lport *lport, struct net_device *netdev) in bnx2fc_net_config()
[all …]
Dbnx2fc_els.c65 struct fc_lport *lport = NULL; in bnx2fc_send_rrq() local
187 struct fc_lport *lport = tgt->rdata->local_port; in bnx2fc_send_adisc() local
215 struct fc_lport *lport = tgt->rdata->local_port; in bnx2fc_send_logo() local
243 struct fc_lport *lport = tgt->rdata->local_port; in bnx2fc_send_rls() local
586 struct fc_lport *lport = tgt->rdata->local_port; in bnx2fc_send_rec() local
628 struct fc_lport *lport = tgt->rdata->local_port; in bnx2fc_send_srr() local
678 struct fc_lport *lport = port->lport; in bnx2fc_initiate_els() local
865 struct fc_lport *lport = exch->lp; in bnx2fc_flogi_resp() local
917 struct fc_lport *lport = exch->lp; in bnx2fc_logo_resp() local
925 struct fc_seq *bnx2fc_elsct_send(struct fc_lport *lport, u32 did, in bnx2fc_elsct_send()
/drivers/scsi/qla2xxx/
Dtcm_qla2xxx.c166 struct tcm_qla2xxx_lport *lport = tpg->lport; in tcm_qla2xxx_get_fabric_wwn() local
798 struct tcm_qla2xxx_lport *lport = container_of(se_wwn, in tcm_qla2xxx_clear_nacl_from_fcport_map() local
934 struct tcm_qla2xxx_lport *lport = container_of(se_wwn, in tcm_qla2xxx_tpg_enable_store() local
1021 struct tcm_qla2xxx_lport *lport = container_of(wwn, in tcm_qla2xxx_make_tpg() local
1069 struct tcm_qla2xxx_lport *lport = tpg->lport; in tcm_qla2xxx_drop_tpg() local
1097 struct tcm_qla2xxx_lport *lport = container_of(se_wwn, in tcm_qla2xxx_npiv_tpg_enable_store() local
1142 struct tcm_qla2xxx_lport *lport = container_of(wwn, in tcm_qla2xxx_npiv_make_tpg() local
1185 struct tcm_qla2xxx_lport *lport; in tcm_qla2xxx_find_sess_by_s_id() local
1221 struct tcm_qla2xxx_lport *lport, in tcm_qla2xxx_set_sess_by_s_id()
1290 struct tcm_qla2xxx_lport *lport; in tcm_qla2xxx_find_sess_by_loop_id() local
[all …]
Dqla_nvme.c87 static int qla_nvme_alloc_queue(struct nvme_fc_local_port *lport, in qla_nvme_alloc_queue()
286 static void qla_nvme_ls_abort(struct nvme_fc_local_port *lport, in qla_nvme_ls_abort()
308 static int qla_nvme_ls_req(struct nvme_fc_local_port *lport, in qla_nvme_ls_req()
368 static void qla_nvme_fcp_abort(struct nvme_fc_local_port *lport, in qla_nvme_fcp_abort()
594 static int qla_nvme_post_cmd(struct nvme_fc_local_port *lport, in qla_nvme_post_cmd()
670 static void qla_nvme_localport_delete(struct nvme_fc_local_port *lport) in qla_nvme_localport_delete()
/drivers/scsi/lpfc/
Dlpfc_nvme.c86 struct lpfc_nvme_lport *lport; in lpfc_nvme_create_queue() local
143 struct lpfc_nvme_lport *lport; in lpfc_nvme_delete_queue() local
161 struct lpfc_nvme_lport *lport = localport->private; in lpfc_nvme_localport_delete() local
260 struct lpfc_nvme_lport *lport; in lpfc_nvme_handle_lsreq() local
358 struct lpfc_nvme_lport *lport; in lpfc_nvme_ls_req_cmp() local
654 struct lpfc_nvme_lport *lport; in lpfc_nvme_ls_req() local
752 struct lpfc_nvme_lport *lport; in lpfc_nvme_xmt_ls_rsp() local
790 struct lpfc_nvme_lport *lport; in lpfc_nvme_ls_abort() local
931 struct lpfc_nvme_lport *lport; in lpfc_nvme_io_cmd_wqe_cmpl() local
1492 struct lpfc_nvme_lport *lport; in lpfc_nvme_fcp_io_submit() local
[all …]
/drivers/target/tcm_fc/
Dtfc_sess.c30 #define TFC_SESS_DBG(lport, fmt, args...) \ argument
41 static struct ft_tport *ft_tport_get(struct fc_lport *lport) in ft_tport_get()
82 struct fc_lport *lport; in ft_tport_delete() local
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() local
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()
Dtfc_cmd.c105 struct fc_lport *lport; in ft_queue_status() local
182 struct fc_lport *lport; in ft_write_pending() local
270 static void ft_send_resp_status(struct fc_lport *lport, in ft_send_resp_status()
428 struct fc_lport *lport = sess->tport->lport; in ft_recv_cmd() local
Dtfc_io.c46 struct fc_lport *lport; in ft_queue_data_in() local
200 struct fc_lport *lport; in ft_recv_write_data() local
331 struct fc_lport *lport = NULL; in ft_invl_hw_context() local
/drivers/scsi/qedf/
Dqedf_main.c271 struct fc_lport *lport = exch->lp; in qedf_flogi_resp() local
306 static struct fc_seq *qedf_elsct_send(struct fc_lport *lport, u32 did, in qedf_elsct_send()
335 struct fc_lport *lport; in qedf_send_flogi() local
370 struct fc_lport *lport = qedf->lport; in qedf_link_recovery() local
452 struct fc_lport *lport = qedf->lport; in qedf_update_link_speed() local
719 struct fc_lport *lport; in qedf_eh_abort() local
909 void qedf_ctx_soft_reset(struct fc_lport *lport) in qedf_ctx_soft_reset()
957 struct fc_lport *lport; in qedf_eh_host_reset() local
1057 static int qedf_xmit(struct fc_lport *lport, struct fc_frame *fp) in qedf_xmit()
1454 static void qedf_rport_event_handler(struct fc_lport *lport, in qedf_rport_event_handler()
[all …]
Dqedf_attr.c16 struct fc_lport *lport; in qedf_get_base_qedf() local
30 struct fc_lport *lport = shost_priv(class_to_shost(dev)); in fcoe_mac_show() local
47 struct fc_lport *lport = shost_priv(class_to_shost(dev)); in fka_period_show() local
102 struct fc_lport *lport = shost_priv(dev_to_shost(container_of(kobj, in qedf_sysfs_read_grcdump() local
121 struct fc_lport *lport = NULL; in qedf_sysfs_write_grcdump() local
Dqedf_els.c15 struct fc_lport *lport; in qedf_initiate_els() local
242 struct fc_lport *lport; in qedf_send_rrq() local
333 struct fc_lport *lport = fcport->qedf->lport; in qedf_process_l2_frame_compl() local
370 struct fc_lport *lport; in qedf_restart_rport() local
504 struct fc_lport *lport = fcport->qedf->lport; in qedf_send_adisc() local
547 struct fc_lport *lport; in qedf_srr_compl() local
628 struct fc_lport *lport; in qedf_send_srr() local
842 struct fc_lport *lport; in qedf_rec_compl() local
1001 struct fc_lport *lport; in qedf_send_rec() local
/drivers/nvme/host/
Dfc.c139 struct nvme_fc_lport *lport; member
156 struct nvme_fc_lport *lport; member
242 struct nvme_fc_lport *lport = in nvme_fc_free_lport() local
263 nvme_fc_lport_put(struct nvme_fc_lport *lport) in nvme_fc_lport_put()
269 nvme_fc_lport_get(struct nvme_fc_lport *lport) in nvme_fc_lport_get()
280 struct nvme_fc_lport *lport; in nvme_fc_attach_to_unreg_lport() local
457 struct nvme_fc_lport *lport = localport_to_lport(portptr); in nvme_fc_unregister_localport() local
493 nvme_fc_signal_discovery_scan(struct nvme_fc_lport *lport, in nvme_fc_signal_discovery_scan()
517 struct nvme_fc_lport *lport = in nvme_fc_free_rport() local
581 nvme_fc_attach_to_suspended_rport(struct nvme_fc_lport *lport, in nvme_fc_attach_to_suspended_rport()
[all …]
/drivers/nvme/target/
Dfcloop.c214 struct fcloop_lport *lport; member
221 struct fcloop_lport *lport; member
231 struct fcloop_lport *lport; member
240 struct fcloop_lport *lport; member
1025 struct fcloop_lport *lport = lport_priv->lport; in fcloop_localport_delete() local
1102 struct fcloop_lport *lport; in fcloop_create_local_port() local
1157 __unlink_local_port(struct fcloop_lport *lport) in __unlink_local_port()
1163 __wait_localport_unreg(struct fcloop_lport *lport) in __wait_localport_unreg()
1183 struct fcloop_lport *tlport, *lport = NULL; in fcloop_delete_local_port() local
1216 struct fcloop_lport *tmplport, *lport = NULL; in fcloop_alloc_nport() local
[all …]

123