/net/bridge/ |
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/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 | xprt.c | 16 * it installs a timer that is run after the packet's timeout has 20 * caller is woken up, and the timer removed. 21 * - When no reply arrives within the timeout interval, the timer is 491 * Note that we only set the timer for the case of RPC_IS_SOFT(), since 545 int timer = task->tk_msg.rpc_proc->p_timer; local 551 task->tk_timeout = rpc_calc_rto(rtt, timer); 552 task->tk_timeout <<= rpc_ntimeo(rtt, timer) + req->rq_retries; 789 unsigned int timer = task->tk_msg.rpc_proc->p_timer; local 792 if (timer) { 794 rpc_update_rtt(rtt, timer, [all...] |
/net/tipc/ |
H A D | subscr.h | 47 * @timer: timer governing subscription duration (optional) 58 struct timer_list timer; member in struct:tipc_subscription
|
H A D | core.h | 48 #include <linux/timer.h> 101 * TIPC timer and signal code 108 * k_init_timer - initialize a timer 109 * @timer: pointer to timer structure 110 * @routine: pointer to routine to invoke when timer expires 111 * @argument: value to pass to routine when timer expires 115 static inline void k_init_timer(struct timer_list *timer, Handler routine, argument 118 setup_timer(timer, routine, argument); 122 * k_start_timer - start a timer 134 k_start_timer(struct timer_list *timer, unsigned long msec) argument 149 k_cancel_timer(struct timer_list *timer) argument 165 k_term_timer(struct timer_list *timer) argument [all...] |
H A D | discover.c | 44 #define TIPC_LINK_REQ_INACTIVE 0xffffffff /* indicates no timer in use */ 54 * @timer: timer governing period between requests 63 struct timer_list timer; member in struct:tipc_link_req 267 k_start_timer(&req->timer, req->timer_intv); 305 * Called whenever a link setup request timer associated with a bearer expires. 320 * Send discovery message, then update discovery timer 336 k_start_timer(&req->timer, req->timer_intv); 369 k_init_timer(&req->timer, (Handler)disc_timeout, (unsigned long)req); 370 k_start_timer(&req->timer, re [all...] |
H A D | port.h | 149 struct timer_list timer; member in struct:tipc_port
|
H A D | link.h | 97 * @timer: link timer 144 struct timer_list timer; member in struct:tipc_link
|
/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;
|
/net/netfilter/ |
H A D | xt_LED.c | 50 struct timer_list timer; member in struct:xt_led_info_internal 64 timer_pending(&ledinternal->timer)) 69 /* If there's a positive delay, start/update the timer */ 71 mod_timer(&ledinternal->timer, 142 /* See if we need to set up a timer */ 144 setup_timer(&ledinternal->timer, led_timeout_callback, 183 del_timer_sync(&ledinternal->timer);
|
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 343 struct idletimer_tg *timer = info->timer; local [all...] |
H A D | nfnetlink_log.c | 60 struct timer_list timer; member in struct:nfulnl_instance 182 setup_timer(&inst->timer, nfulnl_timer, (unsigned long)inst); 373 /* timer holds a reference */ 374 if (del_timer(&inst->timer)) 716 else if (!timer_pending(&inst->timer)) { 718 inst->timer.expires = jiffies + (inst->flushtimeout*HZ/100); 719 add_timer(&inst->timer);
|
H A D | xt_hashlimit.c | 107 struct timer_list timer; /* timer for gc */ member in struct:xt_hashlimit_htable 276 setup_timer(&hinfo->timer, htable_gc, (unsigned long)hinfo); 277 hinfo->timer.expires = jiffies + msecs_to_jiffies(hinfo->cfg.gc_interval); 278 add_timer(&hinfo->timer); 316 /* hash table garbage collector, run by timer */ 323 /* re-add the timer accordingly */ 324 ht->timer.expires = jiffies + msecs_to_jiffies(ht->cfg.gc_interval); 325 add_timer(&ht->timer); 333 del_timer_sync(&hinfo->timer); [all...] |
/net/atm/ |
H A D | lec_arpc.h | 41 struct timer_list timer; /* Arping timer */ member in struct:lec_arp_table
|
/net/core/ |
H A D | gen_estimator.c | 98 struct timer_list timer; member in struct:gen_estimator_head 145 mod_timer(&elist[idx].timer, jiffies + ((HZ/4) << idx)); 197 * as destination. A new timer with the interval specified in the 235 if (!elist[idx].timer.function) { 237 setup_timer(&elist[idx].timer, est_timer, idx); 241 mod_timer(&elist[idx].timer, jiffies + ((HZ/4) << idx));
|
/net/bridge/netfilter/ |
H A D | ebt_ulog.c | 37 #include <linux/timer.h> 62 struct timer_list timer; /* the timer function */ member in struct:__anon17 83 del_timer(&ub->timer); 99 /* timer function to flush queue in flushtimeout time */ 228 else if (!timer_pending(&ub->timer)) { 229 ub->timer.expires = jiffies + flushtimeout * HZ / 100; 230 add_timer(&ub->timer); 313 setup_timer(&ebt->ulog_buffers[i].timer, ulog_timer, 334 del_timer(&ub->timer); [all...] |
/net/ipv4/netfilter/ |
H A D | ipt_ULOG.c | 40 #include <linux/timer.h> 80 struct timer_list timer; /* the timer function */ member in struct:__anon49 101 pr_debug("ulog_send: timer is deleting\n"); 102 del_timer(&ub->timer); 125 /* timer function to flush queue in flushtimeout time */ 132 pr_debug("timer function called, calling ulog_send\n"); 272 /* if timer isn't already running, start it */ 273 if (!timer_pending(&ub->timer)) { 274 ub->timer [all...] |
/net/sctp/ |
H A D | output.c | 246 struct timer_list *timer; local 248 timer = &asoc->timers[SCTP_EVENT_TIMEOUT_SACK]; 250 /* If the SACK timer is running, we have a pending SACK */ 251 if (timer_pending(timer)) { 267 if (del_timer(timer)) 596 struct timer_list *timer; local 599 /* Restart the AUTOCLOSE timer when sending data. */ 601 timer = &asoc->timers[SCTP_EVENT_TIMEOUT_AUTOCLOSE]; 604 if (!mod_timer(timer, jiffies + timeout))
|
H A D | associola.c | 162 * If the 'T5-shutdown-guard' timer is used, it SHOULD be set to the 615 /* Start a T3 timer here in case it wasn't running so 1255 * down on the next retransmission timer. 1440 struct timer_list *timer; local 1486 /* Stop the SACK timer. */ 1487 timer = &asoc->timers[SCTP_EVENT_TIMEOUT_SACK]; 1488 if (del_timer(timer))
|
H A D | outqueue.c | 427 * retransmission (via either T3-rtx timer expiration 438 * M5) If a T3-rtx timer expires, the 486 /* Update the retran path if the T3-rtx timer has expired for 512 /* PR-SCTP A5) Any time the T3-rtx timer expires, on any destination, 547 int timer = 0; local 564 * which the timer expires [see Section 6.4]). Call this value 670 /* Set the timer if there were no errors */ 671 if (!error && !timer) 672 timer = 1; 690 *start_timer = timer; [all...] |
H A D | sm_sideeffect.c | 221 /* Restart the SACK timer. */ 235 /* Stop the SACK timer. */ 246 /* When the T3-RTX timer expires, it calls this function to create the 269 * the timer to let go of the reference? 300 SCTP_DEBUG_PRINTK("%s:Sock is busy: timer %d\n", 311 * the timer to let go of the reference? 407 /* Handle the timeout of the ICMP protocol unreachable timer. Trigger 470 * Each time the T3-rtx timer expires on any address, or when a 487 /* We are here due to a timer expiration. If the timer wa 1004 sctp_cmd_t1_timer_update(struct sctp_association *asoc, sctp_event_timeout_t timer, char *name) argument 1249 struct timer_list *timer; local [all...] |
/net/mac80211/ |
H A D | mesh.h | 36 * MESH_PATH_RESOLVED is used by the mesh path timer to 77 * @timer: mesh path discovery timer 108 struct timer_list timer; member in struct:mesh_path
|
/net/bluetooth/hidp/ |
H A D | hidp.h | 161 struct timer_list timer; member in struct:hidp_session
|
/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...] |
/net/ieee802154/ |
H A D | 6lowpan.c | 120 struct timer_list timer; /* assembling timer */ member in struct:lowpan_fragment 669 pr_debug("timer expired for frame with tag %d\n", entry->tag); 705 init_timer(&frame->timer); 707 frame->timer.expires = jiffies + LOWPAN_FRAG_TIMEOUT; 708 frame->timer.data = (unsigned long)frame; 709 frame->timer.function = lowpan_fragment_timer_expired; 711 add_timer(&frame->timer); 802 frame->timer.expires > jiffies) { 803 /* if timer have [all...] |