Home
last modified time | relevance | path

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

/linux-6.6.21/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.c348 struct sock *sk = from_timer(sk, t, sk_timer); in rose_destroy_timer()
383 timer_setup(&sk->sk_timer, rose_destroy_timer, 0); in rose_destroy_socket()
384 sk->sk_timer.expires = jiffies + 10 * HZ; in rose_destroy_socket()
385 add_timer(&sk->sk_timer); in rose_destroy_socket()
/linux-6.6.21/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.c362 struct sock *sk = from_timer(sk, t, sk_timer); in x25_destroy_timer()
400 sk->sk_timer.expires = jiffies + 10 * HZ; in __x25_destroy_socket()
401 sk->sk_timer.function = x25_destroy_timer; in __x25_destroy_socket()
402 add_timer(&sk->sk_timer); in __x25_destroy_socket()
/linux-6.6.21/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()
/linux-6.6.21/tools/testing/selftests/bpf/progs/
Dbpf_iter_tcp4.c106 } else if (timer_pending(&sp->sk_timer)) { in dump_tcp_sock()
108 timer_expires = sp->sk_timer.expires; in dump_tcp_sock()
Dbpf_iter_tcp6.c106 } else if (timer_pending(&sp->sk_timer)) { in dump_tcp6_sock()
108 timer_expires = sp->sk_timer.expires; in dump_tcp6_sock()
/linux-6.6.21/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()
/linux-6.6.21/net/dccp/
Dtimer.c163 struct sock *sk = from_timer(sk, t, sk_timer); in dccp_keepalive_timer()
/linux-6.6.21/net/ipv4/
Dinet_connection_sock.c760 timer_setup(&sk->sk_timer, keepalive_handler, 0); in inet_csk_init_xmit_timers()
773 sk_stop_timer(sk, &sk->sk_timer); in inet_csk_clear_xmit_timers()
779 sk_stop_timer(sk, &sk->sk_timer); in inet_csk_delete_keepalive_timer()
785 sk_reset_timer(sk, &sk->sk_timer, jiffies + len); in inet_csk_reset_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_timer.c718 struct sock *sk = from_timer(sk, t, sk_timer); in tcp_keepalive_timer()
Dtcp_ipv4.c2677 } else if (timer_pending(&sk->sk_timer)) { in get_tcp4_sock()
2679 timer_expires = sk->sk_timer.expires; in get_tcp4_sock()
/linux-6.6.21/net/tipc/
Dsocket.c518 timer_setup(&sk->sk_timer, tipc_sk_timeout, 0); in tipc_sk_create()
648 sk_stop_timer(sk, &sk->sk_timer); in tipc_release()
1676 sk_reset_timer(sk, &sk->sk_timer, jiffies + CONN_PROBING_INTV); in tipc_sk_finish_conn()
2243 sk_reset_timer(sk, &sk->sk_timer, jiffies + delay); in tipc_sk_filter_connect()
2852 sk_reset_timer(sk, &sk->sk_timer, jiffies + CONN_PROBING_INTV); in tipc_sk_check_probing_state()
2861 sk_reset_timer(sk, &sk->sk_timer, in tipc_sk_retry_connect()
2871 struct sock *sk = from_timer(sk, t, sk_timer); in tipc_sk_timeout()
2882 sk_reset_timer(sk, &sk->sk_timer, jiffies + HZ / 20); in tipc_sk_timeout()
/linux-6.6.21/net/mptcp/
Dprotocol.c2273 struct sock *sk = from_timer(sk, t, sk_timer); in mptcp_tout_timer()
2680 sk_reset_timer(sk, &sk->sk_timer, timeout); in mptcp_reset_tout_timer()
2781 timer_setup(&sk->sk_timer, mptcp_tout_timer, 0); in __mptcp_init_sock()
2975 sk_stop_timer(sk, &sk->sk_timer); in __mptcp_destroy_sock()
Dprotocol.h727 sk_stop_timer(sk, &sk->sk_timer); in mptcp_stop_tout_timer()
/linux-6.6.21/net/ipv6/
Dtcp_ipv6.c2018 } else if (timer_pending(&sp->sk_timer)) { in get_tcp6_sock()
2020 timer_expires = sp->sk_timer.expires; in get_tcp6_sock()
/linux-6.6.21/include/net/
Dsock.h463 struct timer_list sk_timer; member
/linux-6.6.21/net/core/
Dsock.c3423 timer_setup(&sk->sk_timer, NULL, 0); in sock_init_data_uid()