Home
last modified time | relevance | path

Searched refs:sk_timer (Results 1 – 20 of 20) sorted by relevance

/kernel/linux/linux-5.10/net/decnet/
Ddn_timer.c41 timer_setup(&sk->sk_timer, dn_slow_timer, 0); in dn_start_slow_timer()
42 sk_reset_timer(sk, &sk->sk_timer, jiffies + SLOW_INTERVAL); in dn_start_slow_timer()
47 sk_stop_timer(sk, &sk->sk_timer); in dn_stop_slow_timer()
52 struct sock *sk = from_timer(sk, t, sk_timer); in dn_slow_timer()
58 sk_reset_timer(sk, &sk->sk_timer, jiffies + HZ / 10); in dn_slow_timer()
100 sk_reset_timer(sk, &sk->sk_timer, jiffies + SLOW_INTERVAL); in dn_slow_timer()
/kernel/linux/linux-5.10/net/rose/
Drose_timer.c34 sk_stop_timer(sk, &sk->sk_timer); in rose_start_heartbeat()
36 sk->sk_timer.function = rose_heartbeat_expiry; in rose_start_heartbeat()
37 sk->sk_timer.expires = jiffies + 5 * HZ; in rose_start_heartbeat()
39 sk_reset_timer(sk, &sk->sk_timer, sk->sk_timer.expires); in rose_start_heartbeat()
106 sk_stop_timer(sk, &sk->sk_timer); in rose_stop_heartbeat()
121 struct sock *sk = from_timer(sk, t, sk_timer); in rose_heartbeat_expiry()
Daf_rose.c321 struct sock *sk = from_timer(sk, t, sk_timer); in rose_destroy_timer()
356 timer_setup(&sk->sk_timer, rose_destroy_timer, 0); in rose_destroy_socket()
357 sk->sk_timer.expires = jiffies + 10 * HZ; in rose_destroy_socket()
358 add_timer(&sk->sk_timer); in rose_destroy_socket()
/kernel/linux/linux-5.10/net/x25/
Dx25_timer.c34 sk->sk_timer.function = x25_heartbeat_expiry; in x25_init_timers()
39 mod_timer(&sk->sk_timer, jiffies + 5 * HZ); in x25_start_heartbeat()
44 del_timer(&sk->sk_timer); in x25_stop_heartbeat()
92 struct sock *sk = from_timer(sk, t, sk_timer); in x25_heartbeat_expiry()
Daf_x25.c372 struct sock *sk = from_timer(sk, t, sk_timer); in x25_destroy_timer()
410 sk->sk_timer.expires = jiffies + 10 * HZ; in __x25_destroy_socket()
411 sk->sk_timer.function = x25_destroy_timer; in __x25_destroy_socket()
412 add_timer(&sk->sk_timer); in __x25_destroy_socket()
/kernel/linux/linux-5.10/net/netrom/
Dnr_timer.c45 sk->sk_timer.function = nr_heartbeat_expiry; in nr_init_timers()
79 sk_reset_timer(sk, &sk->sk_timer, jiffies + 5 * HZ); in nr_start_heartbeat()
104 sk_stop_timer(sk, &sk->sk_timer); in nr_stop_heartbeat()
114 struct sock *sk = from_timer(sk, t, sk_timer); in nr_heartbeat_expiry()
Daf_netrom.c243 struct sock *sk = from_timer(sk, t, sk_timer); in nr_destroy_timer()
284 sk->sk_timer.function = nr_destroy_timer; in nr_destroy_socket()
285 sk->sk_timer.expires = jiffies + 2 * HZ; in nr_destroy_socket()
286 add_timer(&sk->sk_timer); in nr_destroy_socket()
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/progs/
Dbpf_iter_tcp4.c107 } else if (timer_pending(&sp->sk_timer)) { in dump_tcp_sock()
109 timer_expires = sp->sk_timer.expires; in dump_tcp_sock()
Dbpf_iter_tcp6.c107 } else if (timer_pending(&sp->sk_timer)) { in dump_tcp6_sock()
109 timer_expires = sp->sk_timer.expires; in dump_tcp6_sock()
/kernel/linux/linux-5.10/net/ipv4/
Dinet_connection_sock.c567 timer_setup(&sk->sk_timer, keepalive_handler, 0); in inet_csk_init_xmit_timers()
580 sk_stop_timer(sk, &sk->sk_timer); in inet_csk_clear_xmit_timers()
586 sk_stop_timer(sk, &sk->sk_timer); in inet_csk_delete_keepalive_timer()
592 sk_reset_timer(sk, &sk->sk_timer, jiffies + len); in inet_csk_reset_keepalive_timer()
Dtcp_timer.c675 struct sock *sk = from_timer(sk, t, sk_timer); in tcp_keepalive_timer()
Dinet_diag.c313 } else if (timer_pending(&sk->sk_timer)) { in inet_sk_diag_fill()
317 jiffies_delta_to_msecs(sk->sk_timer.expires - jiffies); in inet_sk_diag_fill()
Dtcp_ipv4.c2592 } else if (timer_pending(&sk->sk_timer)) { in get_tcp4_sock()
2594 timer_expires = sk->sk_timer.expires; in get_tcp4_sock()
/kernel/linux/linux-5.10/net/appletalk/
Dddp.c159 struct sock *sk = from_timer(sk, t, sk_timer); in atalk_destroy_timer()
162 sk->sk_timer.expires = jiffies + SOCK_DESTROY_TIME; in atalk_destroy_timer()
163 add_timer(&sk->sk_timer); in atalk_destroy_timer()
174 timer_setup(&sk->sk_timer, atalk_destroy_timer, 0); in atalk_destroy_socket()
175 sk->sk_timer.expires = jiffies + SOCK_DESTROY_TIME; in atalk_destroy_socket()
176 add_timer(&sk->sk_timer); in atalk_destroy_socket()
/kernel/linux/linux-5.10/net/dccp/
Dtimer.c163 struct sock *sk = from_timer(sk, t, sk_timer); in dccp_keepalive_timer()
/kernel/linux/common_modules/newip/third_party/linux-5.10/net/newip/
Dtcp_nip_timer.c342 struct sock *sk = from_timer(sk, t, sk_timer); in tcp_nip_keepalive_timer()
/kernel/linux/linux-5.10/net/tipc/
Dsocket.c504 timer_setup(&sk->sk_timer, tipc_sk_timeout, 0); in tipc_sk_create()
634 sk_stop_timer(sk, &sk->sk_timer); in tipc_release()
1666 sk_reset_timer(sk, &sk->sk_timer, jiffies + CONN_PROBING_INTV); in tipc_sk_finish_conn()
2238 sk_reset_timer(sk, &sk->sk_timer, jiffies + delay); in tipc_sk_filter_connect()
2841 sk_reset_timer(sk, &sk->sk_timer, jiffies + CONN_PROBING_INTV); in tipc_sk_check_probing_state()
2850 sk_reset_timer(sk, &sk->sk_timer, in tipc_sk_retry_connect()
2860 struct sock *sk = from_timer(sk, t, sk_timer); in tipc_sk_timeout()
2871 sk_reset_timer(sk, &sk->sk_timer, jiffies + HZ / 20); in tipc_sk_timeout()
/kernel/linux/linux-5.10/net/ipv6/
Dtcp_ipv6.c2010 } else if (timer_pending(&sp->sk_timer)) { in get_tcp6_sock()
2012 timer_expires = sp->sk_timer.expires; in get_tcp6_sock()
/kernel/linux/linux-5.10/include/net/
Dsock.h452 struct timer_list sk_timer; member
/kernel/linux/linux-5.10/net/core/
Dsock.c2975 timer_setup(&sk->sk_timer, NULL, 0); in sock_init_data_uid()