/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...] |
H A D | br_private.h | 62 struct timer_list timer; member in struct:bridge_mcast_own_query 68 struct timer_list timer; member in struct:bridge_mcast_other_query 112 struct timer_list timer; member in struct:net_bridge_port_group 123 struct timer_list timer; member in struct:net_bridge_mdb_entry 508 (br->multicast_querier || timer_pending(&querier->timer)); 814 unsigned long br_timer_value(const struct timer_list *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 | 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 485 * Note that we only set the timer for the case of RPC_IS_SOFT(), since 539 int timer = task->tk_msg.rpc_proc->p_timer; local 545 task->tk_timeout = rpc_calc_rto(rtt, timer); 546 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 | 51 * @timer: timer governing subscription duration (optional) 63 struct timer_list timer; member in struct:tipc_subscription
|
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 | 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 | link.h | 99 * @timer: link timer 145 struct timer_list timer; member in struct:tipc_link
|
H A D | socket.c | 69 * @timer: 92 struct timer_list timer; member in struct:tipc_sock 351 k_init_timer(&tsk->timer, (Handler)tipc_sk_timeout, ref); 495 k_cancel_timer(&tsk->timer); 505 k_term_timer(&tsk->timer); 1156 k_start_timer(&tsk->timer, tsk->probing_interval); 1578 /* let timer expire on it's own */ 2143 k_start_timer(&tsk->timer, tsk->probing_interval);
|
/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 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);
|
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 | nfnetlink_log.c | 59 struct timer_list timer; member in struct:nfulnl_instance 180 setup_timer(&inst->timer, nfulnl_timer, (unsigned long)inst); 373 /* timer holds a reference */ 374 if (del_timer(&inst->timer)) 719 else if (!timer_pending(&inst->timer)) { 721 inst->timer.expires = jiffies + (inst->flushtimeout*HZ/100); 722 add_timer(&inst->timer);
|
/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 | 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));
|
H A D | sock.c | 30 * instead they leave that for the DESTROY timer. 32 * Alan Cox : TCP ack handling is buggy, the DESTROY timer 34 * for memory when we hit 0. Also altered the timer 38 * and fixed timer/inet_bh race. 105 #include <linux/timer.h> 2240 void sk_reset_timer(struct sock *sk, struct timer_list* timer, argument 2243 if (!mod_timer(timer, expires)) 2248 void sk_stop_timer(struct sock *sk, struct timer_list* timer) argument 2250 if (del_timer(timer))
|
/net/sctp/ |
H A D | output.c | 236 struct timer_list *timer; local 238 timer = &asoc->timers[SCTP_EVENT_TIMEOUT_SACK]; 240 /* If the SACK timer is running, we have a pending SACK */ 241 if (timer_pending(timer)) { 257 if (del_timer(timer)) 578 struct timer_list *timer; local 581 /* Restart the AUTOCLOSE timer when sending data. */ 584 timer = &asoc->timers[SCTP_EVENT_TIMEOUT_AUTOCLOSE]; 587 if (!mod_timer(timer, jiffies + timeout))
|
H A D | outqueue.c | 417 * retransmission (via either T3-rtx timer expiration 428 * M5) If a T3-rtx timer expires, the 474 /* Update the retran path if the T3-rtx timer has expired for 500 /* PR-SCTP A5) Any time the T3-rtx timer expires, on any destination, 535 int timer = 0; local 552 * which the timer expires [see Section 6.4]). Call this value 657 /* Set the timer if there were no errors */ 658 if (!error && !timer) 659 timer = 1; 677 *start_timer = timer; [all...] |
H A D | sm_sideeffect.c | 214 /* Restart the SACK timer. */ 228 /* Stop the SACK timer. */ 239 /* When the T3-RTX timer expires, it calls this function to create the 262 * the timer to let go of the reference? 293 pr_debug("%s: sock is busy: timer %d\n", __func__, 303 * the timer to let go of the reference? 399 /* Handle the timeout of the ICMP protocol unreachable timer. Trigger 462 * Each time the T3-rtx timer expires on any address, or when a 479 /* We are here due to a timer expiration. If the timer wa 999 sctp_cmd_t1_timer_update(struct sctp_association *asoc, sctp_event_timeout_t timer, char *name) argument 1232 struct timer_list *timer; local [all...] |
H A D | associola.c | 142 * If the 'T5-shutdown-guard' timer is used, it SHOULD be set to the 559 /* Start a T3 timer here in case it wasn't running so 1141 * down on the next retransmission timer. 1445 struct timer_list *timer; local 1493 /* Stop the SACK timer. */ 1494 timer = &asoc->timers[SCTP_EVENT_TIMEOUT_SACK]; 1495 if (del_timer(timer))
|
/net/mac80211/ |
H A D | mesh.h | 36 * MESH_PATH_RESOLVED is used by the mesh path timer to 79 * @timer: mesh path discovery timer 110 struct timer_list timer; member in struct:mesh_path
|
/net/bluetooth/hidp/ |
H A D | hidp.h | 164 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/sched/ |
H A D | sch_api.c | 576 static enum hrtimer_restart qdisc_watchdog(struct hrtimer *timer) argument 578 struct qdisc_watchdog *wd = container_of(timer, struct qdisc_watchdog, 579 timer); 591 hrtimer_init(&wd->timer, CLOCK_MONOTONIC, HRTIMER_MODE_ABS_PINNED); 592 wd->timer.function = qdisc_watchdog; 606 hrtimer_start(&wd->timer, 614 hrtimer_cancel(&wd->timer);
|
H A D | sch_cbq.c | 165 struct qdisc_watchdog watchdog; /* Watchdog timer, 587 static enum hrtimer_restart cbq_undelay(struct hrtimer *timer) argument 589 struct cbq_sched_data *q = container_of(timer, struct cbq_sched_data, 994 * Sigh... start watchdog timer in the last case.
|