/net/netfilter/ |
H A D | xt_IDLETIMER.c | 4 * Netfilter module to trigger a timer when packet matches. 5 * After timer expires a kevent will be sent. 34 #include <linux/timer.h> 61 struct timer_list timer; member in struct:idletimer_tg 86 static bool check_for_delayed_trigger(struct idletimer_tg *timer, argument 92 timer->work_pending = false; 93 if ((ts->tv_sec - timer->last_modified_timer.tv_sec) > timer->timeout || 94 timer->delayed_timer_trigger.tv_sec != 0) { 96 temp.tv_sec = timer 117 notify_netlink_uevent(const char *iface, struct idletimer_tg *timer) argument 189 struct idletimer_tg *timer; local 214 struct idletimer_tg *timer = container_of(work, struct idletimer_tg, local 225 struct idletimer_tg *timer = (struct idletimer_tg *) data; local 240 struct idletimer_tg *timer = container_of(notifier, local 344 struct idletimer_tg *timer = info->timer; local [all...] |
H A D | xt_LED.c | 50 struct timer_list timer; member in struct:xt_led_info_internal 67 timer_pending(&ledinternal->timer)) 73 /* If there's a positive delay, start/update the timer */ 75 mod_timer(&ledinternal->timer, 144 /* See if we need to set up a timer */ 146 setup_timer(&ledinternal->timer, led_timeout_callback, 185 del_timer_sync(&ledinternal->timer);
|
/net/sunrpc/ |
H A D | timer.c | 2 * linux/net/sunrpc/timer.c 54 * @timer: timer array index (request type) 60 void rpc_update_rtt(struct rpc_rtt *rt, unsigned int timer, long m) argument 64 if (timer-- == 0) 74 srtt = (long *)&rt->srtt[timer]; 81 sdrtt = (long *)&rt->sdrtt[timer]; 94 * @timer: timer array index (request type) 101 * happen so infrequently that timer estimatio 109 rpc_calc_rto(struct rpc_rtt *rt, unsigned int timer) argument [all...] |
H A D | Makefile | 14 addr.o rpcb_clnt.o timer.o xdr.o \
|
/net/tipc/ |
H A D | core.h | 48 #include <linux/timer.h> 112 * TIPC timer code 117 * k_init_timer - initialize a timer 118 * @timer: pointer to timer structure 119 * @routine: pointer to routine to invoke when timer expires 120 * @argument: value to pass to routine when timer expires 124 static inline void k_init_timer(struct timer_list *timer, Handler routine, argument 127 setup_timer(timer, routine, argument); 131 * k_start_timer - start a timer 143 k_start_timer(struct timer_list *timer, unsigned long msec) argument 158 k_cancel_timer(struct timer_list *timer) argument 174 k_term_timer(struct timer_list *timer) argument [all...] |
H A D | subscr.h | 51 * @timer: timer governing subscription duration (optional) 63 struct timer_list timer; member in struct:tipc_subscription
|
H A D | discover.c | 44 #define TIPC_LINK_REQ_INACTIVE 0xffffffff /* indicates no timer in use */ 55 * @timer: timer governing period between requests 65 struct timer_list timer; member in struct:tipc_link_req 268 k_start_timer(&req->timer, req->timer_intv); 300 * Called whenever a link setup request timer associated with a bearer expires. 315 * Send discovery message, then update discovery timer 332 k_start_timer(&req->timer, req->timer_intv); 366 k_init_timer(&req->timer, (Handler)disc_timeout, (unsigned long)req); 367 k_start_timer(&req->timer, re [all...] |
H A D | subscr.c | 170 k_term_timer(&sub->timer); 210 k_cancel_timer(&sub->timer); 211 k_term_timer(&sub->timer); 249 /* Cancel subscription timer (if used), then delete subscription */ 253 k_cancel_timer(&sub->timer); 254 k_term_timer(&sub->timer); 315 k_init_timer(&sub->timer, 317 k_start_timer(&sub->timer, sub->timeout);
|
/net/rose/ |
H A D | rose_timer.c | 16 #include <linux/timer.h> 50 del_timer(&rose->timer); 52 rose->timer.data = (unsigned long)sk; 53 rose->timer.function = &rose_timer_expiry; 54 rose->timer.expires = jiffies + rose->t1; 56 add_timer(&rose->timer); 63 del_timer(&rose->timer); 65 rose->timer.data = (unsigned long)sk; 66 rose->timer.function = &rose_timer_expiry; 67 rose->timer [all...] |
/net/x25/ |
H A D | x25_timer.c | 18 * X.25 002 Jonathan Naylor New timer architecture. 24 #include <linux/timer.h> 36 setup_timer(&x25->timer, x25_timer_expiry, (unsigned long)sk); 57 mod_timer(&x25->timer, jiffies + x25->t2); 64 mod_timer(&x25->timer, jiffies + x25->t21); 71 mod_timer(&x25->timer, jiffies + x25->t22); 78 mod_timer(&x25->timer, jiffies + x25->t23); 83 del_timer(&x25_sk(sk)->timer); 90 if (!timer_pending(&x25->timer)) 93 return x25->timer [all...] |
/net/ax25/ |
H A D | ax25_timer.c | 22 #include <linux/timer.h> 44 setup_timer(&ax25->timer, ax25_heartbeat_expiry, (unsigned long)ax25); 54 mod_timer(&ax25->timer, jiffies + 5 * HZ); 85 del_timer(&ax25->timer); 113 unsigned long ax25_display_timer(struct timer_list *timer) argument 115 if (!timer_pending(timer)) 118 return timer->expires - jiffies;
|
H A D | ax25_std_subr.c | 14 #include <linux/timer.h>
|
/net/bridge/ |
H A D | br_multicast.c | 26 #include <linux/timer.h> 232 if (!netif_running(br->dev) || timer_pending(&mp->timer)) 273 del_timer(&p->timer); 278 mod_timer(&mp->timer, jiffies); 292 if (!netif_running(br->dev) || timer_pending(&pg->timer) || 624 setup_timer(&mp->timer, br_multicast_group_expired, 651 setup_timer(&p->timer, br_multicast_port_group_expired, 678 mod_timer(&mp->timer, now + br->multicast_membership_interval); 698 mod_timer(&p->timer, now + br->multicast_membership_interval); 850 if (!other_query || timer_pending(&other_query->timer)) [all...] |
H A D | br_stp_timer.c | 2 * Spanning tree protocol; timer-related code 38 br_debug(br, "hello timer expired\n"); 63 * According to the spec, the message age timer cannot be 86 br_debug(br, "port %u(%s) forward delay timer\n", 108 br_debug(br, "tcn timer expired\n"); 122 br_debug(br, "topo change timer expired\n"); 133 br_debug(p->br, "port %u(%s) hold timer expired\n", 170 unsigned long br_timer_value(const struct timer_list *timer) argument 172 return timer_pending(timer) 173 ? jiffies_delta_to_clock_t(timer [all...] |
/net/atm/ |
H A D | lec_arpc.h | 41 struct timer_list timer; /* Arping timer */ member in struct:lec_arp_table
|
/net/irda/ |
H A D | Makefile | 11 irlap.o irlap_event.o irlap_frame.o timer.o qos.o irqueue.o \
|
H A D | irda_device.c | 52 #include <net/irda/timer.h> 168 del_timer(&task->timer); 219 del_timer(&task->timer); 231 /* Stop timer now that we are here */ 232 del_timer(&task->parent->timer); 240 irda_start_timer(&task->timer, timeout, (void *) task, 256 * the timer if the task has not finished yet
|
/net/core/ |
H A D | gen_estimator.c | 100 struct timer_list timer; member in struct:gen_estimator_head 146 mod_timer(&elist[idx].timer, jiffies + ((HZ/4) << idx)); 198 * as destination. A new timer with the interval specified in the 241 if (!elist[idx].timer.function) { 243 setup_timer(&elist[idx].timer, est_timer, idx); 247 mod_timer(&elist[idx].timer, jiffies + ((HZ/4) << idx));
|
/net/dccp/ |
H A D | Makefile | 3 dccp-y := ccid.o feat.o input.o minisocks.o options.o output.o proto.o timer.o \
|
/net/dccp/ccids/ |
H A D | ccid2.h | 21 #include <linux/timer.h>
|
/net/decnet/ |
H A D | dn_timer.c | 12 * Steve Whitehouse : Made keepalive timer part of the same 13 * timer idea. 22 #include <linux/timer.h> 31 * Slow timer is for everything else (n * 500mS) 62 * The persist timer is the standard slow timer used for retransmits 65 * the function pointer in the socket. Setting the timer to a value 67 * timer off in a permant way by returning non-zero, so that 68 * timer based routines may remove sockets. This is why we have a 69 * sock_hold()/sock_put() around the timer t [all...] |
/net/llc/ |
H A D | llc_proc.c | 194 llc->cause_flag, timer_pending(&llc->ack_timer.timer), 195 timer_pending(&llc->pf_cycle_timer.timer), 196 timer_pending(&llc->rej_sent_timer.timer), 197 timer_pending(&llc->busy_state_timer.timer),
|
/net/netrom/ |
H A D | nr_loopback.c | 12 #include <linux/timer.h>
|
/net/ipv4/ |
H A D | inet_fragment.c | 17 #include <linux/timer.h> 141 if (!del_timer(&fq->timer)) { 143 * it won't be freed under us and wait until the timer 148 del_timer_sync(&fq->timer); 294 if (del_timer(&fq->timer)) 320 WARN_ON(del_timer(&q->timer) != 0); 365 if (!mod_timer(&qp->timer, jiffies + nf->timeout)) 395 setup_timer(&q->timer, f->frag_expire, (unsigned long)q);
|
/net/can/ |
H A D | bcm.c | 102 struct hrtimer timer, thrtimer; member in struct:bcm_op 352 hrtimer_start(&op->timer, 356 hrtimer_start(&op->timer, 395 struct bcm_op *op = container_of(hrtimer, struct bcm_op, timer); 451 /* with active throttling timer we are just done here */ 462 /* do not send the saved data - only start throttle timer */ 521 hrtimer_start(&op->timer, op->kt_ival1, HRTIMER_MODE_REL); 546 struct bcm_op *op = container_of(hrtimer, struct bcm_op, timer); 551 /* no restart of the timer is done here! */ 639 hrtimer_cancel(&op->timer); [all...] |