| /linux-6.15/net/ipv4/ |
| H A D | inet_timewait_sock.c | 39 tw->tw_tb = NULL; in inet_twsk_bind_unhash() 40 tw->tw_tb2 = NULL; in inet_twsk_bind_unhash() 59 bhead = &hashinfo->bhash[inet_bhashfn(twsk_net(tw), tw->tw_num, in inet_twsk_kill() 62 twsk_net(tw), tw->tw_num); in inet_twsk_kill() 71 inet_twsk_put(tw); in inet_twsk_kill() 78 kmem_cache_free(tw->tw_prot->twsk_prot->twsk_slab, tw); in inet_twsk_free() 85 inet_twsk_free(tw); in inet_twsk_put() 135 sk_add_bind_node((struct sock *)tw, &tw->tw_tb2->owners); in inet_twsk_hashdance_schedule() 173 struct inet_timewait_sock *tw = from_timer(tw, t, tw_timer); in tw_timer_handler() local 190 if (tw) { in inet_twsk_alloc() [all …]
|
| H A D | tcp_minisocks.c | 51 inet_twsk_put(tw); in tcp_timewait_check_oow_rate_limit() 143 inet_twsk_put(tw); in tcp_timewait_state_process() 202 inet_twsk_deschedule_put(tw); in tcp_timewait_state_process() 216 inet_twsk_put(tw); in tcp_timewait_state_process() 264 inet_twsk_put(tw); in tcp_timewait_state_process() 310 struct inet_timewait_sock *tw; in tcp_time_wait() local 314 if (tw) { in tcp_time_wait() 319 tw->tw_mark = sk->sk_mark; in tcp_time_wait() 333 tw->tw_txhash = sk->sk_txhash; in tcp_time_wait() 339 if (tw->tw_family == PF_INET6) { in tcp_time_wait() [all …]
|
| H A D | inet_hashtables.c | 580 tw = inet_twsk(sk2); in __inet_check_established() 597 if (tw) { in __inet_check_established() 605 *twp = tw; in __inet_check_established() 606 } else if (tw) { in __inet_check_established() 608 inet_twsk_deschedule_put(tw); in __inet_check_established() 1095 port, &tw, false, in __inet_hash_connect() 1155 if (tw) in __inet_hash_connect() 1161 if (tw) in __inet_hash_connect() 1162 inet_twsk_deschedule_put(tw); in __inet_hash_connect() 1180 if (tw) in __inet_hash_connect() [all …]
|
| H A D | tcp_ipv4.c | 137 if (tw->tw_family == AF_INET6) { in tcp_twsk_unique() 1044 u8 tos = tw->tw_tos; 1063 inet_twsk_put(tw); 1094 tw->tw_bound_dev_if, &key, 1097 tw->tw_txhash); 1099 inet_twsk_put(tw); 2976 dest = tw->tw_daddr; 2977 src = tw->tw_rcv_saddr; 2978 destp = ntohs(tw->tw_dport); 2979 srcp = ntohs(tw->tw_sport); [all …]
|
| /linux-6.15/drivers/input/touchscreen/ |
| H A D | touchwin.c | 48 struct tw { struct 60 struct tw *tw = serio_get_drvdata(serio); in tw_interrupt() argument 65 tw->data[tw->idx++] = data; in tw_interrupt() 67 if (tw->idx == TW_LENGTH && tw->data[1] == tw->data[2]) { in tw_interrupt() 72 tw->idx = 0; in tw_interrupt() 77 tw->idx = 0; in tw_interrupt() 90 struct tw *tw = serio_get_drvdata(serio); in tw_disconnect() local 97 kfree(tw); in tw_disconnect() 108 struct tw *tw; in tw_connect() local 112 tw = kzalloc(sizeof(*tw), GFP_KERNEL); in tw_connect() [all …]
|
| /linux-6.15/tools/testing/selftests/bpf/progs/ |
| H A D | bpf_iter_tcp4.c | 150 struct inet_timewait_sock *tw = &ttw->tw_sk; in dump_tw_sock() local 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() 225 if (tw) in dump_tcp4() [all …]
|
| H A D | bpf_iter_tcp6.c | 155 struct inet_timewait_sock *tw = &ttw->tw_sk; in dump_tw_sock() local 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() 241 if (tw) in dump_tcp6() [all …]
|
| /linux-6.15/include/net/ |
| H A D | inet_timewait_sock.h | 92 void inet_twsk_free(struct inet_timewait_sock *tw); 93 void inet_twsk_put(struct inet_timewait_sock *tw); 95 void inet_twsk_bind_unhash(struct inet_timewait_sock *tw, 102 void inet_twsk_hashdance_schedule(struct inet_timewait_sock *tw, 107 void __inet_twsk_schedule(struct inet_timewait_sock *tw, int timeo, 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.15/net/dccp/ |
| H A D | minisocks.c | 35 struct inet_timewait_sock *tw; in dccp_time_wait() local 37 tw = inet_twsk_alloc(sk, &dccp_death_row, state); in dccp_time_wait() 39 if (tw != NULL) { in dccp_time_wait() 43 if (tw->tw_family == PF_INET6) { in dccp_time_wait() 44 tw->tw_v6_daddr = sk->sk_v6_daddr; in dccp_time_wait() 45 tw->tw_v6_rcv_saddr = sk->sk_v6_rcv_saddr; in dccp_time_wait() 46 tw->tw_ipv6only = sk->sk_ipv6only; in dccp_time_wait() 60 inet_twsk_hashdance_schedule(tw, sk, &dccp_hashinfo, timeo); in dccp_time_wait()
|
| /linux-6.15/io_uring/ |
| H A D | futex.c | 47 static void __io_futex_complete(struct io_kiocb *req, io_tw_token_t tw) in __io_futex_complete() argument 51 io_req_task_complete(req, tw); in __io_futex_complete() 54 static void io_futex_complete(struct io_kiocb *req, io_tw_token_t tw) in io_futex_complete() argument 58 io_tw_lock(ctx, tw); in io_futex_complete() 60 __io_futex_complete(req, tw); in io_futex_complete() 63 static void io_futexv_complete(struct io_kiocb *req, io_tw_token_t tw) in io_futexv_complete() argument 68 io_tw_lock(req->ctx, tw); in io_futexv_complete() 80 __io_futex_complete(req, tw); in io_futexv_complete()
|
| H A D | msg_ring.c | 24 struct callback_head tw; member 74 static void io_msg_tw_complete(struct io_kiocb *req, io_tw_token_t tw) in io_msg_tw_complete() argument 230 struct io_msg *msg = container_of(head, struct io_msg, tw); in io_msg_tw_fd_complete() 250 init_task_work(&msg->tw, io_msg_tw_fd_complete); in io_msg_fd_remote() 251 if (task_work_add(task, &msg->tw, TWA_SIGNAL)) in io_msg_fd_remote()
|
| H A D | poll.c | 223 static int io_poll_check_events(struct io_kiocb *req, io_tw_token_t tw) in io_poll_check_events() argument 291 int ret = io_poll_issue(req, tw); in io_poll_check_events() 315 void io_poll_task_func(struct io_kiocb *req, io_tw_token_t tw) in io_poll_task_func() argument 319 ret = io_poll_check_events(req, tw); in io_poll_task_func() 339 io_req_task_submit(req, tw); in io_poll_task_func() 347 io_req_task_complete(req, tw); in io_poll_task_func() 349 io_tw_lock(req->ctx, tw); in io_poll_task_func() 352 io_req_task_complete(req, tw); in io_poll_task_func() 354 io_req_task_submit(req, tw); in io_poll_task_func()
|
| H A D | timeout.c | 68 static void io_timeout_complete(struct io_kiocb *req, io_tw_token_t tw) in io_timeout_complete() argument 85 io_req_task_complete(req, tw); in io_timeout_complete() 157 static void io_req_tw_fail_links(struct io_kiocb *link, io_tw_token_t tw) in io_req_tw_fail_links() argument 159 io_tw_lock(link->ctx, tw); in io_req_tw_fail_links() 168 io_req_task_complete(link, tw); in io_req_tw_fail_links() 315 static void io_req_task_link_timeout(struct io_kiocb *req, io_tw_token_t tw) in io_req_task_link_timeout() argument 333 io_req_task_complete(req, tw); in io_req_task_link_timeout() 337 io_req_task_complete(req, tw); in io_req_task_link_timeout()
|
| H A D | waitid.c | 19 static void io_waitid_cb(struct io_kiocb *req, io_tw_token_t tw); 184 static void io_waitid_cb(struct io_kiocb *req, io_tw_token_t tw) in io_waitid_cb() argument 190 io_tw_lock(ctx, tw); in io_waitid_cb() 220 io_req_task_complete(req, tw); in io_waitid_cb()
|
| H A D | notif.c | 14 static void io_notif_tw_complete(struct io_kiocb *notif, io_tw_token_t tw) in io_notif_tw_complete() argument 32 io_req_task_complete(notif, tw); in io_notif_tw_complete()
|
| H A D | io_uring.h | 94 void io_req_task_complete(struct io_kiocb *req, io_tw_token_t tw); 96 void io_req_task_submit(struct io_kiocb *req, io_tw_token_t tw); 108 int io_poll_issue(struct io_kiocb *req, io_tw_token_t tw); 395 static inline void io_tw_lock(struct io_ring_ctx *ctx, io_tw_token_t tw) in io_tw_lock() argument
|
| H A D | poll.h | 48 void io_poll_task_func(struct io_kiocb *req, io_tw_token_t tw);
|
| /linux-6.15/net/ipv6/ |
| H A D | inet6_hashtables.c | 279 struct inet_timewait_sock *tw = NULL; in __inet6_check_established() local 307 tw = inet_twsk(sk2); in __inet6_check_established() 324 if (tw) { in __inet6_check_established() 325 sk_nulls_del_node_init_rcu((struct sock *)tw); in __inet6_check_established() 332 *twp = tw; in __inet6_check_established() 333 } else if (tw) { in __inet6_check_established() 335 inet_twsk_deschedule_put(tw); in __inet6_check_established()
|
| H A D | tcp_ipv6.c | 1164 u8 tclass = tw->tw_tclass; 1209 tcptw->tw_rcv_wnd >> tw->tw_rcv_wscale, 1213 tw->tw_priority, tw->tw_txhash); 1218 inet_twsk_put(tw); 1988 inet_twsk_deschedule_put(tw); 2255 dest = &tw->tw_v6_daddr; 2256 src = &tw->tw_v6_rcv_saddr; 2257 destp = ntohs(tw->tw_dport); 2258 srcp = ntohs(tw->tw_sport); 2268 READ_ONCE(tw->tw_substate), 0, 0, [all …]
|
| /linux-6.15/Documentation/i2c/busses/ |
| H A D | i2c-viapro.rst | 22 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
|
| /linux-6.15/include/net/netfilter/ |
| H A D | nf_tproxy.h | 20 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.15/drivers/net/phy/qcom/ |
| H A D | at803x.c | 240 u32 freq, strength, tw; in at803x_parse_dt() local 253 if (!of_property_read_u32(node, "qca,smarteee-tw-us-1g", &tw)) { in at803x_parse_dt() 254 if (!tw || tw > 255) { in at803x_parse_dt() 258 priv->smarteee_lpi_tw_1g = tw; in at803x_parse_dt() 261 if (!of_property_read_u32(node, "qca,smarteee-tw-us-100m", &tw)) { in at803x_parse_dt() 262 if (!tw || tw > 255) { in at803x_parse_dt() 266 priv->smarteee_lpi_tw_100m = tw; in at803x_parse_dt()
|
| /linux-6.15/sound/soc/sof/ |
| H A D | topology.c | 1062 struct snd_soc_tplg_dapm_widget *tw, in sof_connect_dai_widget() argument 1203 struct snd_soc_tplg_dapm_widget *tw, in sof_widget_parse_tokens() argument 1403 struct snd_soc_tplg_dapm_widget *tw) in sof_widget_ready() argument 1509 if (le32_to_cpu(tw->priv.size) == 0) { in sof_widget_ready() 1517 if (!le32_to_cpu(tw->num_kcontrols)) { in sof_widget_ready() 1519 tw->num_kcontrols); in sof_widget_ready() 1549 swidget->id, tw->name, strnlen(tw->sname, SNDRV_CTL_ELEM_ID_NAME_MAXLEN) > 0 in sof_widget_ready() 1550 ? tw->sname : "none"); in sof_widget_ready() 1565 if (tw->event_type) { in sof_widget_ready() 1568 le16_to_cpu(tw->event_type)); in sof_widget_ready() [all …]
|
| /linux-6.15/drivers/net/ethernet/samsung/sxgbe/ |
| H A D | sxgbe_core.c | 225 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.15/Documentation/devicetree/bindings/net/ |
| H A D | qca,ar803x.yaml | 51 qca,smarteee-tw-us-100m: 57 qca,smarteee-tw-us-1g:
|