/net/netfilter/ |
H A D | xt_LED.c | 66 if ((ledinfo->delay > 0) && ledinfo->always_blink && 73 /* If there's a positive delay, start/update the timer */ 74 if (ledinfo->delay > 0) { 76 jiffies + msecs_to_jiffies(ledinfo->delay)); 78 /* Otherwise if there was no delay given, blink as fast as possible */ 79 } else if (ledinfo->delay == 0) { 83 /* else the delay is negative, which means switch on and stay on */ 145 if (ledinfo->delay > 0) 184 if (ledinfo->delay > 0)
|
H A D | nf_conntrack_ecache.c | 84 int cpu, delay = -1; local 98 delay = ECACHE_RETRY_WAIT; 101 delay = 0; 111 ctnet->ecache_dwork_pending = delay > 0; 112 if (delay >= 0) 113 schedule_delayed_work(&ctnet->ecache_dwork, delay);
|
/net/core/ |
H A D | link_watch.c | 117 unsigned long delay = linkwatch_nextevent - jiffies; local 122 /* Minimise down-time: drop delay for up event. */ 126 delay = 0; 129 /* If we wrap around we'll delay it by at most HZ. */ 130 if (delay > HZ) 131 delay = 0; 140 schedule_delayed_work(&linkwatch_work, delay); 183 /* Limit wrap-around effect on delay. */
|
H A D | net-traces.c | 17 #include <linux/delay.h>
|
H A D | pktgen.c | 19 * device, delay (to hard_xmit), number of packets, and whether 140 #include <linux/delay.h> 262 u64 delay; /* nano-seconds */ member in struct:pktgen_dev 541 " frags: %d delay: %llu clone_skb: %d ifname: %s\n", 542 pkt_dev->nfrags, (unsigned long long) pkt_dev->delay, 982 if (!strcmp(name, "delay")) { 989 pkt_dev->delay = ULLONG_MAX; 991 pkt_dev->delay = (u64)value; 993 sprintf(pg_result, "OK: delay=%llu", 994 (unsigned long long) pkt_dev->delay); [all...] |
H A D | drop_monitor.c | 18 #include <linux/delay.h> 127 * This is the timer function to delay the sending of an alert
|
/net/ipv4/ |
H A D | tcp_cubic.c | 40 /* Number of delay samples for detecting the increase of delay */ 76 " 1: packet-train 2: delay 3: both packet-train and delay"); 92 u32 delay_min; /* min delay (msec << 3) */ 361 static void hystart_update(struct sock *sk, u32 delay) argument 376 /* obtain the minimum delay of more than sampling packets */ 378 if (ca->curr_rtt == 0 || ca->curr_rtt > delay) 379 ca->curr_rtt = delay; 404 u32 delay; local [all...] |
/net/batman-adv/ |
H A D | send.h | 30 unsigned long delay);
|
H A D | send.c | 427 unsigned long delay) 469 _batadv_add_bcast_packet_to_list(bat_priv, forw_packet, delay); 425 batadv_add_bcast_packet_to_list(struct batadv_priv *bat_priv, const struct sk_buff *skb, unsigned long delay) argument
|
/net/sched/ |
H A D | sch_cbq.c | 50 incomplete, delay may actually be estimated even if class 412 psched_tdiff_t delay = cl->undertime - q->now; local 415 delay += cl->offtime; 425 delay -= (-cl->avgidle) - ((-cl->avgidle) >> cl->ewma_log); 428 if (delay <= 0) 429 delay = 1; 430 cl->undertime = q->now + delay; 435 if (q->wd_expires == 0 || q->wd_expires > delay) 436 q->wd_expires = delay; 447 delay 485 psched_tdiff_t delay = cl->undertime - q->now; local 593 psched_tdiff_t delay = 0; local [all...] |
H A D | sch_netem.c | 43 This started out as a simple way to delay outgoing packets to 45 of a full blown network emulator like NISTnet. It can delay 442 /* If a delay is expected, orphan the skb. (orphaning usually takes 443 * place at TX completion time, so _before_ the link transit delay) 488 psched_tdiff_t delay; local 490 delay = tabledist(q->latency, q->jitter, 506 * from delay. 508 delay -= netem_skb_cb(last)->time_to_send - now; 509 delay = max_t(psched_tdiff_t, 0, delay); [all...] |
/net/rfkill/ |
H A D | input.c | 145 const unsigned long delay = msecs_to_jiffies(RFKILL_OPS_DELAY); local 146 return time_after(jiffies, last + delay) ? 0 : delay; 338 /* Avoid delay at first schedule */
|
/net/dccp/ |
H A D | output.c | 216 * @delay: timeout in jiffies 218 * This is used by CCIDs which need to delay the send time in process context. 220 static int dccp_wait_for_ccid(struct sock *sk, unsigned long delay) argument 229 remaining = schedule_timeout(delay); 311 long delay, rc; local 326 delay = msecs_to_jiffies(rc); 327 if (delay > *time_budget) 329 rc = dccp_wait_for_ccid(sk, delay); 332 *time_budget -= (delay - rc);
|
/net/netfilter/ipvs/ |
H A D | Kconfig | 218 tristate "shortest expected delay scheduling" 220 The shortest expected delay scheduling algorithm assigns network 221 connections to the server with the shortest expected delay. The 222 expected delay that the job will experience is (Ci + 1) / Ui if 237 that minimize its expected delay (The Shortest Expected Delay
|
/net/nfc/nci/ |
H A D | spi.c | 130 * @delay: delay between transactions in us 134 u8 acknowledge_mode, unsigned int delay, 144 nspi->xfer_udelay = delay; 133 nci_spi_allocate_spi(struct spi_device *spi, u8 acknowledge_mode, unsigned int delay, struct nci_dev *ndev) argument
|
/net/dccp/ccids/ |
H A D | ccid3.c | 278 * returns a millisecond-delay value between 0 and t_mbi = 64000 msec. 285 s64 delay; local 332 delay = ktime_us_delta(hc->tx_t_nom, now); 333 ccid3_pr_debug("delay=%ld\n", (long)delay); 342 if (delay >= TFRC_T_DELTA) 343 return (u32)delay / USEC_PER_MSEC;
|
/net/irda/ |
H A D | timer.c | 27 #include <linux/delay.h>
|
/net/ipv6/ |
H A D | mcast.c | 1013 static void mld_ifc_start_timer(struct inet6_dev *idev, unsigned long delay) argument 1015 unsigned long tv = prandom_u32() % delay; 1028 static void mld_dad_start_timer(struct inet6_dev *idev, unsigned long delay) argument 1030 unsigned long tv = prandom_u32() % delay; 1048 unsigned long delay = resptime; local 1057 delay = ma->mca_timer.expires - jiffies; 1060 if (delay >= resptime) 1061 delay = prandom_u32() % resptime; 1063 ma->mca_timer.expires = jiffies + delay; 1064 if (!mod_timer(&ma->mca_timer, jiffies + delay)) 2363 unsigned long delay; local [all...] |
/net/802/ |
H A D | garp.c | 398 unsigned long delay; local 400 delay = (u64)msecs_to_jiffies(garp_join_time) * prandom_u32() >> 32; 401 mod_timer(&app->join_timer, jiffies + delay);
|
H A D | mrp.c | 584 unsigned long delay; local 586 delay = (u64)msecs_to_jiffies(mrp_join_time) * prandom_u32() >> 32; 587 mod_timer(&app->join_timer, jiffies + delay);
|
/net/decnet/ |
H A D | dn_route.c | 394 void dn_rt_cache_flush(int delay) argument 399 if (delay < 0) 400 delay = dn_rt_min_delay; 404 if (del_timer(&dn_rt_flush_timer) && delay > 0 && dn_rt_deadline) { 410 if (delay > tmo) 411 delay = tmo; 414 if (delay <= 0) { 423 dn_rt_flush_timer.expires = now + delay;
|
/net/rds/ |
H A D | iw.c | 39 #include <linux/delay.h>
|
H A D | ib.c | 39 #include <linux/delay.h>
|
/net/ceph/ |
H A D | mon_client.c | 173 unsigned int delay; local 176 delay = 10 * HZ; 178 delay = 20 * HZ; 179 dout("__schedule_delayed after %u\n", delay); 180 schedule_delayed_work(&monc->delayed_work, delay);
|
/net/sunrpc/ |
H A D | cache.c | 466 int delay = 5; local 468 delay = round_jiffies_relative(30*HZ); 471 delay = 0; 473 if (delay) 474 schedule_delayed_work(&cache_cleaner, delay);
|