Home
last modified time | relevance | path

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

/Linux-v4.19/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()
/Linux-v4.19/net/rose/
Drose_timer.c37 del_timer(&sk->sk_timer); in rose_start_heartbeat()
39 sk->sk_timer.function = rose_heartbeat_expiry; in rose_start_heartbeat()
40 sk->sk_timer.expires = jiffies + 5 * HZ; in rose_start_heartbeat()
42 add_timer(&sk->sk_timer); in rose_start_heartbeat()
109 del_timer(&sk->sk_timer); in rose_stop_heartbeat()
124 struct sock *sk = from_timer(sk, t, sk_timer); in rose_heartbeat_expiry()
Daf_rose.c323 struct sock *sk = from_timer(sk, t, sk_timer); in rose_destroy_timer()
358 timer_setup(&sk->sk_timer, rose_destroy_timer, 0); in rose_destroy_socket()
359 sk->sk_timer.expires = jiffies + 10 * HZ; in rose_destroy_socket()
360 add_timer(&sk->sk_timer); in rose_destroy_socket()
/Linux-v4.19/net/x25/
Dx25_timer.c39 sk->sk_timer.function = x25_heartbeat_expiry; in x25_init_timers()
44 mod_timer(&sk->sk_timer, jiffies + 5 * HZ); in x25_start_heartbeat()
49 del_timer(&sk->sk_timer); in x25_stop_heartbeat()
97 struct sock *sk = from_timer(sk, t, sk_timer); in x25_heartbeat_expiry()
Daf_x25.c379 struct sock *sk = from_timer(sk, t, sk_timer); in x25_destroy_timer()
417 sk->sk_timer.expires = jiffies + 10 * HZ; in __x25_destroy_socket()
418 sk->sk_timer.function = x25_destroy_timer; in __x25_destroy_socket()
419 add_timer(&sk->sk_timer); in __x25_destroy_socket()
/Linux-v4.19/net/netrom/
Dnr_timer.c48 sk->sk_timer.function = nr_heartbeat_expiry; in nr_init_timers()
82 mod_timer(&sk->sk_timer, jiffies + 5 * HZ); in nr_start_heartbeat()
107 del_timer(&sk->sk_timer); in nr_stop_heartbeat()
117 struct sock *sk = from_timer(sk, t, sk_timer); in nr_heartbeat_expiry()
Daf_netrom.c246 struct sock *sk = from_timer(sk, t, sk_timer); in nr_destroy_timer()
287 sk->sk_timer.function = nr_destroy_timer; in nr_destroy_socket()
288 sk->sk_timer.expires = jiffies + 2 * HZ; in nr_destroy_socket()
289 add_timer(&sk->sk_timer); in nr_destroy_socket()
/Linux-v4.19/net/appletalk/
Dddp.c163 struct sock *sk = from_timer(sk, t, sk_timer); in atalk_destroy_timer()
166 sk->sk_timer.expires = jiffies + SOCK_DESTROY_TIME; in atalk_destroy_timer()
167 add_timer(&sk->sk_timer); in atalk_destroy_timer()
178 timer_setup(&sk->sk_timer, atalk_destroy_timer, 0); in atalk_destroy_socket()
179 sk->sk_timer.expires = jiffies + SOCK_DESTROY_TIME; in atalk_destroy_socket()
180 add_timer(&sk->sk_timer); in atalk_destroy_socket()
/Linux-v4.19/net/bluetooth/
Dsco.c78 struct sock *sk = from_timer(sk, t, sk_timer); in sco_sock_timeout()
94 sk_reset_timer(sk, &sk->sk_timer, jiffies + timeout); in sco_sock_set_timer()
100 sk_stop_timer(sk, &sk->sk_timer); in sco_sock_clear_timer()
491 timer_setup(&sk->sk_timer, sco_sock_timeout, 0); in sco_sock_alloc()
/Linux-v4.19/net/ipv4/
Dinet_connection_sock.c509 timer_setup(&sk->sk_timer, keepalive_handler, 0); in inet_csk_init_xmit_timers()
522 sk_stop_timer(sk, &sk->sk_timer); in inet_csk_clear_xmit_timers()
528 sk_stop_timer(sk, &sk->sk_timer); in inet_csk_delete_keepalive_timer()
534 sk_reset_timer(sk, &sk->sk_timer, jiffies + len); in inet_csk_reset_keepalive_timer()
Dinet_diag.c238 } else if (timer_pending(&sk->sk_timer)) { in inet_sk_diag_fill()
242 jiffies_to_msecs(sk->sk_timer.expires - jiffies); in inet_sk_diag_fill()
Dtcp_timer.c651 struct sock *sk = from_timer(sk, t, sk_timer); in tcp_keepalive_timer()
Dtcp_ipv4.c2323 } else if (timer_pending(&sk->sk_timer)) { in get_tcp4_sock()
2325 timer_expires = sk->sk_timer.expires; in get_tcp4_sock()
/Linux-v4.19/net/dccp/
Dtimer.c167 struct sock *sk = from_timer(sk, t, sk_timer); in dccp_keepalive_timer()
/Linux-v4.19/net/tipc/
Dsocket.c465 timer_setup(&sk->sk_timer, tipc_sk_timeout, 0); in tipc_sk_create()
576 sk_stop_timer(sk, &sk->sk_timer); in tipc_release()
1499 sk_reset_timer(sk, &sk->sk_timer, jiffies + CONN_PROBING_INTV); in tipc_sk_finish_conn()
2562 struct sock *sk = from_timer(sk, t, sk_timer); in tipc_sk_timeout()
2577 sk_reset_timer(sk, &sk->sk_timer, jiffies + HZ / 20); in tipc_sk_timeout()
2592 sk_reset_timer(sk, &sk->sk_timer, jiffies + CONN_PROBING_INTV); in tipc_sk_timeout()
/Linux-v4.19/net/ipv6/
Dtcp_ipv6.c1826 } else if (timer_pending(&sp->sk_timer)) { in get_tcp6_sock()
1828 timer_expires = sp->sk_timer.expires; in get_tcp6_sock()
/Linux-v4.19/include/net/
Dsock.h422 struct timer_list sk_timer; member
/Linux-v4.19/net/core/
Dsock.c2756 timer_setup(&sk->sk_timer, NULL, 0); in sock_init_data()