Home
last modified time | relevance | path

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

123

/linux-6.6.21/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_bind2_bucket *tb2 = tw->tw_tb2; in inet_twsk_bind_unhash()
33 struct inet_bind_bucket *tb = tw->tw_tb; in inet_twsk_bind_unhash()
38 __hlist_del(&tw->tw_bind_node); in inet_twsk_bind_unhash()
39 tw->tw_tb = NULL; in inet_twsk_bind_unhash()
42 __hlist_del(&tw->tw_bind2_node); in inet_twsk_bind_unhash()
43 tw->tw_tb2 = NULL; in inet_twsk_bind_unhash()
46 __sock_put((struct sock *)tw); in inet_twsk_bind_unhash()
50 static void inet_twsk_kill(struct inet_timewait_sock *tw) in inet_twsk_kill() argument
52 struct inet_hashinfo *hashinfo = tw->tw_dr->hashinfo; in inet_twsk_kill()
[all …]
Dtcp_minisocks.c36 tcp_timewait_check_oow_rate_limit(struct inet_timewait_sock *tw, in tcp_timewait_check_oow_rate_limit() argument
39 struct tcp_timewait_sock *tcptw = tcp_twsk((struct sock *)tw); in tcp_timewait_check_oow_rate_limit()
41 if (!tcp_oow_rate_limited(twsk_net(tw), skb, mib_idx, in tcp_timewait_check_oow_rate_limit()
50 inet_twsk_put(tw); in tcp_timewait_check_oow_rate_limit()
85 tcp_timewait_state_process(struct inet_timewait_sock *tw, struct sk_buff *skb, in tcp_timewait_state_process() argument
89 struct tcp_timewait_sock *tcptw = tcp_twsk((struct sock *)tw); in tcp_timewait_state_process()
94 tcp_parse_options(twsk_net(tw), skb, &tmp_opt, 0, NULL); in tcp_timewait_state_process()
105 if (tw->tw_substate == TCP_FIN_WAIT2) { in tcp_timewait_state_process()
114 tw, skb, LINUX_MIB_TCPACKSKIPPEDFINWAIT2); in tcp_timewait_state_process()
126 inet_twsk_put(tw); in tcp_timewait_state_process()
[all …]
Dinet_hashtables.c563 struct inet_timewait_sock *tw = NULL; in __inet_check_established() local
573 tw = inet_twsk(sk2); in __inet_check_established()
589 if (tw) { in __inet_check_established()
590 sk_nulls_del_node_init_rcu((struct sock *)tw); in __inet_check_established()
597 *twp = tw; in __inet_check_established()
598 } else if (tw) { in __inet_check_established()
600 inet_twsk_deschedule_put(tw); in __inet_check_established()
1007 struct inet_timewait_sock *tw = NULL; in __inet_hash_connect() local
1065 port, &tw)) in __inet_hash_connect()
1120 inet_ehash_nolisten(sk, (struct sock *)tw, NULL); in __inet_hash_connect()
[all …]
Dtcp_ipv4.c113 const struct inet_timewait_sock *tw = inet_twsk(sktw); in tcp_twsk_unique() local
123 if (tw->tw_bound_dev_if == LOOPBACK_IFINDEX) in tcp_twsk_unique()
126 if (tw->tw_family == AF_INET6) { in tcp_twsk_unique()
127 if (ipv6_addr_loopback(&tw->tw_v6_daddr) || in tcp_twsk_unique()
128 ipv6_addr_v4mapped_loopback(&tw->tw_v6_daddr) || in tcp_twsk_unique()
129 ipv6_addr_loopback(&tw->tw_v6_rcv_saddr) || in tcp_twsk_unique()
130 ipv6_addr_v4mapped_loopback(&tw->tw_v6_rcv_saddr)) in tcp_twsk_unique()
135 if (ipv4_is_loopback(tw->tw_daddr) || in tcp_twsk_unique()
136 ipv4_is_loopback(tw->tw_rcv_saddr)) in tcp_twsk_unique()
951 struct inet_timewait_sock *tw = inet_twsk(sk); in tcp_v4_timewait_ack() local
[all …]
/linux-6.6.21/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 …]
/linux-6.6.21/include/net/
Dinet_timewait_sock.h89 void inet_twsk_free(struct inet_timewait_sock *tw);
90 void inet_twsk_put(struct inet_timewait_sock *tw);
92 void inet_twsk_bind_unhash(struct inet_timewait_sock *tw,
99 void inet_twsk_hashdance(struct inet_timewait_sock *tw, struct sock *sk,
102 void __inet_twsk_schedule(struct inet_timewait_sock *tw, int timeo,
105 static inline void inet_twsk_schedule(struct inet_timewait_sock *tw, int timeo) in inet_twsk_schedule() argument
107 __inet_twsk_schedule(tw, timeo, false); in inet_twsk_schedule()
110 static inline void inet_twsk_reschedule(struct inet_timewait_sock *tw, int timeo) in inet_twsk_reschedule() argument
112 __inet_twsk_schedule(tw, timeo, true); in inet_twsk_reschedule()
115 void inet_twsk_deschedule_put(struct inet_timewait_sock *tw);
/linux-6.6.21/tools/testing/selftests/bpf/progs/
Dbpf_iter_tcp4.c150 struct inet_timewait_sock *tw = &ttw->tw_sk; in dump_tw_sock() local
155 delta = tw->tw_timer.expires - bpf_jiffies64(); in dump_tw_sock()
156 dest = tw->tw_daddr; in dump_tw_sock()
157 src = tw->tw_rcv_saddr; in dump_tw_sock()
158 destp = bpf_ntohs(tw->tw_dport); in dump_tw_sock()
159 srcp = bpf_ntohs(tw->tw_sport); in dump_tw_sock()
165 tw->tw_substate, 0, 0, in dump_tw_sock()
167 tw->tw_refcnt.refs.counter, tw); in dump_tw_sock()
200 struct tcp_timewait_sock *tw; in dump_tcp4() local
224 tw = bpf_skc_to_tcp_timewait_sock(sk_common); in dump_tcp4()
[all …]
Dbpf_iter_tcp6.c155 struct inet_timewait_sock *tw = &ttw->tw_sk; in dump_tw_sock() local
160 delta = tw->tw_timer.expires - bpf_jiffies64(); in dump_tw_sock()
161 dest = &tw->tw_v6_daddr; in dump_tw_sock()
162 src = &tw->tw_v6_rcv_saddr; in dump_tw_sock()
163 destp = bpf_ntohs(tw->tw_dport); in dump_tw_sock()
164 srcp = bpf_ntohs(tw->tw_sport); in dump_tw_sock()
174 tw->tw_substate, 0, 0, in dump_tw_sock()
176 tw->tw_refcnt.refs.counter, tw); in dump_tw_sock()
216 struct tcp_timewait_sock *tw; in dump_tcp6() local
240 tw = bpf_skc_to_tcp_timewait_sock(sk_common); in dump_tcp6()
[all …]
/linux-6.6.21/net/dccp/
Dminisocks.c34 struct inet_timewait_sock *tw; in dccp_time_wait() local
36 tw = inet_twsk_alloc(sk, &dccp_death_row, state); in dccp_time_wait()
38 if (tw != NULL) { in dccp_time_wait()
42 if (tw->tw_family == PF_INET6) { in dccp_time_wait()
43 tw->tw_v6_daddr = sk->sk_v6_daddr; in dccp_time_wait()
44 tw->tw_v6_rcv_saddr = sk->sk_v6_rcv_saddr; in dccp_time_wait()
45 tw->tw_ipv6only = sk->sk_ipv6only; in dccp_time_wait()
61 inet_twsk_schedule(tw, timeo); in dccp_time_wait()
65 inet_twsk_hashdance(tw, sk, &dccp_hashinfo); in dccp_time_wait()
/linux-6.6.21/net/ipv6/
Dinet6_hashtables.c282 struct inet_timewait_sock *tw = NULL; in __inet6_check_established() local
293 tw = inet_twsk(sk2); in __inet6_check_established()
309 if (tw) { in __inet6_check_established()
310 sk_nulls_del_node_init_rcu((struct sock *)tw); in __inet6_check_established()
317 *twp = tw; in __inet6_check_established()
318 } else if (tw) { in __inet6_check_established()
320 inet_twsk_deschedule_put(tw); in __inet6_check_established()
Dtcp_ipv6.c1096 struct inet_timewait_sock *tw = inet_twsk(sk); in tcp_v6_timewait_ack() local
1100 tcptw->tw_rcv_wnd >> tw->tw_rcv_wscale, in tcp_v6_timewait_ack()
1102 tcptw->tw_ts_recent, tw->tw_bound_dev_if, tcp_twsk_md5_key(tcptw), in tcp_v6_timewait_ack()
1103 tw->tw_tclass, cpu_to_be32(tw->tw_flowlabel), tw->tw_priority, in tcp_v6_timewait_ack()
1104 tw->tw_txhash); in tcp_v6_timewait_ack()
1106 inet_twsk_put(tw); in tcp_v6_timewait_ack()
1817 struct inet_timewait_sock *tw = inet_twsk(sk); in tcp_v6_rcv() local
1818 inet_twsk_deschedule_put(tw); in tcp_v6_rcv()
2065 struct inet_timewait_sock *tw, int i) in get_timewait6_sock() argument
2067 long delta = tw->tw_timer.expires - jiffies; in get_timewait6_sock()
[all …]
/linux-6.6.21/io_uring/
Dmsg_ring.c24 struct callback_head tw; member
85 init_task_work(&msg->tw, func); in io_msg_exec_remote()
86 if (task_work_add(ctx->submitter_task, &msg->tw, TWA_SIGNAL)) in io_msg_exec_remote()
94 struct io_msg *msg = container_of(head, struct io_msg, tw); in io_msg_tw_complete()
212 struct io_msg *msg = container_of(head, struct io_msg, tw); in io_msg_tw_fd_complete()
/linux-6.6.21/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/
/linux-6.6.21/include/net/netfilter/
Dnf_tproxy.h20 static inline void nf_tproxy_twsk_deschedule_put(struct inet_timewait_sock *tw) in nf_tproxy_twsk_deschedule_put() argument
23 inet_twsk_deschedule_put(tw); in nf_tproxy_twsk_deschedule_put()
/linux-6.6.21/sound/soc/sof/
Dtopology.c1056 struct snd_soc_tplg_dapm_widget *tw, in sof_connect_dai_widget() argument
1187 struct snd_soc_tplg_dapm_widget *tw, in sof_widget_parse_tokens() argument
1192 struct snd_soc_tplg_private *private = &tw->priv; in sof_widget_parse_tokens()
1387 struct snd_soc_tplg_dapm_widget *tw) in sof_widget_ready() argument
1392 struct snd_soc_tplg_private *priv = &tw->priv; in sof_widget_ready()
1481 ret = sof_widget_parse_tokens(scomp, swidget, tw, token_list, token_list_size); in sof_widget_ready()
1483 ret = sof_connect_dai_widget(scomp, w, tw, dai); in sof_widget_ready()
1493 if (le32_to_cpu(tw->priv.size) == 0) { in sof_widget_ready()
1498 ret = sof_widget_parse_tokens(scomp, swidget, tw, token_list, token_list_size); in sof_widget_ready()
1501 if (!le32_to_cpu(tw->num_kcontrols)) { in sof_widget_ready()
[all …]
/linux-6.6.21/drivers/net/ethernet/samsung/sxgbe/
Dsxgbe_core.c225 const int ls, const int tw) in sxgbe_set_eee_timer() argument
227 int value = ((tw & 0xffff)) | ((ls & 0x7ff) << 16); in sxgbe_set_eee_timer()
/linux-6.6.21/Documentation/devicetree/bindings/net/
Dqca,ar803x.yaml51 qca,smarteee-tw-us-100m:
57 qca,smarteee-tw-us-1g:
Dlitex,liteeth.yaml99 # vim: set ts=2 sw=2 sts=2 tw=80 et cc=80 ft=yaml :
/linux-6.6.21/drivers/net/phy/
Dat803x.c739 u32 freq, strength, tw; in at803x_parse_dt() local
752 if (!of_property_read_u32(node, "qca,smarteee-tw-us-1g", &tw)) { in at803x_parse_dt()
753 if (!tw || tw > 255) { in at803x_parse_dt()
757 priv->smarteee_lpi_tw_1g = tw; in at803x_parse_dt()
760 if (!of_property_read_u32(node, "qca,smarteee-tw-us-100m", &tw)) { in at803x_parse_dt()
761 if (!tw || tw > 255) { in at803x_parse_dt()
765 priv->smarteee_lpi_tw_100m = tw; in at803x_parse_dt()
/linux-6.6.21/arch/nios2/boot/compressed/
Dvmlinux.scr2 * Copyright (C) 2009 Thomas Chou <thomas@wytron.com.tw>
/linux-6.6.21/arch/arm/boot/dts/nxp/imx/
Dimx6qdl-sr-som.dtsi78 qca,smarteee-tw-us-1g = <24>;
84 qca,smarteee-tw-us-1g = <24>;
/linux-6.6.21/Documentation/hwmon/
Dg760a.rst12 http://www.gmt.com.tw/product/datasheet/EDS-760A.pdf
/linux-6.6.21/arch/arm/boot/dts/allwinner/
Dsun8i-h3-mapleboard-mp130.dts3 * Copyright (C) 2017 Centrum Embedded Systems, Jia-Bin Huang <jb@ces.com.tw>

123