Home
last modified time | relevance | path

Searched refs:tw (Results 1 – 25 of 45) sorted by relevance

12

/kernel/linux/linux-5.10/net/ipv4/
Dinet_timewait_sock.c29 void inet_twsk_bind_unhash(struct inet_timewait_sock *tw, in inet_twsk_bind_unhash() argument
32 struct inet_bind_bucket *tb = tw->tw_tb; in inet_twsk_bind_unhash()
37 __hlist_del(&tw->tw_bind_node); in inet_twsk_bind_unhash()
38 tw->tw_tb = NULL; in inet_twsk_bind_unhash()
40 __sock_put((struct sock *)tw); in inet_twsk_bind_unhash()
44 static void inet_twsk_kill(struct inet_timewait_sock *tw) in inet_twsk_kill() argument
46 struct inet_hashinfo *hashinfo = tw->tw_dr->hashinfo; in inet_twsk_kill()
47 spinlock_t *lock = inet_ehash_lockp(hashinfo, tw->tw_hash); in inet_twsk_kill()
51 sk_nulls_del_node_init_rcu((struct sock *)tw); in inet_twsk_kill()
55 bhead = &hashinfo->bhash[inet_bhashfn(twsk_net(tw), tw->tw_num, in inet_twsk_kill()
[all …]
Dtcp_minisocks.c43 tcp_timewait_check_oow_rate_limit(struct inet_timewait_sock *tw, in tcp_timewait_check_oow_rate_limit() argument
46 struct tcp_timewait_sock *tcptw = tcp_twsk((struct sock *)tw); in tcp_timewait_check_oow_rate_limit()
48 if (!tcp_oow_rate_limited(twsk_net(tw), skb, mib_idx, in tcp_timewait_check_oow_rate_limit()
57 inet_twsk_put(tw); in tcp_timewait_check_oow_rate_limit()
92 tcp_timewait_state_process(struct inet_timewait_sock *tw, struct sk_buff *skb, in tcp_timewait_state_process() argument
96 struct tcp_timewait_sock *tcptw = tcp_twsk((struct sock *)tw); in tcp_timewait_state_process()
101 tcp_parse_options(twsk_net(tw), skb, &tmp_opt, 0, NULL); in tcp_timewait_state_process()
112 if (tw->tw_substate == TCP_FIN_WAIT2) { in tcp_timewait_state_process()
121 tw, skb, LINUX_MIB_TCPACKSKIPPEDFINWAIT2); in tcp_timewait_state_process()
133 inet_twsk_put(tw); in tcp_timewait_state_process()
[all …]
Dinet_hashtables.c467 struct inet_timewait_sock *tw = NULL; in __inet_check_established() local
477 tw = inet_twsk(sk2); in __inet_check_established()
493 if (tw) { in __inet_check_established()
494 sk_nulls_del_node_init_rcu((struct sock *)tw); in __inet_check_established()
501 *twp = tw; in __inet_check_established()
502 } else if (tw) { in __inet_check_established()
504 inet_twsk_deschedule_put(tw); in __inet_check_established()
748 struct inet_timewait_sock *tw = NULL; in __inet_hash_connect() local
815 port, &tw)) in __inet_hash_connect()
854 inet_ehash_nolisten(sk, (struct sock *)tw, NULL); in __inet_hash_connect()
[all …]
Dtcp_ipv4.c110 const struct inet_timewait_sock *tw = inet_twsk(sktw); in tcp_twsk_unique() local
120 if (tw->tw_bound_dev_if == LOOPBACK_IFINDEX) in tcp_twsk_unique()
123 if (tw->tw_family == AF_INET6) { in tcp_twsk_unique()
124 if (ipv6_addr_loopback(&tw->tw_v6_daddr) || in tcp_twsk_unique()
125 ipv6_addr_v4mapped_loopback(&tw->tw_v6_daddr) || in tcp_twsk_unique()
126 ipv6_addr_loopback(&tw->tw_v6_rcv_saddr) || in tcp_twsk_unique()
127 ipv6_addr_v4mapped_loopback(&tw->tw_v6_rcv_saddr)) in tcp_twsk_unique()
132 if (ipv4_is_loopback(tw->tw_daddr) || in tcp_twsk_unique()
133 ipv4_is_loopback(tw->tw_rcv_saddr)) in tcp_twsk_unique()
914 struct inet_timewait_sock *tw = inet_twsk(sk); in tcp_v4_timewait_ack() local
[all …]
Dinet_diag.c419 struct inet_timewait_sock *tw = inet_twsk(sk); in inet_twsk_diag_fill() local
431 BUG_ON(tw->tw_state != TCP_TIME_WAIT); in inet_twsk_diag_fill()
436 r->idiag_state = tw->tw_substate; in inet_twsk_diag_fill()
438 tmo = tw->tw_timer.expires - jiffies; in inet_twsk_diag_fill()
/kernel/linux/linux-5.10/drivers/input/touchscreen/
Dtouchwin.c48 struct tw { struct
60 struct tw *tw = serio_get_drvdata(serio); in tw_interrupt() argument
61 struct input_dev *dev = tw->dev; in tw_interrupt()
64 tw->touched = 1; in tw_interrupt()
65 tw->data[tw->idx++] = data; in tw_interrupt()
67 if (tw->idx == TW_LENGTH && tw->data[1] == tw->data[2]) { in tw_interrupt()
68 input_report_abs(dev, ABS_X, tw->data[0]); in tw_interrupt()
69 input_report_abs(dev, ABS_Y, tw->data[1]); in tw_interrupt()
72 tw->idx = 0; in tw_interrupt()
74 } else if (tw->touched) { /* untouch */ in tw_interrupt()
[all …]
/kernel/linux/linux-5.10/include/net/
Dinet_timewait_sock.h85 void inet_twsk_free(struct inet_timewait_sock *tw);
86 void inet_twsk_put(struct inet_timewait_sock *tw);
88 void inet_twsk_bind_unhash(struct inet_timewait_sock *tw,
95 void inet_twsk_hashdance(struct inet_timewait_sock *tw, struct sock *sk,
98 void __inet_twsk_schedule(struct inet_timewait_sock *tw, int timeo,
101 static inline void inet_twsk_schedule(struct inet_timewait_sock *tw, int timeo) in inet_twsk_schedule() argument
103 __inet_twsk_schedule(tw, timeo, false); in inet_twsk_schedule()
106 static inline void inet_twsk_reschedule(struct inet_timewait_sock *tw, int timeo) in inet_twsk_reschedule() argument
108 __inet_twsk_schedule(tw, timeo, true); in inet_twsk_reschedule()
111 void inet_twsk_deschedule_put(struct inet_timewait_sock *tw);
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/progs/
Dbpf_iter_tcp4.c151 struct inet_timewait_sock *tw = &ttw->tw_sk; in dump_tw_sock() local
156 delta = tw->tw_timer.expires - bpf_jiffies64(); in dump_tw_sock()
157 dest = tw->tw_daddr; in dump_tw_sock()
158 src = tw->tw_rcv_saddr; in dump_tw_sock()
159 destp = bpf_ntohs(tw->tw_dport); in dump_tw_sock()
160 srcp = bpf_ntohs(tw->tw_sport); in dump_tw_sock()
166 tw->tw_substate, 0, 0, in dump_tw_sock()
168 tw->tw_refcnt.refs.counter, tw); in dump_tw_sock()
201 struct tcp_timewait_sock *tw; in dump_tcp4() local
225 tw = bpf_skc_to_tcp_timewait_sock(sk_common); in dump_tcp4()
[all …]
Dbpf_iter_tcp6.c156 struct inet_timewait_sock *tw = &ttw->tw_sk; in dump_tw_sock() local
161 delta = tw->tw_timer.expires - bpf_jiffies64(); in dump_tw_sock()
162 dest = &tw->tw_v6_daddr; in dump_tw_sock()
163 src = &tw->tw_v6_rcv_saddr; in dump_tw_sock()
164 destp = bpf_ntohs(tw->tw_dport); in dump_tw_sock()
165 srcp = bpf_ntohs(tw->tw_sport); in dump_tw_sock()
175 tw->tw_substate, 0, 0, in dump_tw_sock()
177 tw->tw_refcnt.refs.counter, tw); in dump_tw_sock()
217 struct tcp_timewait_sock *tw; in dump_tcp6() local
241 tw = bpf_skc_to_tcp_timewait_sock(sk_common); in dump_tcp6()
[all …]
/kernel/linux/linux-5.10/net/dccp/
Dminisocks.c33 struct inet_timewait_sock *tw; in dccp_time_wait() local
35 tw = inet_twsk_alloc(sk, &dccp_death_row, state); in dccp_time_wait()
37 if (tw != NULL) { in dccp_time_wait()
41 if (tw->tw_family == PF_INET6) { in dccp_time_wait()
42 tw->tw_v6_daddr = sk->sk_v6_daddr; in dccp_time_wait()
43 tw->tw_v6_rcv_saddr = sk->sk_v6_rcv_saddr; in dccp_time_wait()
44 tw->tw_ipv6only = sk->sk_ipv6only; in dccp_time_wait()
60 inet_twsk_schedule(tw, timeo); in dccp_time_wait()
64 inet_twsk_hashdance(tw, sk, &dccp_hashinfo); in dccp_time_wait()
/kernel/linux/linux-5.10/sound/soc/sof/
Dtopology.c1383 struct snd_soc_tplg_dapm_widget *tw, in sof_connect_dai_widget() argument
1507 struct snd_soc_tplg_dapm_widget *tw, in sof_widget_load_dai() argument
1512 struct snd_soc_tplg_private *private = &tw->priv; in sof_widget_load_dai()
1573 struct snd_soc_tplg_dapm_widget *tw, in sof_widget_load_buffer() argument
1577 struct snd_soc_tplg_private *private = &tw->priv; in sof_widget_load_buffer()
1645 struct snd_soc_tplg_dapm_widget *tw, in sof_widget_load_pcm() argument
1649 struct snd_soc_tplg_private *private = &tw->priv; in sof_widget_load_pcm()
1719 struct snd_soc_tplg_dapm_widget *tw, in sof_widget_load_pipeline() argument
1722 struct snd_soc_tplg_private *private = &tw->priv; in sof_widget_load_pipeline()
1738 comp_swidget = snd_sof_find_swidget(scomp, tw->sname); in sof_widget_load_pipeline()
[all …]
/kernel/linux/linux-5.10/net/ipv6/
Dinet6_hashtables.c264 struct inet_timewait_sock *tw = NULL; in __inet6_check_established() local
275 tw = inet_twsk(sk2); in __inet6_check_established()
291 if (tw) { in __inet6_check_established()
292 sk_nulls_del_node_init_rcu((struct sock *)tw); in __inet6_check_established()
299 *twp = tw; in __inet6_check_established()
300 } else if (tw) { in __inet6_check_established()
302 inet_twsk_deschedule_put(tw); in __inet6_check_established()
Dtcp_ipv6.c1120 struct inet_timewait_sock *tw = inet_twsk(sk); in tcp_v6_timewait_ack() local
1124 tcptw->tw_rcv_wnd >> tw->tw_rcv_wscale, in tcp_v6_timewait_ack()
1126 tcptw->tw_ts_recent, tw->tw_bound_dev_if, tcp_twsk_md5_key(tcptw), in tcp_v6_timewait_ack()
1127 tw->tw_tclass, cpu_to_be32(tw->tw_flowlabel), tw->tw_priority); in tcp_v6_timewait_ack()
1129 inet_twsk_put(tw); in tcp_v6_timewait_ack()
1802 struct inet_timewait_sock *tw = inet_twsk(sk); in tcp_v6_rcv() local
1803 inet_twsk_deschedule_put(tw); in tcp_v6_rcv()
2057 struct inet_timewait_sock *tw, int i) in get_timewait6_sock() argument
2059 long delta = tw->tw_timer.expires - jiffies; in get_timewait6_sock()
2063 dest = &tw->tw_v6_daddr; in get_timewait6_sock()
[all …]
/kernel/linux/linux-5.10/Documentation/i2c/busses/
Di2c-viapro.rst22 Datasheet: available on http://linux.via.com.tw
25 Datasheet: available on http://linux.via.com.tw
28 Datasheet: available on http://linux.via.com.tw
Di2c-ali1563.rst9 http://www.ali.com.tw/
Di2c-ali1535.rst9 http://www.ali.com.tw/
/kernel/linux/linux-5.10/drivers/net/ethernet/samsung/sxgbe/
Dsxgbe_core.c224 const int ls, const int tw) in sxgbe_set_eee_timer() argument
226 int value = ((tw & 0xffff)) | ((ls & 0x7ff) << 16); in sxgbe_set_eee_timer()
Dsxgbe_common.h352 const int tw);
/kernel/linux/linux-5.10/arch/nios2/boot/compressed/
Dvmlinux.scr2 * Copyright (C) 2009 Thomas Chou <thomas@wytron.com.tw>
/kernel/linux/linux-5.10/Documentation/hwmon/
Dg760a.rst12 http://www.gmt.com.tw/product/datasheet/EDS-760A.pdf
Dvia686a.rst12 Datasheet: On request through web form (http://www.via.com.tw/en/resources/download-center/)
/kernel/linux/linux-5.10/arch/arm/boot/dts/
Dsun8i-h3-mapleboard-mp130.dts3 * Copyright (C) 2017 Centrum Embedded Systems, Jia-Bin Huang <jb@ces.com.tw>
/kernel/linux/linux-5.10/drivers/net/ethernet/stmicro/stmmac/
Ddwmac1000_core.c395 static void dwmac1000_set_eee_timer(struct mac_device_info *hw, int ls, int tw) in dwmac1000_set_eee_timer() argument
398 int value = ((tw & 0xffff)) | ((ls & 0x7ff) << 16); in dwmac1000_set_eee_timer()
/kernel/linux/linux-5.10/Documentation/networking/device_drivers/ethernet/dec/
Ddmfe.rst64 Sten Wang <sten_wang@davicom.com.tw > : Original Author
/kernel/linux/linux-5.10/drivers/net/can/sja1000/
DKconfig31 parameters. Visit http://www.fintek.com.tw to get more

12