Home
last modified time | relevance | path

Searched refs:dport (Results 1 – 25 of 177) sorted by relevance

12345678

/linux-5.19.10/drivers/tty/serial/
Ddz.c77 struct dz_port dport[DZ_NB_PORT]; member
99 static u16 dz_in(struct dz_port *dport, unsigned offset) in dz_in() argument
101 void __iomem *addr = dport->port.membase + offset; in dz_in()
106 static void dz_out(struct dz_port *dport, unsigned offset, u16 value) in dz_out() argument
108 void __iomem *addr = dport->port.membase + offset; in dz_out()
125 struct dz_port *dport = to_dport(uport); in dz_stop_tx() local
126 u16 tmp, mask = 1 << dport->port.line; in dz_stop_tx()
128 tmp = dz_in(dport, DZ_TCR); /* read the TX flag */ in dz_stop_tx()
130 dz_out(dport, DZ_TCR, tmp); in dz_stop_tx()
135 struct dz_port *dport = to_dport(uport); in dz_start_tx() local
[all …]
/linux-5.19.10/drivers/tty/
Dmips_ejtag_fdc.c418 struct mips_ejtag_fdc_tty_port *dport; in mips_ejtag_fdc_put_chan() local
425 dport = &priv->ports[chan]; in mips_ejtag_fdc_put_chan()
426 spin_lock(&dport->xmit_lock); in mips_ejtag_fdc_put_chan()
427 if (dport->xmit_cnt) { in mips_ejtag_fdc_put_chan()
428 ptrs[0] = dport->port.xmit_buf + dport->xmit_tail; in mips_ejtag_fdc_put_chan()
430 priv->xmit_size - dport->xmit_tail, in mips_ejtag_fdc_put_chan()
431 dport->xmit_cnt); in mips_ejtag_fdc_put_chan()
432 ptrs[1] = dport->port.xmit_buf; in mips_ejtag_fdc_put_chan()
433 sizes[1] = dport->xmit_cnt - sizes[0]; in mips_ejtag_fdc_put_chan()
449 dport->xmit_cnt -= word.bytes; in mips_ejtag_fdc_put_chan()
[all …]
/linux-5.19.10/net/core/
Dsecure_seq.c77 __be16 sport, __be16 dport) in secure_tcpv6_seq() argument
83 __be16 dport; in secure_tcpv6_seq() member
88 .dport = dport in secure_tcpv6_seq()
93 hash = siphash(&combined, offsetofend(typeof(combined), dport), in secure_tcpv6_seq()
100 __be16 dport) in secure_ipv6_port_ephemeral() argument
106 __be16 dport; in secure_ipv6_port_ephemeral() member
111 .dport = dport, in secure_ipv6_port_ephemeral()
114 return siphash(&combined, offsetofend(typeof(combined), dport), in secure_ipv6_port_ephemeral()
137 __be16 sport, __be16 dport) in secure_tcp_seq() argument
143 (__force u32)sport << 16 | (__force u32)dport, in secure_tcp_seq()
[all …]
/linux-5.19.10/drivers/scsi/bfa/
Dbfa_svc.c5658 static void bfa_dport_sm_disabled(struct bfa_dport_s *dport,
5660 static void bfa_dport_sm_enabling_qwait(struct bfa_dport_s *dport,
5662 static void bfa_dport_sm_enabling(struct bfa_dport_s *dport,
5664 static void bfa_dport_sm_enabled(struct bfa_dport_s *dport,
5666 static void bfa_dport_sm_disabling_qwait(struct bfa_dport_s *dport,
5668 static void bfa_dport_sm_disabling(struct bfa_dport_s *dport,
5670 static void bfa_dport_sm_starting_qwait(struct bfa_dport_s *dport,
5672 static void bfa_dport_sm_starting(struct bfa_dport_s *dport,
5674 static void bfa_dport_sm_dynamic_disabling(struct bfa_dport_s *dport,
5676 static void bfa_dport_sm_dynamic_disabling_qwait(struct bfa_dport_s *dport,
[all …]
/linux-5.19.10/drivers/cxl/core/
Dport.c140 struct cxl_dport *dport = cxld->target[i]; in emit_target_list() local
143 if (!dport) in emit_target_list()
148 rc = sysfs_emit_at(buf, offset, "%d%s", dport->port_id, in emit_target_list()
552 struct cxl_dport *dport; in match_root_child() local
560 list_for_each_entry(dport, &port->dports, list) { in match_root_child()
563 if (iter == dport->dport) in match_root_child()
592 struct cxl_dport *dport; in find_dport() local
595 list_for_each_entry (dport, &port->dports, list) in find_dport()
596 if (dport->port_id == id) in find_dport()
597 return dport; in find_dport()
[all …]
/linux-5.19.10/tools/testing/selftests/bpf/progs/
Dtest_sk_assign.c95 __be16 dport; in handle_udp() local
106 dport = ipv4 ? tuple->ipv4.dport : tuple->ipv6.dport; in handle_udp()
107 if (dport != bpf_htons(4321)) in handle_udp()
126 __be16 dport; in handle_tcp() local
140 dport = ipv4 ? tuple->ipv4.dport : tuple->ipv6.dport; in handle_tcp()
141 if (dport != bpf_htons(4321)) in handle_tcp()
Dtest_xdp.c89 int dport; in handle_ipv4() local
96 dport = get_dport(iph + 1, data_end, iph->protocol); in handle_ipv4()
97 if (dport == -1) in handle_ipv4()
103 vip.dport = dport; in handle_ipv4()
161 int dport; in handle_ipv6() local
166 dport = get_dport(ip6h + 1, data_end, ip6h->nexthdr); in handle_ipv6()
167 if (dport == -1) in handle_ipv6()
173 vip.dport = dport; in handle_ipv6()
Dtest_xdp_loop.c85 int dport; in handle_ipv4() local
92 dport = get_dport(iph + 1, data_end, iph->protocol); in handle_ipv4()
93 if (dport == -1) in handle_ipv4()
99 vip.dport = dport; in handle_ipv4()
157 int dport; in handle_ipv6() local
162 dport = get_dport(ip6h + 1, data_end, ip6h->nexthdr); in handle_ipv6()
163 if (dport == -1) in handle_ipv6()
169 vip.dport = dport; in handle_ipv6()
/linux-5.19.10/include/net/
Dsecure_seq.h7 u64 secure_ipv4_port_ephemeral(__be32 saddr, __be32 daddr, __be16 dport);
9 __be16 dport);
11 __be16 sport, __be16 dport);
14 __be16 sport, __be16 dport);
18 __be16 sport, __be16 dport);
20 __be16 sport, __be16 dport);
Dinet_hashtables.h224 __be32 daddr, __be16 dport, int dif, int sdif) in inet_lookup_listener() argument
227 daddr, ntohs(dport), dif, sdif); in inet_lookup_listener()
285 const __be32 daddr, const __be16 dport, in inet_lookup_established() argument
289 ntohs(dport), dif, 0); in inet_lookup_established()
296 const __be32 daddr, const __be16 dport, in __inet_lookup() argument
300 u16 hnum = ntohs(dport); in __inet_lookup()
317 const __be32 daddr, const __be16 dport, in inet_lookup() argument
324 dport, dif, 0, &refcounted); in inet_lookup()
335 const __be16 dport, in __inet_lookup_skb() argument
347 iph->daddr, dport, inet_iif(skb), sdif, in __inet_lookup_skb()
Dflow.h48 __be16 dport; member
58 __le16 dport; member
90 #define fl4_dport uli.ports.dport
101 __be16 dport, __be16 sport, in flowi4_init_output() argument
117 fl4->fl4_dport = dport; in flowi4_init_output()
151 #define fl6_dport uli.ports.dport
171 #define fld_dport uli.ports.dport
Droute.h174 __be16 dport, __be16 sport, in ip_route_output_ports() argument
180 daddr, saddr, dport, sport, sock_net_uid(net, sk)); in ip_route_output_ports()
307 __be16 sport, __be16 dport, in ip_route_connect_init() argument
317 src, dport, sport, sk->sk_uid); in ip_route_connect_init()
322 __be16 sport, __be16 dport, in ip_route_connect() argument
328 ip_route_connect_init(fl4, dst, src, oif, protocol, sport, dport, sk); in ip_route_connect()
344 __be16 sport, __be16 dport, in ip_route_newports() argument
347 if (sport != orig_sport || dport != orig_dport) { in ip_route_newports()
348 fl4->fl4_dport = dport; in ip_route_newports()
/linux-5.19.10/net/ipv4/netfilter/
Dnf_socket_ipv4.c69 const __be16 sport, const __be16 dport, in nf_socket_get_sock_v4() argument
75 saddr, sport, daddr, dport, in nf_socket_get_sock_v4()
78 return udp4_lib_lookup(net, saddr, sport, daddr, dport, in nf_socket_get_sock_v4()
88 __be16 dport, sport; in nf_sk_lookup_slow_v4() local
112 dport = hp->dest; in nf_sk_lookup_slow_v4()
120 &sport, &dport)) in nf_sk_lookup_slow_v4()
140 dport = (iph->protocol == IPPROTO_TCP) ? in nf_sk_lookup_slow_v4()
147 daddr, sport, dport, indev); in nf_sk_lookup_slow_v4()
Dnf_tproxy_ipv4.c78 const __be16 sport, const __be16 dport, in nf_tproxy_get_sock_v4() argument
99 daddr, dport, in nf_tproxy_get_sock_v4()
112 saddr, sport, daddr, dport, in nf_tproxy_get_sock_v4()
121 sk = udp4_lib_lookup(net, saddr, sport, daddr, dport, in nf_tproxy_get_sock_v4()
146 protocol, ntohl(saddr), ntohs(sport), ntohl(daddr), ntohs(dport), lookup_type, sk); in nf_tproxy_get_sock_v4()
/linux-5.19.10/samples/bpf/
Dxdp_tx_iptunnel_kern.c88 int dport; in handle_ipv4() local
95 dport = get_dport(iph + 1, data_end, iph->protocol); in handle_ipv4()
96 if (dport == -1) in handle_ipv4()
102 vip.dport = dport; in handle_ipv4()
162 int dport; in handle_ipv6() local
167 dport = get_dport(ip6h + 1, data_end, ip6h->nexthdr); in handle_ipv6()
168 if (dport == -1) in handle_ipv6()
174 vip.dport = dport; in handle_ipv6()
/linux-5.19.10/net/ipv6/netfilter/
Dnf_socket_ipv6.c81 const __be16 sport, const __be16 dport, in nf_socket_get_sock_v6() argument
87 saddr, sport, daddr, dport, in nf_socket_get_sock_v6()
90 return udp6_lib_lookup(net, saddr, sport, daddr, dport, in nf_socket_get_sock_v6()
100 __be16 dport, sport; in nf_sk_lookup_slow_v6() local
125 dport = hp->dest; in nf_sk_lookup_slow_v6()
133 &sport, &dport, &ipv6_var)) in nf_sk_lookup_slow_v6()
140 sport, dport, indev); in nf_sk_lookup_slow_v6()
Dnf_tproxy_ipv6.c79 const __be16 sport, const __be16 dport, in nf_tproxy_get_sock_v6() argument
99 daddr, ntohs(dport), in nf_tproxy_get_sock_v6()
112 saddr, sport, daddr, ntohs(dport), in nf_tproxy_get_sock_v6()
121 sk = udp6_lib_lookup(net, saddr, sport, daddr, dport, in nf_tproxy_get_sock_v6()
145 protocol, saddr, ntohs(sport), daddr, ntohs(dport), lookup_type, sk); in nf_tproxy_get_sock_v6()
/linux-5.19.10/net/ipv6/
Dsyncookies.c42 __be16 sport, __be16 dport, u32 count, int c) in cookie_hash() argument
49 __be16 dport; in cookie_hash() member
55 .dport = dport in cookie_hash()
59 return siphash(&combined, offsetofend(typeof(combined), dport), in cookie_hash()
65 __be16 sport, __be16 dport, __u32 sseq, in secure_tcp_syn_cookie() argument
69 return (cookie_hash(saddr, daddr, sport, dport, 0, 0) + in secure_tcp_syn_cookie()
71 ((cookie_hash(saddr, daddr, sport, dport, count, 1) + data) in secure_tcp_syn_cookie()
77 __be16 dport, __u32 sseq) in check_tcp_syn_cookie() argument
81 cookie -= cookie_hash(saddr, daddr, sport, dport, 0, 0) + sseq; in check_tcp_syn_cookie()
88 cookie_hash(saddr, daddr, sport, dport, count - diff, 1)) in check_tcp_syn_cookie()
/linux-5.19.10/include/trace/events/
Dtcp.h61 __field(__u16, dport)
78 __entry->dport = ntohs(inet->inet_dport);
93 __entry->sport, __entry->dport, __entry->saddr, __entry->daddr,
130 __field(__u16, dport)
146 __entry->dport = ntohs(inet->inet_dport);
163 __entry->sport, __entry->dport,
200 __field(__u16, dport)
216 __entry->dport = ntohs(ireq->ir_rmt_port);
231 __entry->sport, __entry->dport,
249 __field(__u16, dport)
[all …]
Dfib6.h31 __field( u16, dport )
59 __entry->dport = ntohs(flp->fl6_dport);
62 __entry->dport = 0;
84 __entry->src, __entry->sport, __entry->dst, __entry->dport,
Dfib.h34 __field( u16, dport )
62 __entry->dport = ntohs(flp->fl4_dport);
65 __entry->dport = 0;
96 __entry->src, __entry->sport, __entry->dst, __entry->dport,
/linux-5.19.10/drivers/cxl/
Dacpi.c156 struct cxl_dport *dport; in add_host_bridge_uport() local
163 dport = cxl_find_dport_by_dev(root_port, match); in add_host_bridge_uport()
164 if (!dport) { in add_host_bridge_uport()
178 port = devm_cxl_add_port(host, match, dport->component_reg_phys, in add_host_bridge_uport()
215 struct cxl_dport *dport; in add_host_bridge_dport() local
244 dport = devm_cxl_add_dport(root_port, match, uid, ctx.chbcr); in add_host_bridge_dport()
245 if (IS_ERR(dport)) { in add_host_bridge_dport()
248 return PTR_ERR(dport); in add_host_bridge_dport()
/linux-5.19.10/security/
Dlsm_audit.c66 ad->u.net->dport = th->dest; in ipv4_skb_to_auditdata()
75 ad->u.net->dport = uh->dest; in ipv4_skb_to_auditdata()
84 ad->u.net->dport = dh->dccph_dport; in ipv4_skb_to_auditdata()
92 ad->u.net->dport = sh->dest; in ipv4_skb_to_auditdata()
141 ad->u.net->dport = th->dest; in ipv6_skb_to_auditdata()
152 ad->u.net->dport = uh->dest; in ipv6_skb_to_auditdata()
163 ad->u.net->dport = dh->dccph_dport; in ipv6_skb_to_auditdata()
173 ad->u.net->dport = sh->dest; in ipv6_skb_to_auditdata()
380 a->u.net->dport, in dump_common_audit_data()
388 a->u.net->dport, in dump_common_audit_data()
/linux-5.19.10/tools/testing/selftests/bpf/prog_tests/
Dflow_dissector.c40 got.dport, expected.dport)
127 .dport = 8080,
147 .dport = 8080,
169 .dport = 8080,
192 .dport = 8080,
217 .dport = 8080,
265 .dport = 8080,
309 .dport = 8080,
360 .dport = 8080,
494 tests[i].keys.dport; in run_tests_skb_less()
/linux-5.19.10/net/ipv4/
Dsyncookies.c46 static u32 cookie_hash(__be32 saddr, __be32 daddr, __be16 sport, __be16 dport, in cookie_hash() argument
51 (__force u32)sport << 16 | (__force u32)dport, in cookie_hash()
90 __be16 dport, __u32 sseq, __u32 data) in secure_tcp_syn_cookie() argument
103 return (cookie_hash(saddr, daddr, sport, dport, 0, 0) + in secure_tcp_syn_cookie()
105 ((cookie_hash(saddr, daddr, sport, dport, count, 1) + data) in secure_tcp_syn_cookie()
119 __be16 sport, __be16 dport, __u32 sseq) in check_tcp_syn_cookie() argument
124 cookie -= cookie_hash(saddr, daddr, sport, dport, 0, 0) + sseq; in check_tcp_syn_cookie()
132 cookie_hash(saddr, daddr, sport, dport, count - diff, 1)) in check_tcp_syn_cookie()

12345678