Searched refs:jiffies (Results 226 - 250 of 1452) sorted by relevance

1234567891011>>

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/kernel/
H A Dtime.c250 * Convert jiffies to milliseconds and back.
296 * jiffies resolution. Exploit that.
505 * When we convert to jiffies then we interpret incoming values
513 * - all other values are converted to jiffies by either multiplying
602 jiffies_to_timespec(const unsigned long jiffies, struct timespec *value) argument
605 * Convert jiffies to nanoseconds and separate with
608 u64 nsec = (u64)jiffies * TICK_NSEC;
641 void jiffies_to_timeval(const unsigned long jiffies, struct timeval *value) argument
644 * Convert jiffies to nanoseconds and separate with
647 u64 nsec = (u64)jiffies * TICK_NSE
746 EXPORT_SYMBOL(jiffies); variable
[all...]
H A Dtimer.c32 #include <linux/jiffies.h>
117 * __round_jiffies - function to round jiffies to a full second
118 * @j: the time in (absolute) jiffies that should be rounded
121 * __round_jiffies() rounds an absolute time in the future (in jiffies)
144 * 3 jiffies. This 3 jiffies came originally from the mm/ code which
167 if (j <= jiffies) /* rounding ate our timeout entirely; */
174 * __round_jiffies_relative - function to round jiffies to a full second
175 * @j: the time in (relative) jiffies that should be rounded
178 * __round_jiffies_relative() rounds a time delta in the future (in jiffies)
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/mac80211/
H A Drc80211_simple.c156 sta->antenna_sel_tx, sta->antenna_sel_rx, jiffies);
172 if (time_after(jiffies,
176 srctrl->last_rate_change = jiffies;
197 if (srctrl->avg_rate_update + 60 * HZ < jiffies) {
198 srctrl->avg_rate_update = jiffies;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/sunrpc/
H A Dauth.c113 new->nextgc = jiffies + (expire >> 1);
163 if (time_after(jiffies, cred->cr_expire + auth->au_credcache->expire))
189 cache->nextgc = jiffies + cache->expire;
210 if (time_before(cache->nextgc, jiffies))
315 cred->cr_expire = jiffies;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/usb/host/
H A Dehci-hub.c45 if (time_before (jiffies, ehci->next_statechange))
104 ehci->next_statechange = jiffies + msecs_to_jiffies(10);
117 if (time_before (jiffies, ehci->next_statechange))
155 ehci->reset_done [i] = jiffies + msecs_to_jiffies (20);
184 ehci->next_statechange = jiffies + msecs_to_jiffies(5);
392 && time_after_eq(jiffies,
580 ehci->reset_done [wIndex] = jiffies
639 ehci->reset_done[wIndex] = jiffies
647 else if (time_after_eq(jiffies,
671 && time_after_eq(jiffies,
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/s390/char/
H A Dsclp.c17 #include <linux/jiffies.h>
139 sclp_request_timer.expires = jiffies + time;
391 /* Convert interval in jiffies to TOD ticks. */
393 sclp_tod_from_jiffies(unsigned long jiffies) argument
395 return (u64) (jiffies / HZ) << 32;
415 jiffies);
685 wait = jiffies + SCLP_BUSY_INTERVAL * HZ;
686 while (time_before(jiffies, wait))
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/net/
H A Dne2k-pci.c273 unsigned long reset_start_time = jiffies;
282 if (jiffies - reset_start_time > 2) {
445 unsigned long reset_start_time = jiffies;
448 dev->name, jiffies);
457 if (jiffies - reset_start_time > 2) {
611 dma_start = jiffies;
614 if (jiffies - dma_start > 2) { /* Avoid clock roll-over. */
H A Dcs89x0.c448 int timeout = jiffies;
453 if (jiffies - timeout >= 40)
1024 dev->last_rx = jiffies;
1058 reset_start_time = jiffies;
1059 while( (readreg(dev, PP_SelfST) & INIT_DONE) == 0 && jiffies - reset_start_time < 2)
1069 int timenow = jiffies;
1082 while (jiffies - timenow < HZ)
1096 int timenow = jiffies;
1110 for (timenow = jiffies; jiffies
[all...]
H A Datp.c54 /* Time in jiffies before concluding the transmitter is hung. */
176 long last_rx_time; /* Last Rx, in jiffies, to handle Rx hang. */
438 lp->timer.expires = jiffies + TIMED_CHECKER;
543 dev->trans_start = jiffies;
581 dev->trans_start = jiffies;
668 && time_after(jiffies, dev->last_rx + HZ)) {
671 "%ld jiffies status %02x CMR1 %02x.\n", dev->name,
672 num_tx_since_rx, jiffies - dev->last_rx, status,
712 int tickssofar = jiffies - lp->last_rx_time;
719 lp->last_rx_time = jiffies;
[all...]
H A D3c523.c108 #include <linux/jiffies.h>
660 s = jiffies; /* warning: only active with interrupts on !! */
662 if (time_after(jiffies, s + 30*HZ/100))
686 s = jiffies;
688 if (time_after(jiffies, s + 30*HZ/100))
711 s = jiffies;
713 if (time_after(jiffies, s + 30*HZ/100)) {
800 s = jiffies;
802 if (time_after(jiffies, s + 30*HZ/100))
996 dev->last_rx = jiffies;
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/802/
H A Dtr.c23 #include <linux/jiffies.h>
301 entry->last_used=jiffies;
382 entry->last_used=jiffies;
414 entry->last_used=jiffies;
427 unsigned long flags, next_interval = jiffies + sysctl_tr_rif_timeout/2;
439 if (time_before_eq(expires, jiffies)) {
527 - (long) jiffies;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/ipv4/
H A Dip_fragment.c7 #include <linux/jiffies.h>
116 unsigned long now = jiffies;
317 if (!mod_timer(&qp->timer, jiffies + sysctl_ipfrag_time))
423 if (!mod_timer(&qp->timer, jiffies + sysctl_ipfrag_time)) {
717 (jiffies ^ (jiffies >> 6)));
721 ipfrag_secret_timer.expires = jiffies + sysctl_ipfrag_secret_interval;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/ipv6/
H A Dip6_flowlabel.c99 fl->lastuse = jiffies;
121 unsigned long now = jiffies;
173 fl->lastuse = jiffies;
195 fl->lastuse = jiffies;
270 fl->lastuse = jiffies;
326 fl->expires = jiffies;
644 (long)(fl->expires - jiffies)/HZ,
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/core/
H A Dneighbour.c153 tbl->last_flush = jiffies;
245 unsigned long now = jiffies;
414 n->confirmed = jiffies - (n->parms->base_reachable_time << 1);
638 unsigned long expire, now = jiffies;
736 now = jiffies;
755 neigh->updated = jiffies;
761 neigh->updated = jiffies;
770 neigh->updated = jiffies;
777 neigh->updated = jiffies;
791 neigh->updated = jiffies;
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/isdn/i4l/
H A Disdn_net.c325 if (jiffies == last_jiffies)
328 l->cps = (l->transcount * HZ) / (jiffies - last_jiffies);
344 while (time_after(jiffies, l->chargetime + l->chargeint))
346 if (time_after(jiffies, l->chargetime + l->chargeint - 2 * HZ))
355 } else if (time_after(jiffies, l->chargetime + l->chargeint)) {
374 last_jiffies = jiffies;
494 lp->chargetime = jiffies;
531 lp->chargeint = jiffies - lp->chargetime - (2 * HZ);
535 lp->chargetime = jiffies;
588 if(lp->dialstarted == 0 || time_after(jiffies, l
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/media/dvb/frontends/
H A Ds5h1420.c29 #include <linux/jiffies.h>
158 timeout = jiffies + ((100*HZ) / 1000);
159 while(time_before(jiffies, timeout)) {
165 if (time_after(jiffies, timeout))
190 timeout = jiffies + ((reply->timeout*HZ) / 1000);
191 while(time_before(jiffies, timeout)) {
197 if (time_after(jiffies, timeout)) {
248 timeout = jiffies + ((100*HZ) / 1000);
249 while(time_before(jiffies, timeout)) {
255 if (time_after(jiffies, timeou
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/message/i2o/
H A Diop.c65 unsigned long timeout = jiffies + wait * HZ;
69 if (time_after(jiffies, timeout)) {
109 entry->timestamp = jiffies;
460 timeout = jiffies + I2O_TIMEOUT_INIT_OUTBOUND_QUEUE * HZ;
462 if (time_after(jiffies, timeout)) {
523 timeout = jiffies + I2O_TIMEOUT_RESET * HZ;
525 if (time_after(jiffies, timeout))
550 if (time_after(jiffies, timeout)) {
949 timeout = jiffies + I2O_TIMEOUT_STATUS_GET * HZ;
951 if (time_after(jiffies, timeou
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/sound/oss/
H A Dpss.c157 limit = jiffies + HZ/10; /* The timeout is 0.1 seconds */
166 for (i = 0; i < 5000000 && time_before(jiffies, limit); i++)
271 unsigned long i, limit = jiffies + HZ/10;
274 for (i = 0; i < 32768 && (limit-jiffies >= 0); i++)
322 limit = jiffies + HZ/10;
323 for (i = 0; i < 32768 && time_before(jiffies, limit); i++)
373 limit = jiffies + HZ/10;
374 for (i = 0; i < 32768 && (limit - jiffies >= 0); i++)
377 limit = jiffies + HZ/10;
378 for (i = 0; i < 32768 && (limit-jiffies >
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/ide/
H A Dide-io.c1052 * @timeout: time to stall for (jiffies)
1055 * to the hwgroup by sleeping for timeout jiffies.
1062 drive->sleep = timeout + jiffies;
1103 if ((!drive->sleeping || time_after_eq(jiffies, drive->sleep))
1115 long t = (signed long)(WAKEUP(best) - jiffies);
1124 && time_before(jiffies - best->service_time, WAKEUP(drive))
1125 && time_before(WAKEUP(drive), jiffies + t))
1206 if (time_before(sleep, jiffies + WAIT_MIN_SLEEP))
1207 sleep = jiffies + WAIT_MIN_SLEEP;
1240 drive->service_start = jiffies;
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/net/cris/
H A Deth_v10.c346 speed_timer.expires = jiffies + NET_LINK_UP_CHECK_INTERVAL;
354 duplex_timer.expires = jiffies + NET_DUPLEX_CHECK_INTERVAL;
619 speed_timer.expires = jiffies + NET_LINK_UP_CHECK_INTERVAL;
698 duplex_timer.expires = jiffies + NET_DUPLEX_CHECK_INTERVAL;
953 dev->trans_start = jiffies;
1086 if (!led_active && time_after(jiffies, led_next_time)) {
1091 led_next_time = jiffies + NET_FLASH_TIME;
1093 mod_timer(&clear_led_timer, jiffies + HZ/10);
1509 if (!led_active && time_after(jiffies, led_next_time)) {
1514 led_next_time = jiffies
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/char/watchdog/
H A Dpcwd.c59 #include <linux/jiffies.h> /* For jiffies stuff */
364 if(time_before(jiffies, pcwd_private.next_heartbeat)) {
380 mod_timer(&pcwd_private.timer, jiffies + WDT_INTERVAL);
392 pcwd_private.next_heartbeat = jiffies + (heartbeat * HZ);
395 mod_timer(&pcwd_private.timer, jiffies + WDT_INTERVAL);
447 pcwd_private.next_heartbeat = jiffies + (heartbeat * HZ);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/i2c/busses/
H A Di2c-ibm_iic.c229 unsigned long x = jiffies + HZ / 28 + 2;
231 if (unlikely(time_after(jiffies, x)))
388 x = jiffies + 2;
390 if (time_after(jiffies, x)){
426 unsigned long x = jiffies + dev->adap.timeout * HZ;
429 if (unlikely(time_after(jiffies, x))){
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/input/gameport/
H A Dgameport.c148 j = jiffies; while (j == jiffies);
149 j = jiffies; while (j == jiffies) { t++; gameport_read(gameport); }
164 mod_timer(&gameport->poll_timer, jiffies + msecs_to_jiffies(gameport->poll_interval));
186 mod_timer(&gameport->poll_timer, jiffies + msecs_to_jiffies(gameport->poll_interval));
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/media/video/
H A Dc-qcam.c95 unsigned long oldjiffies = jiffies;
98 for (oldjiffies = jiffies; (jiffies - oldjiffies) < (HZ/25); )
120 unsigned long oldjiffies = jiffies;
123 for (oldjiffies = jiffies; (jiffies - oldjiffies) < (HZ/25); )
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/char/drm/
H A Dvia_dmablit.c355 } else if (blitq->is_active && time_after_eq(jiffies, blitq->end)) {
363 blitq->end = jiffies + DRM_HZ;
372 blitq->end = jiffies + DRM_HZ;
374 mod_timer(&blitq->poll_timer, jiffies + 1);
467 DRM_DEBUG("Polling timer called for engine %d, jiffies %lu\n", engine,
468 (unsigned long) jiffies);
473 mod_timer(&blitq->poll_timer, jiffies + 1);

Completed in 309 milliseconds

1234567891011>>