Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/scsi/libfc/
Dfc_lport.c153 struct fc_lport *lport; member
165 static int fc_frame_drop(struct fc_lport *lport, struct fc_frame *fp) in fc_frame_drop()
180 static void fc_lport_rport_callback(struct fc_lport *lport, in fc_lport_rport_callback()
224 static const char *fc_lport_state(struct fc_lport *lport) in fc_lport_state()
241 static void fc_lport_ptp_setup(struct fc_lport *lport, in fc_lport_ptp_setup()
267 struct fc_lport *lport = shost_priv(shost); in fc_get_host_port_state() local
290 struct fc_lport *lport = shost_priv(shost); in fc_get_host_speed() local
303 struct fc_lport *lport = shost_priv(shost); in fc_get_host_stats() local
359 static void fc_lport_flogi_fill(struct fc_lport *lport, in fc_lport_flogi_fill()
394 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.c66 struct fc_lport *lport; in fc_disc_stop_rports() local
87 struct fc_lport *lport; in fc_disc_recv_rscn_req() local
194 static void fc_disc_recv_req(struct fc_lport *lport, struct fc_frame *fp) in fc_disc_recv_req()
249 struct fc_lport *lport) in fc_disc_start()
275 struct fc_lport *lport = fc_disc_lport(disc); in fc_disc_done() local
313 struct fc_lport *lport = fc_disc_lport(disc); in fc_disc_error() local
360 struct fc_lport *lport = fc_disc_lport(disc); in fc_disc_gpn_ft_req() local
394 struct fc_lport *lport; in fc_disc_gpn_ft_parse() local
586 struct fc_lport *lport; in fc_disc_gpn_id_resp() local
652 static int fc_disc_gpn_id_req(struct fc_lport *lport, in fc_disc_gpn_id_req()
[all …]
Dfc_rport.c100 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() local
619 struct fc_lport *lport = rdata->local_port; in fc_rport_login_complete() local
660 struct fc_lport *lport = rdata->local_port; in fc_rport_flogi_resp() local
722 struct fc_lport *lport = rdata->local_port; in fc_rport_enter_flogi() local
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() local
930 fc_rport_compatible_roles(struct fc_lport *lport, struct fc_rport_priv *rdata) in fc_rport_compatible_roles()
952 struct fc_lport *lport = rdata->local_port; in fc_rport_enter_plogi() local
[all …]
Dfc_fcp.c146 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() local
324 struct fc_lport *lport; in fc_fcp_ddp_done() local
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() local
566 struct fc_lport *lport = fsp->lp; in fc_fcp_send_data() local
753 struct fc_lport *lport = fsp->lp; in fc_fcp_recv() local
943 struct fc_lport *lport = fsp->lp; in fc_fcp_complete_locked() local
[all …]
Dfc_exch.c466 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() local
1307 struct fc_lport *lport; in fc_exch_send_ba_rjt() local
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 …]
Dfc_libfc.c241 void fc_fc4_conf_lport_params(struct fc_lport *lport, enum fc_fh_type type) in fc_fc4_conf_lport_params()
255 struct fc_lport *lport; in fc_lport_iterate() local
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()
Dfc_libfc.h46 #define FC_LPORT_DBG(lport, fmt, args...) \ argument
58 #define FC_RPORT_ID_DBG(lport, port_id, fmt, args...) \ argument
91 #define FC_SCSI_DBG(lport, fmt, args...) \ argument
Dfc_elsct.c43 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()
Dfc_npiv.c63 struct fc_lport *lport = NULL; in fc_vport_id_lookup() local
/linux-4.4.14/include/scsi/
Dfc_encode.h88 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 …]
Dlibfc.h953 static inline int fc_lport_test_ready(struct fc_lport *lport) in fc_lport_test_ready()
963 static inline void fc_set_wwnn(struct fc_lport *lport, u64 wwnn) in fc_set_wwnn()
973 static inline void fc_set_wwpn(struct fc_lport *lport, u64 wwnn) in fc_set_wwpn()
983 static inline void fc_lport_state_enter(struct fc_lport *lport, in fc_lport_state_enter()
995 static inline int fc_lport_init_stats(struct fc_lport *lport) in fc_lport_init_stats()
1007 static inline void fc_lport_free_stats(struct fc_lport *lport) in fc_lport_free_stats()
1016 static inline void *lport_priv(const struct fc_lport *lport) in lport_priv()
1032 struct fc_lport *lport; in libfc_host_alloc() local
Dlibfcoe.h354 struct fc_lport *lport; member
369 static inline struct net_device *fcoe_get_netdev(const struct fc_lport *lport) in fcoe_get_netdev()
/linux-4.4.14/drivers/scsi/fcoe/
Dfcoe.c563 static void fcoe_update_src_mac(struct fc_lport *lport, u8 *addr) in fcoe_update_src_mac()
579 static u8 *fcoe_get_src_mac(struct fc_lport *lport) in fcoe_get_src_mac()
592 static int fcoe_lport_config(struct fc_lport *lport) in fcoe_lport_config()
623 static void fcoe_netdev_features_change(struct fc_lport *lport, in fcoe_netdev_features_change()
672 static int fcoe_netdev_config(struct fc_lport *lport, struct net_device *netdev) in fcoe_netdev_config()
730 static int fcoe_shost_config(struct fc_lport *lport, struct device *dev) in fcoe_shost_config()
772 static void fcoe_fdmi_info(struct fc_lport *lport, struct net_device *netdev) in fcoe_fdmi_info()
889 static inline int fcoe_em_config(struct fc_lport *lport) in fcoe_em_config()
968 static void fcoe_if_destroy(struct fc_lport *lport) in fcoe_if_destroy()
1030 static int fcoe_ddp_setup(struct fc_lport *lport, u16 xid, in fcoe_ddp_setup()
[all …]
Dfcoe_ctlr.c535 struct fc_lport *lport, 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() local
1324 struct fc_lport *lport = fip->lp; in fcoe_ctlr_recv_clr_vlink() local
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()
2133 static void fcoe_ctlr_disc_stop_locked(struct fc_lport *lport) in fcoe_ctlr_disc_stop_locked()
2151 static void fcoe_ctlr_disc_stop(struct fc_lport *lport) in fcoe_ctlr_disc_stop()
2167 static void fcoe_ctlr_disc_stop_final(struct fc_lport *lport) in fcoe_ctlr_disc_stop_final()
[all …]
Dfcoe_transport.c93 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()
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()
435 void fcoe_queue_timer(ulong lport) in fcoe_queue_timer()
Dfcoe.h98 static inline struct net_device *fcoe_netdev(const struct fc_lport *lport) in fcoe_netdev()
/linux-4.4.14/drivers/scsi/bnx2fc/
Dbnx2fc_fcoe.c108 static inline struct net_device *bnx2fc_netdev(const struct fc_lport *lport) in bnx2fc_netdev()
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()
409 struct fc_lport *lport; in bnx2fc_rcv() local
496 struct fc_lport *lport; in bnx2fc_recv_frame() local
633 struct fc_lport *lport = shost_priv(shost); in bnx2fc_get_host_stats() local
677 static int bnx2fc_shost_config(struct fc_lport *lport, struct device *dev) in bnx2fc_shost_config()
710 static int bnx2fc_link_ok(struct fc_lport *lport) in bnx2fc_link_ok()
742 static int bnx2fc_net_config(struct fc_lport *lport, struct net_device *netdev) in bnx2fc_net_config()
[all …]
Dbnx2fc_els.c64 struct fc_lport *lport = tgt->rdata->local_port; in bnx2fc_send_rrq() local
179 struct fc_lport *lport = tgt->rdata->local_port; in bnx2fc_send_adisc() local
207 struct fc_lport *lport = tgt->rdata->local_port; in bnx2fc_send_logo() local
235 struct fc_lport *lport = tgt->rdata->local_port; in bnx2fc_send_rls() local
578 struct fc_lport *lport = tgt->rdata->local_port; in bnx2fc_send_rec() local
620 struct fc_lport *lport = tgt->rdata->local_port; in bnx2fc_send_srr() local
670 struct fc_lport *lport = port->lport; in bnx2fc_initiate_els() local
854 struct fc_lport *lport = exch->lp; in bnx2fc_flogi_resp() local
885 struct fc_lport *lport = exch->lp; in bnx2fc_logo_resp() local
893 struct fc_seq *bnx2fc_elsct_send(struct fc_lport *lport, u32 did, in bnx2fc_elsct_send()
Dbnx2fc_io.c650 struct fc_lport *lport; in bnx2fc_initiate_tmf() local
809 struct fc_lport *lport; in bnx2fc_initiate_abts() local
919 struct fc_lport *lport; in bnx2fc_initiate_seq_cleanup() local
988 struct fc_lport *lport; in bnx2fc_initiate_cleanup() local
1105 struct fc_lport *lport; in bnx2fc_eh_abort() local
1783 struct fc_lport *lport = shost_priv(host); in bnx2fc_queuecommand() local
1950 struct fc_lport *lport = port->lport; in bnx2fc_post_io_req() local
Dbnx2fc_debug.c64 void BNX2FC_HBA_DBG(const struct fc_lport *lport, const char *fmt, ...) in BNX2FC_HBA_DBG()
Dbnx2fc_tgt.c83 struct fc_lport *lport = rdata->local_port; in bnx2fc_offload_session() local
439 void bnx2fc_rport_event_handler(struct fc_lport *lport, in bnx2fc_rport_event_handler()
Dbnx2fc_hwi.c173 struct fc_lport *lport = port->lport; in bnx2fc_send_session_ofld_req() local
363 struct fc_lport *lport = port->lport; in bnx2fc_send_session_enable_req() local
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() local
552 struct fc_lport *lport = port->lport; in bnx2fc_process_l2_frame_compl() local
Dbnx2fc.h274 struct fc_lport *lport; member
481 struct fc_lport *lport; member
/linux-4.4.14/drivers/target/tcm_fc/
Dtfc_sess.c48 static struct ft_tport *ft_tport_get(struct fc_lport *lport) in ft_tport_get()
89 struct fc_lport *lport; in ft_tport_delete() local
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() local
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()
Dtfc_cmd.c86 struct fc_lport *lport; in ft_free_cmd() local
122 struct fc_lport *lport; in ft_queue_status() local
200 struct fc_lport *lport; in ft_write_pending() local
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() local
Dtfc_io.c59 struct fc_lport *lport; in ft_queue_data_in() local
214 struct fc_lport *lport; in ft_recv_write_data() local
346 struct fc_lport *lport = NULL; in ft_invl_hw_context() local
Dtcm_fc.h64 struct fc_lport *lport; member
Dtfc_conf.c319 struct ft_tpg *ft_lport_find_tpg(struct fc_lport *lport) in ft_lport_find_tpg()
/linux-4.4.14/drivers/scsi/qla2xxx/
Dtcm_qla2xxx.c192 struct tcm_qla2xxx_lport *lport = tpg->lport; in tcm_qla2xxx_get_fabric_wwn() local
653 struct tcm_qla2xxx_lport *lport = container_of(se_wwn, in tcm_qla2xxx_clear_nacl_from_fcport_map() local
921 struct tcm_qla2xxx_lport *lport = container_of(wwn, in tcm_qla2xxx_make_tpg() local
968 struct tcm_qla2xxx_lport *lport = tpg->lport; in tcm_qla2xxx_drop_tpg() local
996 struct tcm_qla2xxx_lport *lport = container_of(se_wwn, in tcm_qla2xxx_npiv_tpg_enable_store() local
1042 struct tcm_qla2xxx_lport *lport = container_of(wwn, in tcm_qla2xxx_npiv_make_tpg() local
1086 struct tcm_qla2xxx_lport *lport; in tcm_qla2xxx_find_sess_by_s_id() local
1122 struct tcm_qla2xxx_lport *lport, in tcm_qla2xxx_set_sess_by_s_id()
1191 struct tcm_qla2xxx_lport *lport; in tcm_qla2xxx_find_sess_by_loop_id() local
1227 struct tcm_qla2xxx_lport *lport, in tcm_qla2xxx_set_sess_by_loop_id()
[all …]
Dtcm_qla2xxx.h45 struct tcm_qla2xxx_lport *lport; member
/linux-4.4.14/include/uapi/linux/netfilter/
Dxt_TPROXY.h13 __be16 lport; member
20 __be16 lport; member
/linux-4.4.14/net/netfilter/
Dxt_TPROXY.c254 __be32 laddr, __be16 lport, struct sock *sk) in tproxy_handle_time_wait4()
293 tproxy_tg4(struct net *net, struct sk_buff *skb, __be32 laddr, __be16 lport, in tproxy_tg4()
455 __be16 lport; in tproxy_tg6_v1() local
Dxt_socket.c44 __be16 *lport) in extract_icmp4_fields()
270 __be16 *lport, in extract_icmp6_fields()
/linux-4.4.14/arch/um/drivers/
Dumcast.h13 unsigned short lport; member
Dumcast_kern.c21 int lport; member
/linux-4.4.14/net/ipv6/
Dinet6_hashtables.c27 const struct in6_addr *laddr, const u16 lport, in inet6_ehashfn()
195 struct sock *sk, const __u16 lport, in __inet6_check_established()
Dudp.c58 const u16 lport, in udp6_ehashfn()
/linux-4.4.14/include/net/sctp/
Dsctp.h511 static inline int sctp_phashfn(struct net *net, __u16 lport) in sctp_phashfn()
517 static inline int sctp_ep_hashfn(struct net *net, __u16 lport) in sctp_ep_hashfn()
523 static inline int sctp_assoc_hashfn(struct net *net, __u16 lport, __u16 rport) in sctp_assoc_hashfn()
534 static inline int sctp_vtag_hashfn(__u16 lport, __u16 rport, __u32 vtag) in sctp_vtag_hashfn()
/linux-4.4.14/include/net/
Dinet6_hashtables.h32 const u16 lport, in __inet6_ehashfn()
Dinet_hashtables.h181 static inline u32 inet_bhashfn(const struct net *net, const __u16 lport, in inet_bhashfn()
Dinet_sock.h267 const __u16 lport, in __inet_ehashfn()
/linux-4.4.14/drivers/net/ethernet/chelsio/cxgb4/
Dl2t.h86 u8 lport; /* associated offload logical interface */ member
Dl2t.c368 u8 lport; in cxgb4_l2t_get() local
Dcxgb4.h445 u8 lport; /* associated offload logical port */ member
820 uint16_t lport; /* local port */ member
Dt4fw_api.h462 __be16 lport; member
/linux-4.4.14/net/ipv4/
Dinet_hashtables.c29 const __u16 lport, const __be32 faddr, in inet_ehashfn()
334 struct sock *sk, __u16 lport, in __inet_check_established()
Dudp.c429 const __u16 lport, const __be32 faddr, in udp_ehashfn()
/linux-4.4.14/drivers/scsi/fnic/
Dfnic_fcs.c267 struct fc_lport *lport = fip->lp; in is_fnic_fip_flogi_reject() local
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()
Dfnic_main.c528 static u8 *fnic_get_mac(struct fc_lport *lport) in fnic_get_mac()
Dfnic.h216 struct fc_lport *lport; member
Dfnic_scsi.c1616 struct fc_lport *lport; in fnic_terminate_rport_io() local
/linux-4.4.14/net/bridge/
Dbr_forward.c269 struct net_bridge_port *port, *lport, *rport; in br_multicast_flood() local
/linux-4.4.14/drivers/net/ethernet/sfc/
Dfilter.h208 __be32 lhost, __be16 lport, in efx_filter_set_ipv4_full()
/linux-4.4.14/include/uapi/linux/
Drds.h133 __be16 lport; member
/linux-4.4.14/drivers/scsi/bfa/
Dbfa_fcs_lport.c765 bfa_fcs_lport_uf_recv(struct bfa_fcs_lport_s *lport, in bfa_fcs_lport_uf_recv()
1070 bfa_fcs_lport_attach(struct bfa_fcs_lport_s *lport, struct bfa_fcs_s *fcs, in bfa_fcs_lport_attach()
1089 bfa_fcs_lport_init(struct bfa_fcs_lport_s *lport, in bfa_fcs_lport_init()
Dbfa_fcs.h360 bfa_fcs_lport_t lport; /* logical port */ member
Dbfa_defs_svc.h1443 struct bfa_lport_aen_data_s lport; member
/linux-4.4.14/drivers/infiniband/hw/cxgb4/
Dcm.c3713 __be32 laddr, __be16 lport, in send_fw_pass_open_req()
/linux-4.4.14/drivers/staging/rdma/amso1100/
Dc2_wr.h1129 __be16 lport; member
1147 __be16 lport; member