/linux/net/ipv4/ |
H A D | inet_timewait_sock.c | 22 * @tw: timewait socket 29 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 __sk_del_bind_node((struct sock *)tw); in inet_twsk_bind_unhash() 39 tw->tw_tb = NULL; in inet_twsk_bind_unhash() 40 tw->tw_tb2 = NULL; in inet_twsk_bind_unhash() 44 __sock_put((struct sock *)tw); in inet_twsk_bind_unhash() 48 static void inet_twsk_kill(struct inet_timewait_sock *tw) in inet_twsk_kill() argument 50 struct inet_hashinfo *hashinfo = tw in inet_twsk_kill() 74 inet_twsk_free(struct inet_timewait_sock * tw) inet_twsk_free() argument 82 inet_twsk_put(struct inet_timewait_sock * tw) inet_twsk_put() argument 89 inet_twsk_add_node_rcu(struct inet_timewait_sock * tw,struct hlist_nulls_head * list) inet_twsk_add_node_rcu() argument 95 inet_twsk_schedule(struct inet_timewait_sock * tw,int timeo) inet_twsk_schedule() argument 107 inet_twsk_hashdance_schedule(struct inet_timewait_sock * tw,struct sock * sk,struct inet_hashinfo * hashinfo,int timeo) inet_twsk_hashdance_schedule() argument 172 struct inet_timewait_sock *tw = timer_container_of(tw, t, tw_timer); tw_timer_handler() local 181 struct inet_timewait_sock *tw; inet_twsk_alloc() local 234 inet_twsk_deschedule_put(struct inet_timewait_sock * tw) inet_twsk_deschedule_put() argument 269 __inet_twsk_schedule(struct inet_timewait_sock * tw,int timeo,bool rearm) __inet_twsk_schedule() argument [all...] |
H A D | tcp_minisocks.c | 37 tcp_timewait_check_oow_rate_limit(struct inet_timewait_sock *tw, in tcp_timewait_check_oow_rate_limit() argument 40 struct tcp_timewait_sock *tcptw = tcp_twsk((struct sock *)tw); in tcp_timewait_check_oow_rate_limit() 42 if (!tcp_oow_rate_limited(twsk_net(tw), skb, mib_idx, in tcp_timewait_check_oow_rate_limit() 50 /* We are rate-limiting, so just release the tw sock and drop skb. */ in tcp_timewait_check_oow_rate_limit() 51 inet_twsk_put(tw); in tcp_timewait_check_oow_rate_limit() 99 tcp_timewait_state_process(struct inet_timewait_sock *tw, struct sk_buff *skb, in tcp_timewait_state_process() argument 103 struct tcp_timewait_sock *tcptw = tcp_twsk((struct sock *)tw); in tcp_timewait_state_process() 112 tcp_parse_options(twsk_net(tw), skb, &tmp_opt, 0, NULL); in tcp_timewait_state_process() 123 if (READ_ONCE(tw->tw_substate) == TCP_FIN_WAIT2) { in tcp_timewait_state_process() 132 tw, sk in tcp_timewait_state_process() 313 struct inet_timewait_sock *tw; tcp_time_wait() local [all...] |
H A D | tcp_ipv4.c | 121 const struct inet_timewait_sock *tw = inet_twsk(sktw); in tcp_twsk_unique() local 127 if (READ_ONCE(tw->tw_substate) == TCP_FIN_WAIT2) in tcp_twsk_unique() 136 if (tw->tw_bound_dev_if == LOOPBACK_IFINDEX) in tcp_twsk_unique() 139 if (tw->tw_family == AF_INET6) { in tcp_twsk_unique() 140 if (ipv6_addr_loopback(&tw->tw_v6_daddr) || in tcp_twsk_unique() 141 ipv6_addr_v4mapped_loopback(&tw->tw_v6_daddr) || in tcp_twsk_unique() 142 ipv6_addr_loopback(&tw->tw_v6_rcv_saddr) || in tcp_twsk_unique() 143 ipv6_addr_v4mapped_loopback(&tw->tw_v6_rcv_saddr)) in tcp_twsk_unique() 148 if (ipv4_is_loopback(tw->tw_daddr) || in tcp_twsk_unique() 149 ipv4_is_loopback(tw in tcp_twsk_unique() 1043 struct inet_timewait_sock *tw = inet_twsk(sk); global() local 2975 get_timewait4_sock(const struct inet_timewait_sock * tw,struct seq_file * f,int i) global() argument [all...] |
/linux/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 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 [all...] |
H A D | bpf_iter_tcp6.c | 155 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 [all...] |
/linux/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/io_uring/ |
H A D | futex.c | 44 static void __io_futex_complete(struct io_kiocb *req, io_tw_token_t tw) in __io_futex_complete() argument 48 io_req_task_complete(req, tw); in __io_futex_complete() 51 static void io_futex_complete(struct io_kiocb *req, io_tw_token_t tw) in io_futex_complete() argument 55 io_tw_lock(ctx, tw); in io_futex_complete() 57 __io_futex_complete(req, tw); in io_futex_complete() 60 static void io_futexv_complete(struct io_kiocb *req, io_tw_token_t tw) in io_futexv_complete() argument 65 io_tw_lock(req->ctx, tw); in io_futexv_complete() 77 __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 | timeout.c | 71 static void io_timeout_complete(struct io_kiocb *req, io_tw_token_t tw) in io_timeout_complete() argument 88 io_req_task_complete(req, tw); in io_timeout_complete() 160 static void io_req_tw_fail_links(struct io_kiocb *link, io_tw_token_t tw) in io_req_tw_fail_links() argument 162 io_tw_lock(link->ctx, tw); in io_req_tw_fail_links() 171 io_req_task_complete(link, tw); in io_req_tw_fail_links() 320 static void io_req_task_link_timeout(struct io_kiocb *req, io_tw_token_t tw) in io_req_task_link_timeout() argument 338 io_req_task_complete(req, tw); in io_req_task_link_timeout() 342 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); 176 * completing because of that, queue up the tw to do that. in io_waitid_drop_issue_ref() 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() 311 * completing because of that, queue up the tw to do that. in io_waitid()
|
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 | 95 void io_req_task_complete(struct io_kiocb *req, io_tw_token_t tw); 97 void io_req_task_submit(struct io_kiocb *req, io_tw_token_t tw); 107 int io_poll_issue(struct io_kiocb *req, io_tw_token_t tw); 398 static inline void io_tw_lock(struct io_ring_ctx *ctx, io_tw_token_t tw) in io_tw_lock() argument 406 * IO_URING_F_COMPLETE_DEFER or inside a tw handler holding the mutex.
|
H A D | io_uring.c | 138 * No waiters. It's larger than any valid value of the tw counter 511 static void io_req_queue_iowq_tw(struct io_kiocb *req, io_tw_token_t tw) in io_req_queue_iowq_tw() argument 870 * and obviously with ctx->uring_lock held (tw always has that). 1067 static void ctx_flush_and_put(struct io_ring_ctx *ctx, io_tw_token_t tw) in ctx_flush_and_put() argument 1321 io_tw_token_t tw, in __io_run_local_work_loop() argument 1332 req, tw); in __io_run_local_work_loop() 1341 static int __io_run_local_work(struct io_ring_ctx *ctx, io_tw_token_t tw, in __io_run_local_work() argument 1354 ret = __io_run_local_work_loop(&ctx->retry_llist.first, tw, max_events); in __io_run_local_work() 1363 ret += __io_run_local_work_loop(&node, tw, max_events - ret); in __io_run_local_work() 1401 static void io_req_task_cancel(struct io_kiocb *req, io_tw_token_t tw) in io_req_task_cancel() argument 1407 io_req_task_submit(struct io_kiocb * req,io_tw_token_t tw) io_req_task_submit() argument 1642 io_req_task_complete(struct io_kiocb * req,io_tw_token_t tw) io_req_task_complete() argument 1817 io_poll_issue(struct io_kiocb * req,io_tw_token_t tw) io_poll_issue() argument [all...] |
/linux/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()
|
/linux/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
|
H A D | i2c-ali1563.rst | 9 http://www.ali.com.tw/
|
H A D | i2c-ali1535.rst | 9 http://www.ali.com.tw/
|
/linux/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/drivers/net/phy/qcom/ |
H A D | at803x.c | 287 u32 freq, strength, tw; in at803x_parse_dt() local 300 if (!of_property_read_u32(node, "qca,smarteee-tw-us-1g", &tw)) { in at803x_parse_dt() 301 if (!tw || tw > 255) { in at803x_parse_dt() 302 phydev_err(phydev, "invalid qca,smarteee-tw-us-1g\n"); in at803x_parse_dt() 305 priv->smarteee_lpi_tw_1g = tw; in at803x_parse_dt() 308 if (!of_property_read_u32(node, "qca,smarteee-tw-us-100m", &tw)) { in at803x_parse_dt() 309 if (!tw || t in at803x_parse_dt() [all...] |
/linux/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/arch/nios2/boot/compressed/ |
H A D | vmlinux.scr | 2 * Copyright (C) 2009 Thomas Chou <thomas@wytron.com.tw>
|
/linux/arch/arm/boot/dts/nxp/imx/ |
H A D | imx6qdl-sr-som.dtsi | 78 qca,smarteee-tw-us-1g = <24>; 84 qca,smarteee-tw-us-1g = <24>;
|
/linux/Documentation/hwmon/ |
H A D | g760a.rst | 12 http://www.gmt.com.tw/product/datasheet/EDS-760A.pdf
|
/linux/arch/arm/boot/dts/allwinner/ |
H A D | sun8i-h3-mapleboard-mp130.dts | 3 * Copyright (C) 2017 Centrum Embedded Systems, Jia-Bin Huang <jb@ces.com.tw>
|
/linux/arch/arm64/boot/dts/freescale/ |
H A D | fsl-lx2160a-cex7.dtsi | 43 qca,smarteee-tw-us-1g = <24>;
|