Home
last modified time | relevance | path

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

/linux-6.1.9/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.c322 struct sock *sk = from_timer(sk, t, sk_timer); in rose_destroy_timer()
357 timer_setup(&sk->sk_timer, rose_destroy_timer, 0); in rose_destroy_socket()
358 sk->sk_timer.expires = jiffies + 10 * HZ; in rose_destroy_socket()
359 add_timer(&sk->sk_timer); in rose_destroy_socket()
/linux-6.1.9/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.1.9/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.1.9/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.1.9/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.1.9/net/dccp/
Dtimer.c163 struct sock *sk = from_timer(sk, t, sk_timer); in dccp_keepalive_timer()
/linux-6.1.9/net/ipv4/
Dinet_connection_sock.c732 timer_setup(&sk->sk_timer, keepalive_handler, 0); in inet_csk_init_xmit_timers()
745 sk_stop_timer(sk, &sk->sk_timer); in inet_csk_clear_xmit_timers()
751 sk_stop_timer(sk, &sk->sk_timer); in inet_csk_delete_keepalive_timer()
757 sk_reset_timer(sk, &sk->sk_timer, jiffies + len); in inet_csk_reset_keepalive_timer()
Dtcp_timer.c670 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.c2615 } else if (timer_pending(&sk->sk_timer)) { in get_tcp4_sock()
2617 timer_expires = sk->sk_timer.expires; in get_tcp4_sock()
/linux-6.1.9/net/tipc/
Dsocket.c517 timer_setup(&sk->sk_timer, tipc_sk_timeout, 0); in tipc_sk_create()
647 sk_stop_timer(sk, &sk->sk_timer); in tipc_release()
1675 sk_reset_timer(sk, &sk->sk_timer, jiffies + CONN_PROBING_INTV); in tipc_sk_finish_conn()
2240 sk_reset_timer(sk, &sk->sk_timer, jiffies + delay); in tipc_sk_filter_connect()
2847 sk_reset_timer(sk, &sk->sk_timer, jiffies + CONN_PROBING_INTV); in tipc_sk_check_probing_state()
2856 sk_reset_timer(sk, &sk->sk_timer, in tipc_sk_retry_connect()
2866 struct sock *sk = from_timer(sk, t, sk_timer); in tipc_sk_timeout()
2877 sk_reset_timer(sk, &sk->sk_timer, jiffies + HZ / 20); in tipc_sk_timeout()
/linux-6.1.9/net/mptcp/
Dprotocol.c2217 struct sock *sk = from_timer(sk, t, sk_timer); in mptcp_timeout_timer()
2586 sk_reset_timer(sk, &sk->sk_timer, timeout); in mptcp_reset_timeout()
2696 timer_setup(&sk->sk_timer, mptcp_timeout_timer, 0); in __mptcp_init_sock()
2880 sk_stop_timer(sk, &sk->sk_timer); in __mptcp_destroy_sock()
3018 sk_stop_timer(sk, &sk->sk_timer); in mptcp_disconnect()
/linux-6.1.9/net/ipv6/
Dtcp_ipv6.c2023 } else if (timer_pending(&sp->sk_timer)) { in get_tcp6_sock()
2025 timer_expires = sp->sk_timer.expires; in get_tcp6_sock()
/linux-6.1.9/include/net/
Dsock.h458 struct timer_list sk_timer; member
/linux-6.1.9/net/core/
Dsock.c3365 timer_setup(&sk->sk_timer, NULL, 0); in sock_init_data()