Lines Matching refs:timer
47 del_timer(&sk->timer); in x25_start_heartbeat()
49 sk->timer.data = (unsigned long)sk; in x25_start_heartbeat()
50 sk->timer.function = &x25_heartbeat_expiry; in x25_start_heartbeat()
51 sk->timer.expires = jiffies + 5 * HZ; in x25_start_heartbeat()
53 add_timer(&sk->timer); in x25_start_heartbeat()
58 del_timer(&sk->timer); in x25_stop_heartbeat()
63 del_timer(&sk->protinfo.x25->timer); in x25_start_t2timer()
65 sk->protinfo.x25->timer.data = (unsigned long)sk; in x25_start_t2timer()
66 sk->protinfo.x25->timer.function = &x25_timer_expiry; in x25_start_t2timer()
67 sk->protinfo.x25->timer.expires = jiffies + sk->protinfo.x25->t2; in x25_start_t2timer()
69 add_timer(&sk->protinfo.x25->timer); in x25_start_t2timer()
74 del_timer(&sk->protinfo.x25->timer); in x25_start_t21timer()
76 sk->protinfo.x25->timer.data = (unsigned long)sk; in x25_start_t21timer()
77 sk->protinfo.x25->timer.function = &x25_timer_expiry; in x25_start_t21timer()
78 sk->protinfo.x25->timer.expires = jiffies + sk->protinfo.x25->t21; in x25_start_t21timer()
80 add_timer(&sk->protinfo.x25->timer); in x25_start_t21timer()
85 del_timer(&sk->protinfo.x25->timer); in x25_start_t22timer()
87 sk->protinfo.x25->timer.data = (unsigned long)sk; in x25_start_t22timer()
88 sk->protinfo.x25->timer.function = &x25_timer_expiry; in x25_start_t22timer()
89 sk->protinfo.x25->timer.expires = jiffies + sk->protinfo.x25->t22; in x25_start_t22timer()
91 add_timer(&sk->protinfo.x25->timer); in x25_start_t22timer()
96 del_timer(&sk->protinfo.x25->timer); in x25_start_t23timer()
98 sk->protinfo.x25->timer.data = (unsigned long)sk; in x25_start_t23timer()
99 sk->protinfo.x25->timer.function = &x25_timer_expiry; in x25_start_t23timer()
100 sk->protinfo.x25->timer.expires = jiffies + sk->protinfo.x25->t23; in x25_start_t23timer()
102 add_timer(&sk->protinfo.x25->timer); in x25_start_t23timer()
107 del_timer(&sk->protinfo.x25->timer); in x25_stop_timer()
112 if (!timer_pending(&sk->protinfo.x25->timer)) in x25_display_timer()
115 return sk->protinfo.x25->timer.expires - jiffies; in x25_display_timer()