Home
last modified time | relevance | path

Searched refs:lport (Results 1 – 25 of 94) sorted by relevance

1234

/linux/drivers/scsi/libfc/
H A Dfc_lport.c11 * These comments only apply to the 'port code' which consists of the lport,
16 * The lport, disc and rport blocks all have mutexes that are used to protect
18 * having an lport reset just before we send a frame. In that scenario the
19 * lport's FID would get set to zero and then we'd send a frame with an
29 * lport > disc, lport > rport, disc > rport
34 * from the rport (to either lport or disc) and a callback from disc
35 * (to the lport).
39 * cause the lport or disc to grab its lock we cannot hold the rport lock
46 * When discovery succeeds or fails a callback is made to the lport a
144 struct fc_lport *lport; global() member
156 fc_frame_drop(struct fc_lport * lport,struct fc_frame * fp) fc_frame_drop() argument
171 fc_lport_rport_callback(struct fc_lport * lport,struct fc_rport_priv * rdata,enum fc_rport_event event) fc_lport_rport_callback() argument
215 fc_lport_state(struct fc_lport * lport) fc_lport_state() argument
232 fc_lport_ptp_setup(struct fc_lport * lport,u32 remote_fid,u64 remote_wwpn,u64 remote_wwnn) fc_lport_ptp_setup() argument
266 struct fc_lport *lport = shost_priv(shost); fc_get_host_port_state() local
289 struct fc_lport *lport = shost_priv(shost); fc_get_host_speed() local
302 struct fc_lport *lport = shost_priv(shost); fc_get_host_stats() local
355 fc_lport_flogi_fill(struct fc_lport * lport,struct fc_els_flogi * flogi,unsigned int op) fc_lport_flogi_fill() argument
390 fc_lport_add_fc4_type(struct fc_lport * lport,enum fc_fh_type type) fc_lport_add_fc4_type() argument
403 fc_lport_recv_rlir_req(struct fc_lport * lport,struct fc_frame * fp) fc_lport_recv_rlir_req() argument
419 fc_lport_recv_echo_req(struct fc_lport * lport,struct fc_frame * in_fp) fc_lport_recv_echo_req() argument
454 fc_lport_recv_rnid_req(struct fc_lport * lport,struct fc_frame * in_fp) fc_lport_recv_rnid_req() argument
512 fc_lport_recv_logo_req(struct fc_lport * lport,struct fc_frame * fp) fc_lport_recv_logo_req() argument
528 fc_fabric_login(struct fc_lport * lport) fc_fabric_login() argument
549 __fc_linkup(struct fc_lport * lport) __fc_linkup() argument
565 fc_linkup(struct fc_lport * lport) fc_linkup() argument
580 __fc_linkdown(struct fc_lport * lport) __fc_linkdown() argument
595 fc_linkdown(struct fc_lport * lport) fc_linkdown() argument
613 fc_fabric_logoff(struct fc_lport * lport) fc_fabric_logoff() argument
639 fc_lport_destroy(struct fc_lport * lport) fc_lport_destroy() argument
661 fc_set_mfs(struct fc_lport * lport,u32 mfs) fc_set_mfs() argument
693 fc_lport_disc_callback(struct fc_lport * lport,enum fc_disc_event event) fc_lport_disc_callback() argument
718 fc_lport_enter_ready(struct fc_lport * lport) fc_lport_enter_ready() argument
740 fc_lport_set_port_id(struct fc_lport * lport,u32 port_id,struct fc_frame * fp) fc_lport_set_port_id() argument
767 fc_lport_set_local_id(struct fc_lport * lport,u32 port_id) fc_lport_set_local_id() argument
795 fc_lport_recv_flogi_req(struct fc_lport * lport,struct fc_frame * rx_fp) fc_lport_recv_flogi_req() argument
876 fc_lport_recv_els_req(struct fc_lport * lport,struct fc_frame * fp) fc_lport_recv_els_req() argument
945 fc_lport_recv(struct fc_lport * lport,struct fc_frame * fp) fc_lport_recv() argument
985 fc_lport_reset(struct fc_lport * lport) fc_lport_reset() argument
999 fc_lport_reset_locked(struct fc_lport * lport) fc_lport_reset_locked() argument
1027 fc_lport_enter_reset(struct fc_lport * lport) fc_lport_enter_reset() argument
1056 fc_lport_enter_disabled(struct fc_lport * lport) fc_lport_enter_disabled() argument
1077 fc_lport_error(struct fc_lport * lport,struct fc_frame * fp) fc_lport_error() argument
1118 struct fc_lport *lport = lp_arg; fc_lport_ns_resp() local
1194 struct fc_lport *lport = lp_arg; fc_lport_ms_resp() local
1278 struct fc_lport *lport = lp_arg; fc_lport_scr_resp() local
1317 fc_lport_enter_scr(struct fc_lport * lport) fc_lport_enter_scr() argument
1345 fc_lport_enter_ns(struct fc_lport * lport,enum fc_lport_state state) fc_lport_enter_ns() argument
1414 fc_lport_enter_dns(struct fc_lport * lport) fc_lport_enter_dns() argument
1444 fc_lport_enter_ms(struct fc_lport * lport,enum fc_lport_state state) fc_lport_enter_ms() argument
1560 fc_lport_enter_fdmi(struct fc_lport * lport) fc_lport_enter_fdmi() argument
1591 struct fc_lport *lport = fc_lport_timeout() local
1659 struct fc_lport *lport = lp_arg; fc_lport_logo_resp() local
1699 fc_lport_enter_logo(struct fc_lport * lport) fc_lport_enter_logo() argument
1737 struct fc_lport *lport = lp_arg; fc_lport_flogi_resp() local
1841 fc_lport_enter_flogi(struct fc_lport * lport) fc_lport_enter_flogi() argument
1874 fc_lport_config(struct fc_lport * lport) fc_lport_config() argument
1893 fc_lport_init(struct fc_lport * lport) fc_lport_init() argument
1908 fc_host_supported_fc4s(lport->host)[2] = 1; fc_lport_init() local
1909 fc_host_supported_fc4s(lport->host)[7] = 1; fc_lport_init() local
1915 fc_host_active_fc4s(lport->host)[2] = 1; fc_lport_init() local
1916 fc_host_active_fc4s(lport->host)[7] = 1; fc_lport_init() local
1960 struct fc_lport *lport = info->lport; fc_lport_bsg_resp() local
2020 fc_lport_els_request(struct bsg_job * job,struct fc_lport * lport,u32 did,u32 tov) fc_lport_els_request() argument
2080 fc_lport_ct_request(struct bsg_job * job,struct fc_lport * lport,u32 did,u32 tov) fc_lport_ct_request() argument
2142 struct fc_lport *lport = shost_priv(shost); fc_lport_bsg_request() local
[all...]
H A Dfc_encode.h45 * @lport: local port.
48 static inline void fc_adisc_fill(struct fc_lport *lport, struct fc_frame *fp) in fc_adisc_fill() argument
55 put_unaligned_be64(lport->wwpn, &adisc->adisc_wwpn); in fc_adisc_fill()
56 put_unaligned_be64(lport->wwnn, &adisc->adisc_wwnn); in fc_adisc_fill()
57 hton24(adisc->adisc_port_id, lport->port_id); in fc_adisc_fill()
84 * @lport: local port.
91 static inline int fc_ct_ns_fill(struct fc_lport *lport, in fc_ct_ns_fill() argument
116 hton24(ct->payload.rft.fid.fp_fid, lport->port_id); in fc_ct_ns_fill()
117 ct->payload.rft.fts = lport->fcts; in fc_ct_ns_fill()
123 hton24(ct->payload.rff.fr_fid.fp_fid, lport in fc_ct_ns_fill()
187 fc_ct_ms_fill(struct fc_lport * lport,u32 fc_id,struct fc_frame * fp,unsigned int op,enum fc_rctl * r_ctl,enum fc_fh_type * fh_type) fc_ct_ms_fill() argument
723 fc_ct_fill(struct fc_lport * lport,u32 fc_id,struct fc_frame * fp,unsigned int op,enum fc_rctl * r_ctl,enum fc_fh_type * fh_type,u32 * did) fc_ct_fill() argument
747 fc_plogi_fill(struct fc_lport * lport,struct fc_frame * fp,unsigned int op) fc_plogi_fill() argument
780 fc_flogi_fill(struct fc_lport * lport,struct fc_frame * fp) fc_flogi_fill() argument
805 fc_fdisc_fill(struct fc_lport * lport,struct fc_frame * fp) fc_fdisc_fill() argument
828 fc_logo_fill(struct fc_lport * lport,struct fc_frame * fp) fc_logo_fill() argument
842 fc_rtv_fill(struct fc_lport * lport,struct fc_frame * fp) fc_rtv_fill() argument
854 fc_rec_fill(struct fc_lport * lport,struct fc_frame * fp) fc_rec_fill() argument
870 fc_prli_fill(struct fc_lport * lport,struct fc_frame * fp) fc_prli_fill() argument
890 fc_scr_fill(struct fc_lport * lport,struct fc_frame * fp) fc_scr_fill() argument
903 fc_els_fill(struct fc_lport * lport,u32 did,struct fc_frame * fp,unsigned int op,enum fc_rctl * r_ctl,enum fc_fh_type * fh_type) fc_els_fill() argument
[all...]
H A Dfc_disc.c19 * be held when acquiring the lport lock. Refer to fc_lport.c for more
48 * fc_disc_stop_rports() - Delete all the remote ports associated with the lport
72 struct fc_lport *lport; in fc_disc_recv_rscn_req() local
84 lport = fc_disc_lport(disc); in fc_disc_recv_rscn_req()
124 dp->lp = lport; in fc_disc_recv_rscn_req()
148 redisc = fc_disc_single(lport, dp); in fc_disc_recv_rscn_req()
157 redisc, lport->state, disc->pending); in fc_disc_recv_rscn_req()
171 * @lport: The local port receiving the request
178 static void fc_disc_recv_req(struct fc_lport *lport, struct fc_frame *fp) in fc_disc_recv_req() argument
181 struct fc_disc *disc = &lport in fc_disc_recv_req()
232 fc_disc_start(void (* disc_callback)(struct fc_lport *,enum fc_disc_event),struct fc_lport * lport) fc_disc_start() argument
254 struct fc_lport *lport = fc_disc_lport(disc); fc_disc_done() local
298 struct fc_lport *lport = fc_disc_lport(disc); fc_disc_error() local
342 struct fc_lport *lport = fc_disc_lport(disc); fc_disc_gpn_ft_req() local
378 struct fc_lport *lport; fc_disc_gpn_ft_parse() local
570 struct fc_lport *lport; fc_disc_gpn_id_resp() local
643 fc_disc_gpn_id_req(struct fc_lport * lport,struct fc_rport_priv * rdata) fc_disc_gpn_id_req() argument
666 fc_disc_single(struct fc_lport * lport,struct fc_disc_port * dp) fc_disc_single() argument
683 fc_disc_stop(struct fc_lport * lport) fc_disc_stop() argument
701 fc_disc_stop_final(struct fc_lport * lport) fc_disc_stop_final() argument
712 fc_disc_config(struct fc_lport * lport,void * priv) fc_disc_config() argument
738 fc_disc_init(struct fc_lport * lport) fc_disc_init() argument
[all...]
H A Dfc_rport.c23 * either the lport or disc mutexes. The rport's mutex is considered lesser
24 * than both the lport's mutex and the disc mutex. Refer to fc_lport.c for
27 * The locking strategy is similar to the lport's strategy. The lock protects
98 * @lport: The local port to lookup the remote port on
104 struct fc_rport_priv *fc_rport_lookup(const struct fc_lport *lport, in fc_rport_lookup() argument
110 list_for_each_entry_rcu(tmp_rdata, &lport->disc.rports, peers) in fc_rport_lookup()
123 * @lport: The local port this remote port will be associated with
128 struct fc_rport_priv *fc_rport_create(struct fc_lport *lport, u32 port_id) in fc_rport_create() argument
133 lockdep_assert_held(&lport->disc.disc_mutex); in fc_rport_create()
135 rdata = fc_rport_lookup(lport, port_i in fc_rport_create()
265 struct fc_lport *lport = rdata->local_port; fc_rport_work() local
505 struct fc_lport *lport = rdata->local_port; fc_rport_logoff() local
615 struct fc_lport *lport = rdata->local_port; fc_rport_error() local
701 struct fc_lport *lport = rdata->local_port; fc_rport_login_complete() local
742 struct fc_lport *lport = rdata->local_port; fc_rport_flogi_resp() local
822 struct fc_lport *lport = rdata->local_port; fc_rport_enter_flogi() local
855 fc_rport_recv_flogi_req(struct fc_lport * lport,struct fc_frame * rx_fp) fc_rport_recv_flogi_req() argument
986 struct fc_lport *lport = rdata->local_port; fc_rport_plogi_resp() local
1050 fc_rport_compatible_roles(struct fc_lport * lport,struct fc_rport_priv * rdata) fc_rport_compatible_roles() argument
1071 struct fc_lport *lport = rdata->local_port; fc_rport_enter_plogi() local
1247 struct fc_lport *lport = rdata->local_port; fc_rport_enter_prli() local
1387 struct fc_lport *lport = rdata->local_port; fc_rport_enter_rtv() local
1419 struct fc_lport *lport = rdata->local_port; fc_rport_recv_rtv_req() local
1457 struct fc_lport *lport = rdata->local_port; fc_rport_logo_resp() local
1474 struct fc_lport *lport = rdata->local_port; fc_rport_enter_logo() local
1561 struct fc_lport *lport = rdata->local_port; fc_rport_enter_adisc() local
1593 struct fc_lport *lport = rdata->local_port; fc_rport_recv_adisc_req() local
1632 struct fc_lport *lport = rdata->local_port; fc_rport_recv_rls_req() local
1697 fc_rport_recv_els_req(struct fc_lport * lport,struct fc_frame * fp) fc_rport_recv_els_req() argument
1794 fc_rport_recv_req(struct fc_lport * lport,struct fc_frame * fp) fc_rport_recv_req() argument
1842 fc_rport_recv_plogi_req(struct fc_lport * lport,struct fc_frame * rx_fp) fc_rport_recv_plogi_req() argument
1968 struct fc_lport *lport = rdata->local_port; fc_rport_recv_prli_req() local
2084 struct fc_lport *lport = rdata->local_port; fc_rport_recv_prlo_req() local
2153 fc_rport_recv_logo_req(struct fc_lport * lport,struct fc_frame * fp) fc_rport_recv_logo_req() argument
2202 struct fc_lport *lport = rdata->local_port; fc_rport_fcp_prli() local
2288 struct fc_lport *lport = rpriv->local_port; fc_rport_terminate_io() local
[all...]
H A Dfc_exch.c77 * @lport: Local exchange port
86 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() argument
499 error = lport->tt.frame_send(lport, fp); in fc_seq_send_locked()
518 * @lport: The local port that the exchange will be sent on
525 int fc_seq_send(struct fc_lport *lport, struct fc_seq *sp, struct fc_frame *fp) in fc_seq_send() argument
531 error = fc_seq_send_locked(lport, sp, fp); in fc_seq_send()
807 * @lport: The local port that the exchange is for
812 static struct fc_exch *fc_exch_em_alloc(struct fc_lport *lport, in fc_exch_em_alloc() argument
905 fc_exch_alloc(struct fc_lport * lport,struct fc_frame * fp) fc_exch_alloc() argument
928 struct fc_lport *lport = mp->lport; fc_exch_find() local
990 fc_exch_resp(struct fc_lport * lport,struct fc_exch_mgr * mp,struct fc_frame * fp) fc_exch_resp() argument
1038 fc_seq_lookup_recip(struct fc_lport * lport,struct fc_exch_mgr * mp,struct fc_frame * fp) fc_seq_lookup_recip() argument
1281 struct fc_lport *lport = ep->lp; fc_seq_send_ack() local
1346 struct fc_lport *lport; fc_exch_send_ba_rjt() local
1474 fc_seq_assign(struct fc_lport * lport,struct fc_frame * fp) fc_seq_assign() argument
1509 fc_exch_recv_req(struct fc_lport * lport,struct fc_exch_mgr * mp,struct fc_frame * fp) fc_exch_recv_req() argument
1831 struct fc_lport *lport; fc_seq_ls_acc() local
1863 struct fc_lport *lport; fc_seq_ls_rjt() local
1934 fc_exch_pool_reset(struct fc_lport * lport,struct fc_exch_pool * pool,u32 sid,u32 did) fc_exch_pool_reset() argument
1979 fc_exch_mgr_reset(struct fc_lport * lport,u32 sid,u32 did) fc_exch_mgr_reset() argument
2000 fc_exch_lookup(struct fc_lport * lport,u32 xid) fc_exch_lookup() argument
2018 struct fc_lport *lport; fc_exch_els_rec() local
2175 fc_exch_seq_send(struct fc_lport * lport,struct fc_frame * fp,void (* resp)(struct fc_seq *,struct fc_frame * fp,void * arg),void (* destructor)(struct fc_seq *,void *),void * arg,u32 timer_msec) fc_exch_seq_send() argument
2245 struct fc_lport *lport; fc_exch_rrq() local
2295 struct fc_lport *lport; fc_exch_els_rrq() local
2361 fc_exch_update_stats(struct fc_lport * lport) fc_exch_update_stats() argument
2388 fc_exch_mgr_add(struct fc_lport * lport,struct fc_exch_mgr * mp,bool (* match)(struct fc_frame *)) fc_exch_mgr_add() argument
2462 fc_exch_mgr_alloc(struct fc_lport * lport,enum fc_class class,u16 min_xid,u16 max_xid,bool (* match)(struct fc_frame *)) fc_exch_mgr_alloc() argument
2557 fc_exch_mgr_free(struct fc_lport * lport) fc_exch_mgr_free() argument
2575 fc_find_ema(u32 f_ctl,struct fc_lport * lport,struct fc_frame_header * fh) fc_find_ema() argument
2602 fc_exch_recv(struct fc_lport * lport,struct fc_frame * fp) fc_exch_recv() argument
2660 fc_exch_init(struct fc_lport * lport) fc_exch_init() argument
[all...]
H A Dfc_elsct.c23 * @lport: The local port to send the frame on
31 struct fc_seq *fc_elsct_send(struct fc_lport *lport, u32 did, in fc_elsct_send() argument
44 rc = fc_els_fill(lport, did, fp, op, &r_ctl, &fh_type); in fc_elsct_send()
47 rc = fc_ct_fill(lport, did, fp, op, &r_ctl, &fh_type, &did); in fc_elsct_send()
55 fc_fill_fc_hdr(fp, r_ctl, did, lport->port_id, fh_type, in fc_elsct_send()
58 return fc_exch_seq_send(lport, fp, resp, NULL, arg, timer_msec); in fc_elsct_send()
64 * @lport: The local port to initialize the ELS/CT layer for
66 int fc_elsct_init(struct fc_lport *lport) in fc_elsct_init() argument
68 if (!lport->tt.elsct_send) in fc_elsct_init()
69 lport in fc_elsct_init()
[all...]
H A Dfc_libfc.c223 * fc_fc4_conf_lport_params() - Modify "service_params" of specified lport
226 * @lport: Local port which service_params needs to be modified
229 void fc_fc4_conf_lport_params(struct fc_lport *lport, enum fc_fh_type type) in fc_fc4_conf_lport_params() argument
233 BUG_ON(!lport); in fc_fc4_conf_lport_params()
237 lport->service_params |= FCP_SPPF_TARG_FCN; in fc_fc4_conf_lport_params()
243 struct fc_lport *lport; in fc_lport_iterate() local
246 list_for_each_entry(lport, &fc_local_ports, lport_list) in fc_lport_iterate()
247 notify(lport, arg); in fc_lport_iterate()
297 * @lport: The new local port.
299 void fc_fc4_add_lport(struct fc_lport *lport) in fc_fc4_add_lport() argument
312 fc_fc4_del_lport(struct fc_lport * lport) fc_fc4_del_lport() argument
[all...]
H A Dfc_libfc.h12 #define FC_LPORT_LOGGING 0x02 /* lport layer logging */
34 #define FC_LPORT_DBG(lport, fmt, args...) \ argument
36 pr_info("host%u: lport %6.6x: " fmt, \
37 (lport)->host->host_no, \
38 (lport)->port_id, ##args))
46 #define FC_RPORT_ID_DBG(lport, port_id, fmt, args...) \ argument
49 (lport)->host->host_no, \
79 #define FC_SCSI_DBG(lport, fmt, args...) \ argument
82 (lport)->host->host_no, ##args))
/linux/drivers/scsi/fcoe/
H A Dfcoe.c552 fcoe_check_wait_queue(port->lport, skb); in fcoe_port_send()
554 fcoe_check_wait_queue(port->lport, skb); in fcoe_port_send()
585 * @lport: The local port to update the source MAC on
591 static void fcoe_update_src_mac(struct fc_lport *lport, u8 *addr) in fcoe_update_src_mac() argument
593 struct fcoe_port *port = lport_priv(lport); in fcoe_update_src_mac()
604 * fcoe_get_src_mac() - return the Ethernet source address for an lport
605 * @lport: libfc lport
607 static u8 *fcoe_get_src_mac(struct fc_lport *lport) in fcoe_get_src_mac() argument
609 struct fcoe_port *port = lport_priv(lport); in fcoe_get_src_mac()
620 fcoe_lport_config(struct fc_lport * lport) fcoe_lport_config() argument
651 fcoe_netdev_features_change(struct fc_lport * lport,struct net_device * netdev) fcoe_netdev_features_change() argument
700 fcoe_netdev_config(struct fc_lport * lport,struct net_device * netdev) fcoe_netdev_config() argument
764 fcoe_shost_config(struct fc_lport * lport,struct device * dev) fcoe_shost_config() argument
806 fcoe_fdmi_info(struct fc_lport * lport,struct net_device * netdev) fcoe_fdmi_info() argument
920 fcoe_em_config(struct fc_lport * lport) fcoe_em_config() argument
1001 fcoe_if_destroy(struct fc_lport * lport) fcoe_if_destroy() argument
1061 fcoe_ddp_setup(struct fc_lport * lport,u16 xid,struct scatterlist * sgl,unsigned int sgc) fcoe_ddp_setup() argument
1083 fcoe_ddp_target(struct fc_lport * lport,u16 xid,struct scatterlist * sgl,unsigned int sgc) fcoe_ddp_target() argument
1103 fcoe_ddp_done(struct fc_lport * lport,u16 xid) fcoe_ddp_done() argument
1127 struct fc_lport *lport, *n_port; fcoe_if_create() local
1317 struct fc_lport *lport; fcoe_rcv() local
1450 fcoe_xmit(struct fc_lport * lport,struct fc_frame * fp) fcoe_xmit() argument
1582 fcoe_filter_frames(struct fc_lport * lport,struct fc_frame * fp) fcoe_filter_frames() argument
1630 struct fc_lport *lport; fcoe_recv_frame() local
1817 struct fc_lport *lport = NULL; fcoe_device_notification() local
1982 struct fc_lport *lport = ctlr->lp; fcoe_ctlr_enabled() local
2034 struct fc_lport *lport; fcoe_destroy() local
2170 struct fc_lport *lport; _fcoe_create() local
2283 fcoe_link_ok(struct fc_lport * lport) fcoe_link_ok() argument
2302 fcoe_percpu_clean(struct fc_lport * lport) fcoe_percpu_clean() argument
2322 struct fc_lport *lport = shost_priv(shost); fcoe_reset() local
2385 fcoe_hostlist_add(const struct fc_lport * lport) fcoe_hostlist_add() argument
2407 fcoe_hostlist_del(const struct fc_lport * lport) fcoe_hostlist_del() argument
2543 struct fc_lport *lport = exch->lp; fcoe_flogi_resp() local
2570 struct fc_lport *lport = arg; fcoe_logo_resp() local
2587 fcoe_elsct_send(struct fc_lport * lport,u32 did,struct fc_frame * fp,unsigned int op,void (* resp)(struct fc_seq *,struct fc_frame *,void *),void * arg,u32 timeout) fcoe_elsct_send() argument
2694 fcoe_vport_remove(struct fc_lport * lport) fcoe_vport_remove() argument
2728 struct fc_lport *lport = vport->dd_data; fcoe_vport_disable() local
2752 struct fc_lport *lport = vport->dd_data; fcoe_set_vport_symbolic_name() local
2795 fcoe_set_port_id(struct fc_lport * lport,u32 port_id,struct fc_frame * fp) fcoe_set_port_id() argument
[all...]
H A Dfcoe_transport.c112 * @lport: The local port to update speeds for
117 int fcoe_link_speed_update(struct fc_lport *lport) in fcoe_link_speed_update() argument
119 struct net_device *netdev = fcoe_get_netdev(lport); in fcoe_link_speed_update()
123 lport->link_supported_speeds &= ~(FC_PORTSPEED_1GBIT | in fcoe_link_speed_update()
132 lport->link_supported_speeds |= FC_PORTSPEED_1GBIT; in fcoe_link_speed_update()
139 lport->link_supported_speeds |= FC_PORTSPEED_10GBIT; in fcoe_link_speed_update()
144 lport->link_supported_speeds |= FC_PORTSPEED_20GBIT; in fcoe_link_speed_update()
151 lport->link_supported_speeds |= FC_PORTSPEED_40GBIT; in fcoe_link_speed_update()
153 lport->link_speed = eth2fc_speed(ecmd.base.speed); in fcoe_link_speed_update()
161 * __fcoe_get_lesb() - Get the Link Error Status Block (LESB) for a given lport
169 __fcoe_get_lesb(struct fc_lport * lport,struct fc_els_lesb * fc_lesb,struct net_device * netdev) __fcoe_get_lesb() argument
203 fcoe_get_lesb(struct fc_lport * lport,struct fc_els_lesb * fc_lesb) fcoe_get_lesb() argument
368 fcoe_clean_pending_queue(struct fc_lport * lport) fcoe_clean_pending_queue() argument
397 fcoe_check_wait_queue(struct fc_lport * lport,struct sk_buff * skb) fcoe_check_wait_queue() argument
[all...]
/linux/drivers/scsi/bnx2fc/
H A Dbnx2fc_fcoe.c76 static int bnx2fc_shost_config(struct fc_lport *lport, struct device *dev);
77 static int bnx2fc_lport_config(struct fc_lport *lport);
78 static int bnx2fc_em_config(struct fc_lport *lport, struct bnx2fc_hba *hba);
96 static void bnx2fc_port_shutdown(struct fc_lport *lport);
108 "\t\t0x04 - lport events, link, mtu, etc.\n"
133 static inline struct net_device *bnx2fc_netdev(const struct fc_lport *lport) in bnx2fc_netdev() argument
136 ((struct fcoe_port *)lport_priv(lport))->priv)->netdev; in bnx2fc_netdev()
179 static void bnx2fc_abort_io(struct fc_lport *lport) in bnx2fc_abort_io() argument
189 static void bnx2fc_cleanup(struct fc_lport *lport) in bnx2fc_cleanup() argument
191 struct fcoe_port *port = lport_priv(lport); in bnx2fc_cleanup()
264 bnx2fc_xmit(struct fc_lport * lport,struct fc_frame * fp) bnx2fc_xmit() argument
427 struct fc_lport *lport; bnx2fc_rcv() local
507 struct fc_lport *lport; bnx2fc_recv_frame() local
679 struct fc_lport *lport = shost_priv(shost); bnx2fc_get_host_stats() local
728 bnx2fc_shost_config(struct fc_lport * lport,struct device * dev) bnx2fc_shost_config() argument
761 bnx2fc_link_ok(struct fc_lport * lport) bnx2fc_link_ok() argument
793 bnx2fc_net_config(struct fc_lport * lport,struct net_device * netdev) bnx2fc_net_config() argument
863 struct fc_lport *lport; bnx2fc_indicate_netevent() local
982 bnx2fc_libfc_config(struct fc_lport * lport) bnx2fc_libfc_config() argument
995 bnx2fc_em_config(struct fc_lport * lport,struct bnx2fc_hba * hba) bnx2fc_em_config() argument
1013 bnx2fc_lport_config(struct fc_lport * lport) bnx2fc_lport_config() argument
1071 bnx2fc_update_src_mac(struct fc_lport * lport,u8 * addr) bnx2fc_update_src_mac() argument
1083 bnx2fc_get_src_mac(struct fc_lport * lport) bnx2fc_get_src_mac() argument
1168 bnx2fc_free_vport(struct bnx2fc_hba * hba,struct fc_lport * lport) bnx2fc_free_vport() argument
1214 struct fc_lport *lport = vport->dd_data; bnx2fc_vport_disable() local
1487 struct fc_lport *lport, *n_port; bnx2fc_if_create() local
1597 struct fc_lport *lport = ctlr->lp; bnx2fc_interface_cleanup() local
1612 bnx2fc_if_destroy(struct fc_lport * lport) bnx2fc_if_destroy() argument
1638 struct fc_lport *lport = ctlr->lp; __bnx2fc_destroy() local
1687 struct fc_lport *lport; bnx2fc_port_destroy() local
1827 struct fc_lport *lport; bnx2fc_ulp_start() local
1850 bnx2fc_port_shutdown(struct fc_lport * lport) bnx2fc_port_shutdown() argument
1860 struct fc_lport *lport; bnx2fc_stop() local
1987 struct fc_lport *lport; bnx2fc_start_disc() local
2115 bnx2fc_npiv_create_vports(struct fc_lport * lport,struct cnic_fc_npiv_tbl * npiv_tbl) bnx2fc_npiv_create_vports() argument
2172 struct fc_lport *lport; __bnx2fc_enable() local
2297 struct fc_lport *lport; _bnx2fc_create() local
2565 struct fc_lport *lport = shost_priv(shost); bnx2fc_fcoe_reset() local
2902 struct fc_lport *lport = shost_priv(shost); bnx2fc_tm_timeout_show() local
2915 struct fc_lport *lport = shost_priv(shost); bnx2fc_tm_timeout_store() local
[all...]
H A Dbnx2fc_debug.c30 if (io_req && io_req->port && io_req->port->lport && in BNX2FC_IO_DBG()
31 io_req->port->lport->host) in BNX2FC_IO_DBG()
32 shost_printk(KERN_INFO, io_req->port->lport->host, in BNX2FC_IO_DBG()
54 if (tgt && tgt->port && tgt->port->lport && tgt->port->lport->host && in BNX2FC_TGT_DBG()
56 shost_printk(KERN_INFO, tgt->port->lport->host, in BNX2FC_TGT_DBG()
65 void BNX2FC_HBA_DBG(const struct fc_lport *lport, const char *fmt, ...) in BNX2FC_HBA_DBG() argument
78 if (lport && lport->host) in BNX2FC_HBA_DBG()
79 shost_printk(KERN_INFO, lport in BNX2FC_HBA_DBG()
[all...]
H A Dbnx2fc_els.c65 struct fc_lport *lport = NULL; in bnx2fc_send_rrq() local
75 lport = tgt->rdata->local_port; in bnx2fc_send_rrq()
77 r_a_tov = lport->r_a_tov; in bnx2fc_send_rrq()
187 struct fc_lport *lport = tgt->rdata->local_port; in bnx2fc_send_adisc() local
188 u32 r_a_tov = lport->r_a_tov; in bnx2fc_send_adisc()
215 struct fc_lport *lport = tgt->rdata->local_port; in bnx2fc_send_logo() local
216 u32 r_a_tov = lport->r_a_tov; in bnx2fc_send_logo()
243 struct fc_lport *lport = tgt->rdata->local_port; in bnx2fc_send_rls() local
244 u32 r_a_tov = lport->r_a_tov; in bnx2fc_send_rls()
586 struct fc_lport *lport in bnx2fc_send_rec() local
628 struct fc_lport *lport = tgt->rdata->local_port; bnx2fc_send_srr() local
678 struct fc_lport *lport = port->lport; bnx2fc_initiate_els() local
865 struct fc_lport *lport = exch->lp; bnx2fc_flogi_resp() local
917 struct fc_lport *lport = exch->lp; bnx2fc_logo_resp() local
925 bnx2fc_elsct_send(struct fc_lport * lport,u32 did,struct fc_frame * fp,unsigned int op,void (* resp)(struct fc_seq *,struct fc_frame *,void *),void * arg,u32 timeout) bnx2fc_elsct_send() argument
[all...]
/linux/drivers/target/tcm_fc/
H A Dtfc_sess.c30 #define TFC_SESS_DBG(lport, fmt, args...) \ argument
32 (lport)->host->host_no, \
33 (lport)->port_id, ##args )
41 static struct ft_tport *ft_tport_get(struct fc_lport *lport) in ft_tport_get() argument
47 tport = rcu_dereference_protected(lport->prov[FC_TYPE_FCP], in ft_tport_get()
52 tpg = ft_lport_find_tpg(lport); in ft_tport_get()
66 tport->lport = lport; in ft_tport_get()
72 rcu_assign_pointer(lport->prov[FC_TYPE_FCP], tport); in ft_tport_get()
82 struct fc_lport *lport; in ft_tport_delete() local
103 ft_lport_add(struct fc_lport * lport,void * arg) ft_lport_add() argument
115 ft_lport_del(struct fc_lport * lport,void * arg) ft_lport_del() argument
132 struct fc_lport *lport = arg; ft_lport_notify() local
158 ft_sess_get(struct fc_lport * lport,u32 port_id) ft_sess_get() argument
478 ft_recv(struct fc_lport * lport,struct fc_frame * fp) ft_recv() argument
[all...]
H A Dtfc_io.c46 struct fc_lport *lport; in ft_queue_data_in() local
71 lport = ep->lp; in ft_queue_data_in()
106 * If lport's has capability of Large Send Offload LSO) in ft_queue_data_in()
108 * if indicated transfer length is >= lport->lso_max in ft_queue_data_in()
110 frame_len = (lport->seq_offload) ? lport->lso_max : in ft_queue_data_in()
113 fp = fc_frame_alloc(lport, use_sg ? 0 : frame_len); in ft_queue_data_in()
163 error = fc_seq_send(lport, seq, fp); in ft_queue_data_in()
169 remaining, lport->lso_max); in ft_queue_data_in()
200 struct fc_lport *lport; in ft_recv_write_data() local
331 struct fc_lport *lport = NULL; ft_invl_hw_context() local
[all...]
H A Dtfc_cmd.c105 struct fc_lport *lport; in ft_queue_status() local
114 lport = ep->lp; in ft_queue_status()
116 fp = fc_frame_alloc(lport, len); in ft_queue_status()
152 rc = fc_seq_send(lport, cmd->seq, fp); in ft_queue_status()
182 struct fc_lport *lport; in ft_write_pending() local
192 lport = ep->lp; in ft_write_pending()
193 fp = fc_frame_alloc(lport, sizeof(*txrdy)); in ft_write_pending()
213 if ((ep->xid <= lport->lro_xid) && in ft_write_pending()
216 lport->tt.ddp_target(lport, e in ft_write_pending()
265 ft_send_resp_status(struct fc_lport * lport,const struct fc_frame * rx_fp,u32 status,enum fcp_resp_rsp_codes code) ft_send_resp_status() argument
423 struct fc_lport *lport = sess->tport->lport; ft_recv_cmd() local
[all...]
/linux/drivers/scsi/qla2xxx/
H A Dtcm_qla2xxx.c166 struct tcm_qla2xxx_lport *lport = tpg->lport; in tcm_qla2xxx_get_fabric_wwn() local
168 return lport->lport_naa_name; in tcm_qla2xxx_get_fabric_wwn()
788 struct tcm_qla2xxx_lport *lport = container_of(se_wwn, in tcm_qla2xxx_clear_nacl_from_fcport_map() local
796 node = btree_remove32(&lport->lport_fcport_map, nacl->nport_id); in tcm_qla2xxx_clear_nacl_from_fcport_map()
804 btree_insert32(&lport->lport_fcport_map, nacl->nport_id, in tcm_qla2xxx_clear_nacl_from_fcport_map()
811 * Now clear the se_nacl and session pointers from our HW lport lookup in tcm_qla2xxx_clear_nacl_from_fcport_map()
819 tcm_qla2xxx_clear_sess_lookup(lport, nacl, sess); in tcm_qla2xxx_clear_nacl_from_fcport_map()
912 struct tcm_qla2xxx_lport *lport = container_of(se_wwn, in tcm_qla2xxx_enable_tpg() local
914 struct scsi_qla_host *vha = lport in tcm_qla2xxx_enable_tpg()
986 struct tcm_qla2xxx_lport *lport = container_of(wwn, tcm_qla2xxx_make_tpg() local
1034 struct tcm_qla2xxx_lport *lport = tpg->lport; tcm_qla2xxx_drop_tpg() local
1055 struct tcm_qla2xxx_lport *lport = container_of(se_wwn, tcm_qla2xxx_npiv_enable_tpg() local
1082 struct tcm_qla2xxx_lport *lport = container_of(wwn, tcm_qla2xxx_npiv_make_tpg() local
1125 struct tcm_qla2xxx_lport *lport; tcm_qla2xxx_find_sess_by_s_id() local
1161 tcm_qla2xxx_set_sess_by_s_id(struct tcm_qla2xxx_lport * lport,struct se_node_acl * new_se_nacl,struct tcm_qla2xxx_nacl * nacl,struct se_session * se_sess,struct fc_port * fc_port,be_id_t s_id) tcm_qla2xxx_set_sess_by_s_id() argument
1230 struct tcm_qla2xxx_lport *lport; tcm_qla2xxx_find_sess_by_loop_id() local
1266 tcm_qla2xxx_set_sess_by_loop_id(struct tcm_qla2xxx_lport * lport,struct se_node_acl * new_se_nacl,struct tcm_qla2xxx_nacl * nacl,struct se_session * se_sess,struct fc_port * fc_port,uint16_t loop_id) tcm_qla2xxx_set_sess_by_loop_id() argument
1329 tcm_qla2xxx_clear_sess_lookup(struct tcm_qla2xxx_lport * lport,struct tcm_qla2xxx_nacl * nacl,struct fc_port * sess) tcm_qla2xxx_clear_sess_lookup() argument
1346 struct tcm_qla2xxx_lport *lport; tcm_qla2xxx_free_session() local
1371 struct tcm_qla2xxx_lport *lport = tpg->lport; tcm_qla2xxx_session_cb() local
1404 struct tcm_qla2xxx_lport *lport; tcm_qla2xxx_check_initiator_node_acl() local
1451 struct tcm_qla2xxx_lport *lport = vha->vha_tgt.target_lport_ptr; tcm_qla2xxx_update_sess() local
1542 tcm_qla2xxx_init_lport(struct tcm_qla2xxx_lport * lport) tcm_qla2xxx_init_lport() argument
1570 struct tcm_qla2xxx_lport *lport = tcm_qla2xxx_lport_register_cb() local
1587 struct tcm_qla2xxx_lport *lport; tcm_qla2xxx_make_lport() local
1624 struct tcm_qla2xxx_lport *lport = container_of(wwn, tcm_qla2xxx_drop_lport() local
1654 struct tcm_qla2xxx_lport *lport = tcm_qla2xxx_lport_register_npiv_cb() local
1699 struct tcm_qla2xxx_lport *lport; tcm_qla2xxx_npiv_make_lport() local
1749 struct tcm_qla2xxx_lport *lport = container_of(wwn, tcm_qla2xxx_npiv_drop_lport() local
[all...]
/linux/drivers/scsi/qedf/
H A Dqedf_attr.c10 return qedf->lport->vport != NULL; in qedf_is_vport()
16 struct fc_lport *lport; in qedf_get_base_qedf() local
22 lport = qedf->lport; in qedf_get_base_qedf()
23 base_lport = shost_priv(vport_to_shost(lport->vport)); in qedf_get_base_qedf()
30 struct fc_lport *lport = shost_priv(class_to_shost(dev)); in fcoe_mac_show() local
35 port_id = fc_host_port_id(lport->host); in fcoe_mac_show()
47 struct fc_lport *lport = shost_priv(class_to_shost(dev)); in fka_period_show() local
48 struct qedf_ctx *qedf = lport_priv(lport); in fka_period_show()
101 qedf_uevent_emit(base_qedf->lport in qedf_capture_grc_dump()
111 struct fc_lport *lport = shost_priv(dev_to_shost(container_of(kobj, qedf_sysfs_read_grcdump() local
130 struct fc_lport *lport = NULL; qedf_sysfs_write_grcdump() local
[all...]
H A Dqedf_els.c15 struct fc_lport *lport; in qedf_initiate_els() local
34 lport = qedf->lport; in qedf_initiate_els()
44 if (lport->state != LPORT_ST_READY || !(lport->link_up)) { in qedf_initiate_els()
242 struct fc_lport *lport; in qedf_send_rrq() local
291 lport = qedf->lport; in qedf_send_rrq()
293 r_a_tov = lport->r_a_tov; in qedf_send_rrq()
333 struct fc_lport *lport in qedf_process_l2_frame_compl() local
370 struct fc_lport *lport; qedf_restart_rport() local
504 struct fc_lport *lport = fcport->qedf->lport; qedf_send_adisc() local
547 struct fc_lport *lport; qedf_srr_compl() local
628 struct fc_lport *lport; qedf_send_srr() local
842 struct fc_lport *lport; qedf_rec_compl() local
1001 struct fc_lport *lport; qedf_send_rec() local
[all...]
/linux/include/scsi/
H A Dlibfc.h602 * Stop discovery for a given lport. This will remove
610 * Stop discovery for a given lport. This will block
796 * @lport: The local port to test
800 static inline int fc_lport_test_ready(struct fc_lport *lport) in fc_lport_test_ready() argument
802 return lport->state == LPORT_ST_READY; in fc_lport_test_ready()
807 * @lport: The local port whose WWNN is to be set
810 static inline void fc_set_wwnn(struct fc_lport *lport, u64 wwnn) in fc_set_wwnn() argument
812 lport->wwnn = wwnn; in fc_set_wwnn()
817 * @lport: The local port whose WWPN is to be set
820 static inline void fc_set_wwpn(struct fc_lport *lport, u6 argument
830 fc_lport_state_enter(struct fc_lport * lport,enum fc_lport_state state) fc_lport_state_enter() argument
844 fc_lport_init_stats(struct fc_lport * lport) fc_lport_init_stats() argument
856 fc_lport_free_stats(struct fc_lport * lport) fc_lport_free_stats() argument
867 lport_priv(const struct fc_lport * lport) lport_priv() argument
883 struct fc_lport *lport; libfc_host_alloc() local
[all...]
/linux/drivers/nvme/host/
H A Dfc.c133 struct list_head endp_list; /* for lport->endp_list */
139 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
246 WARN_ON(lport->localport.port_state != FC_OBJSTATE_DELETED); in nvme_fc_free_lport()
247 WARN_ON(!list_empty(&lport->endp_list)); in nvme_fc_free_lport()
251 list_del(&lport->port_list); in nvme_fc_free_lport()
254 ida_free(&nvme_fc_local_port_cnt, lport->localport.port_num); in nvme_fc_free_lport()
255 ida_destroy(&lport->endp_cnt); in nvme_fc_free_lport()
257 put_device(lport in nvme_fc_free_lport()
263 nvme_fc_lport_put(struct nvme_fc_lport * lport) nvme_fc_lport_put() argument
269 nvme_fc_lport_get(struct nvme_fc_lport * lport) nvme_fc_lport_get() argument
280 struct nvme_fc_lport *lport; nvme_fc_attach_to_unreg_lport() local
457 struct nvme_fc_lport *lport = localport_to_lport(portptr); nvme_fc_unregister_localport() local
493 nvme_fc_signal_discovery_scan(struct nvme_fc_lport * lport,struct nvme_fc_rport * rport) nvme_fc_signal_discovery_scan() argument
517 struct nvme_fc_lport *lport = nvme_fc_free_rport() local
581 nvme_fc_attach_to_suspended_rport(struct nvme_fc_lport * lport,struct nvme_fc_port_info * pinfo) nvme_fc_attach_to_suspended_rport() argument
668 struct nvme_fc_lport *lport = localport_to_lport(localport); nvme_fc_register_remoteport() local
1416 struct nvme_fc_lport *lport = rport->lport; nvme_fc_xmt_ls_rsp_free() local
1447 struct nvme_fc_lport *lport = rport->lport; nvme_fc_xmt_ls_rsp() local
1663 nvme_fc_rcv_ls_req_err_msg(struct nvme_fc_lport * lport,struct fcnvme_ls_rqst_w0 * w0) nvme_fc_rcv_ls_req_err_msg() argument
1696 struct nvme_fc_lport *lport = rport->lport; nvme_fc_rcv_ls_req() local
2970 struct nvme_fc_lport *lport = rport->lport; nvme_fc_rport_active_on_lport() local
2978 struct nvme_fc_lport *lport = rport->lport; nvme_fc_rport_inactive_on_lport() local
3006 struct nvme_fc_lport *lport = rport->lport; nvme_fc_ctlr_inactive_on_rport() local
3417 nvme_fc_alloc_ctrl(struct device * dev,struct nvmf_ctrl_options * opts,struct nvme_fc_lport * lport,struct nvme_fc_rport * rport) nvme_fc_alloc_ctrl() argument
3524 nvme_fc_init_ctrl(struct device * dev,struct nvmf_ctrl_options * opts,struct nvme_fc_lport * lport,struct nvme_fc_rport * rport) nvme_fc_init_ctrl() argument
3665 struct nvme_fc_lport *lport; nvme_fc_create_ctrl() local
3731 struct nvme_fc_lport *lport; nvme_fc_nvme_discovery_store() local
3935 struct nvme_fc_lport *lport; nvme_fc_exit_module() local
[all...]
/linux/drivers/nvme/target/
H A Dfcloop.c214 struct fcloop_lport *lport; member
224 struct fcloop_lport *lport; member
235 struct fcloop_lport *lport; member
245 struct fcloop_lport *lport; member
535 *wwnn = rport->lport->localport->node_name; in fcloop_t2h_host_traddr()
536 *wwpn = rport->lport->localport->port_name; in fcloop_t2h_host_traddr()
1044 fcloop_lport_put(struct fcloop_lport *lport) in fcloop_lport_put() argument
1048 if (!refcount_dec_and_test(&lport->ref)) in fcloop_lport_put()
1052 list_del(&lport->lport_list); in fcloop_lport_put()
1055 kfree(lport); in fcloop_lport_put()
1059 fcloop_lport_get(struct fcloop_lport * lport) fcloop_lport_get() argument
1092 struct fcloop_lport *lport = lport_priv->lport; fcloop_localport_delete() local
1187 struct fcloop_lport *lport; fcloop_create_local_port() local
1242 __localport_unreg(struct fcloop_lport * lport) __localport_unreg() argument
1282 struct fcloop_lport *lport; __fcloop_lport_lookup() local
1301 struct fcloop_lport *lport; fcloop_lport_lookup() local
1315 struct fcloop_lport *lport; fcloop_delete_local_port() local
1337 struct fcloop_lport *lport; fcloop_alloc_nport() local
1726 struct fcloop_lport *lport; fcloop_exit() local
[all...]
/linux/drivers/scsi/lpfc/
H A Dlpfc_nvme.c86 struct lpfc_nvme_lport *lport; in lpfc_nvme_create_queue() local
94 lport = (struct lpfc_nvme_lport *)pnvme_lport->private; in lpfc_nvme_create_queue()
95 vport = lport->vport; in lpfc_nvme_create_queue()
148 struct lpfc_nvme_lport *lport; in lpfc_nvme_delete_queue() local
154 lport = (struct lpfc_nvme_lport *)pnvme_lport->private; in lpfc_nvme_delete_queue()
155 vport = lport->vport; in lpfc_nvme_delete_queue()
159 lport, qidx, handle); in lpfc_nvme_delete_queue()
166 struct lpfc_nvme_lport *lport = localport->private; in lpfc_nvme_localport_delete() local
168 lpfc_printf_vlog(lport->vport, KERN_INFO, LOG_NVME, in lpfc_nvme_localport_delete()
170 lport); in lpfc_nvme_localport_delete()
264 struct lpfc_nvme_lport *lport; lpfc_nvme_handle_lsreq() local
368 struct lpfc_nvme_lport *lport; lpfc_nvme_ls_req_cmp() local
666 struct lpfc_nvme_lport *lport; lpfc_nvme_ls_req() local
765 struct lpfc_nvme_lport *lport; lpfc_nvme_xmt_ls_rsp() local
803 struct lpfc_nvme_lport *lport; lpfc_nvme_ls_abort() local
944 struct lpfc_nvme_lport *lport; lpfc_nvme_io_cmd_cmpl() local
1532 struct lpfc_nvme_lport *lport; lpfc_nvme_fcp_io_submit() local
1860 struct lpfc_nvme_lport *lport; lpfc_nvme_fcp_abort() local
2147 struct lpfc_nvme_lport *lport; lpfc_nvme_create_localport() local
2225 lpfc_nvme_lport_unreg_wait(struct lpfc_vport * vport,struct lpfc_nvme_lport * lport,struct completion * lport_unreg_cmp) lpfc_nvme_lport_unreg_wait() argument
2302 struct lpfc_nvme_lport *lport; lpfc_nvme_destroy_localport() local
2354 struct lpfc_nvme_lport *lport; lpfc_nvme_update_localport() local
2391 struct lpfc_nvme_lport *lport; lpfc_nvme_register_port() local
2584 struct lpfc_nvme_lport *lport; lpfc_nvme_unregister_port() local
[all...]
/linux/net/netfilter/
H A Dxt_TPROXY.c36 tproxy_tg4(struct net *net, struct sk_buff *skb, __be32 laddr, __be16 lport, in tproxy_tg4() argument
57 if (!lport) in tproxy_tg4()
58 lport = hp->dest; in tproxy_tg4()
63 sk = nf_tproxy_handle_time_wait4(net, skb, laddr, lport, sk); in tproxy_tg4()
69 hp->source, lport, in tproxy_tg4()
89 return tproxy_tg4(xt_net(par), skb, tgi->laddr, tgi->lport, in tproxy_tg4_v0()
98 return tproxy_tg4(xt_net(par), skb, tgi->laddr.ip, tgi->lport, in tproxy_tg4_v1()
112 __be16 lport; in tproxy_tg6_v1() local
134 lport = tgi->lport in tproxy_tg6_v1()
[all...]
/linux/drivers/infiniband/hw/irdma/
H A Dtrace_cm.h25 __field(u16, lport)
29 __entry->lport = cm_info->loc_port;
37 __entry->lport, __entry->ipv4)
47 __field(u16, lport)
52 __entry->lport = listener->loc_port;
61 __entry->lport, __entry->ipv4)
69 __field(u16, lport)
77 __entry->lport = listener->loc_port;
88 __entry->lport, __entry->ipv4)
150 __field(u16, lport)
[all...]

1234