/linux-4.1.27/include/asm-generic/ |
H A D | cputime.h | 5 #include <linux/jiffies.h>
|
/linux-4.1.27/drivers/clk/mxs/ |
H A D | clk.c | 14 #include <linux/jiffies.h> 22 unsigned long timeout = jiffies + msecs_to_jiffies(10); mxs_clk_wait() 25 if (time_after(jiffies, timeout)) mxs_clk_wait()
|
/linux-4.1.27/drivers/staging/rtl8723au/hal/ |
H A D | rtl8723a_sreset.c | 37 current_time = jiffies; rtl8723a_sreset_xmit_status_check() 41 diff_time = jiffies_to_msecs(jiffies - psrtpriv->last_tx_time); rtl8723a_sreset_xmit_status_check() 47 diff_time = jiffies_to_msecs(jiffies - psrtpriv->last_tx_complete_time); rtl8723a_sreset_xmit_status_check()
|
/linux-4.1.27/drivers/gpu/drm/gma500/ |
H A D | blitter.c | 25 unsigned long stop = jiffies + HZ; gma_blt_wait_idle() 39 } while (busy && !time_after_eq(jiffies, stop)); gma_blt_wait_idle() 47 } while (busy && !time_after_eq(jiffies, stop)); gma_blt_wait_idle()
|
H A D | psb_lid.c | 66 lid_timer->expires = jiffies + PSB_LID_DELAY; psb_lid_timer_func() 84 lid_timer->expires = jiffies + PSB_LID_DELAY; psb_lid_timer_init()
|
H A D | accel_2d.c | 87 unsigned long t = jiffies + HZ; psb_2d_wait_available() 91 if (time_after(jiffies, t)) { psb_2d_wait_available() 329 unsigned long _end = jiffies + HZ; psbfb_sync() 345 } while (busy && !time_after_eq(jiffies, _end)); psbfb_sync() 356 } while (busy && !time_after_eq(jiffies, _end)); psbfb_sync()
|
/linux-4.1.27/arch/mips/jazz/ |
H A D | reset.c | 7 #include <linux/jiffies.h> 39 unsigned long start = jiffies; kb_wait() 45 } while (time_before_eq(jiffies, timeout)); kb_wait()
|
/linux-4.1.27/kernel/time/ |
H A D | jiffies.c | 2 * linux/kernel/time/jiffies.c 4 * This file contains the jiffies based clocksource. 24 #include <linux/jiffies.h> 42 /* Since jiffies uses a simple NSEC_PER_JIFFY multiplier 64 return (cycle_t) jiffies; jiffies_read() 68 .name = "jiffies", 94 EXPORT_SYMBOL(jiffies); variable 118 refined_jiffies.name = "refined-jiffies"; register_refined_jiffies()
|
H A D | Makefile | 2 obj-y += timekeeping.o ntp.o clocksource.o jiffies.o timer_list.o
|
H A D | timer.c | 33 #include <linux/jiffies.h> 140 * 3 jiffies. This 3 jiffies came originally from the mm/ code which round_jiffies_common() 172 * __round_jiffies - function to round jiffies to a full second 173 * @j: the time in (absolute) jiffies that should be rounded 176 * __round_jiffies() rounds an absolute time in the future (in jiffies) 198 * __round_jiffies_relative - function to round jiffies to a full second 199 * @j: the time in (relative) jiffies that should be rounded 202 * __round_jiffies_relative() rounds a time delta in the future (in jiffies) 219 unsigned long j0 = jiffies; __round_jiffies_relative() 221 /* Use j0 because jiffies might change while we run */ __round_jiffies_relative() 227 * round_jiffies - function to round jiffies to a full second 228 * @j: the time in (absolute) jiffies that should be rounded 230 * round_jiffies() rounds an absolute time in the future (in jiffies) 248 * round_jiffies_relative - function to round jiffies to a full second 249 * @j: the time in (relative) jiffies that should be rounded 251 * round_jiffies_relative() rounds a time delta in the future (in jiffies) 269 * __round_jiffies_up - function to round jiffies up to a full second 270 * @j: the time in (absolute) jiffies that should be rounded 285 * __round_jiffies_up_relative - function to round jiffies up to a full second 286 * @j: the time in (relative) jiffies that should be rounded 296 unsigned long j0 = jiffies; __round_jiffies_up_relative() 298 /* Use j0 because jiffies might change while we run */ __round_jiffies_up_relative() 304 * round_jiffies_up - function to round jiffies up to a full second 305 * @j: the time in (absolute) jiffies that should be rounded 319 * round_jiffies_up_relative - function to round jiffies up to a full second 320 * @j: the time in (relative) jiffies that should be rounded 336 * @slack_hz: the amount of time (in jiffies) allowed for rounding 338 * Set the amount of time, in jiffies, that a certain timer has 360 base->timer_jiffies = jiffies; catchup_timer_jiffies() 387 * Can happen if you add a timer with expires == jiffies, __internal_add_timer() 823 * @expires: new timeout in jiffies 855 long delta = expires - jiffies; apply_slack() 878 * @expires: new timeout in jiffies 914 * @expires: new timeout in jiffies 945 * current time is 'jiffies'. 1189 while (time_after_eq(jiffies, base->timer_jiffies)) { __run_timers() 1356 * @now: current time (in jiffies) 1414 if (time_after_eq(jiffies, base->timer_jiffies)) run_timer_softirq() 1447 * @timeout: timeout value in jiffies 1449 * Make the current task sleep until @timeout jiffies have 1455 * %TASK_UNINTERRUPTIBLE - at least @timeout jiffies are guaranteed to 1460 * in jiffies will be returned, or 0 if the timer expired in time 1505 expire = timeout + jiffies; schedule_timeout() 1515 timeout = expire - jiffies; schedule_timeout() 1638 base->timer_jiffies = jiffies; init_timer_cpu()
|
H A D | time.c | 244 * Convert jiffies to milliseconds and back. 298 * jiffies resolution. Exploit that. timespec_trunc() 487 * When we convert to jiffies then we interpret incoming values 495 * - all other values are converted to jiffies by either multiplying 596 jiffies_to_timespec(const unsigned long jiffies, struct timespec *value) jiffies_to_timespec() argument 599 * Convert jiffies to nanoseconds and separate with jiffies_to_timespec() 603 value->tv_sec = div_u64_rem((u64)jiffies * TICK_NSEC, jiffies_to_timespec() 616 * (i.e. in units of 1/2^(large scale) jiffies) but that's also 633 void jiffies_to_timeval(const unsigned long jiffies, struct timeval *value) jiffies_to_timeval() argument 636 * Convert jiffies to nanoseconds and separate with jiffies_to_timeval() 641 value->tv_sec = div_u64_rem((u64)jiffies * TICK_NSEC, jiffies_to_timeval() 648 * Convert jiffies/jiffies_64 to clock_t and back. 751 * nsecs_to_jiffies - Convert nsecs in u64 to jiffies
|
H A D | tick-sched.c | 96 * Initialize and return retrieve the jiffies update. 103 /* Did we start the jiffies update yet ? */ tick_init_jiffy_update() 121 * this duty, then the jiffies update is still serialized by tick_sched_do_timer() 129 /* Check, if the jiffies need an update */ tick_sched_do_timer() 425 * tick_nohz_update_jiffies - update jiffies when idle was interrupted 429 * In case the sched_tick was stopped on this CPU, we have to check if jiffies 579 /* Read jiffies and the time when jiffies were updated last */ tick_nohz_stop_sched_tick() 583 last_jiffies = jiffies; tick_nohz_stop_sched_tick() 611 * If this cpu is the one which updates jiffies, then tick_nohz_stop_sched_tick() 615 * jiffies might be stale and do_timer() never tick_nohz_stop_sched_tick() 706 * jiffie boundary. Update jiffies and raise the tick_nohz_stop_sched_tick() 742 * jiffies, then give up the assignment and let it be taken by can_stop_idle_tick() 744 * this here the jiffies might be stale and do_timer() never can_stop_idle_tick() 899 /* Reread time and update jiffies */ tick_nohz_restart() 907 /* Update jiffies first */ tick_nohz_restart_sched_tick() 934 ticks = jiffies - ts->idle_jiffies; tick_nohz_account_idle_ticks() 1043 * tick timer from irq_enter() so that the jiffies update is kept
|
/linux-4.1.27/drivers/staging/rtl8712/ |
H A D | rtl8712_led.c | 262 mod_timer(&pLed->BlinkTimer, jiffies + SwLedBlink() 267 mod_timer(&pLed->BlinkTimer, jiffies + SwLedBlink() 271 mod_timer(&pLed->BlinkTimer, jiffies + SwLedBlink() 275 mod_timer(&pLed->BlinkTimer, jiffies + SwLedBlink() 319 mod_timer(&pLed->BlinkTimer, jiffies + SwLedBlink1() 327 mod_timer(&pLed->BlinkTimer, jiffies + SwLedBlink1() 342 mod_timer(&pLed->BlinkTimer, jiffies + SwLedBlink1() 351 mod_timer(&pLed->BlinkTimer, jiffies + SwLedBlink1() 360 mod_timer(&pLed->BlinkTimer, jiffies + SwLedBlink1() 376 mod_timer(&pLed->BlinkTimer, jiffies + SwLedBlink1() 385 mod_timer(&pLed->BlinkTimer, jiffies + SwLedBlink1() 395 mod_timer(&pLed->BlinkTimer, jiffies + SwLedBlink1() 404 mod_timer(&pLed->BlinkTimer, jiffies + SwLedBlink1() 410 mod_timer(&pLed->BlinkTimer, jiffies + SwLedBlink1() 422 mod_timer(&pLed->BlinkTimer, jiffies + SwLedBlink1() 464 mod_timer(&pLed->BlinkTimer, jiffies + SwLedBlink2() 488 mod_timer(&pLed->BlinkTimer, jiffies + SwLedBlink2() 532 mod_timer(&pLed->BlinkTimer, jiffies + SwLedBlink3() 558 mod_timer(&pLed->BlinkTimer, jiffies + SwLedBlink3() 567 mod_timer(&pLed->BlinkTimer, jiffies + SwLedBlink3() 573 mod_timer(&pLed->BlinkTimer, jiffies + SwLedBlink3() 614 mod_timer(&pLed->BlinkTimer, jiffies + SwLedBlink4() 620 mod_timer(&pLed->BlinkTimer, jiffies + SwLedBlink4() 624 mod_timer(&pLed->BlinkTimer, jiffies + SwLedBlink4() 639 mod_timer(&pLed->BlinkTimer, jiffies + SwLedBlink4() 647 mod_timer(&pLed->BlinkTimer, jiffies + SwLedBlink4() 662 mod_timer(&pLed->BlinkTimer, jiffies + SwLedBlink4() 670 mod_timer(&pLed->BlinkTimer, jiffies + SwLedBlink4() 677 mod_timer(&pLed->BlinkTimer, jiffies + SwLedBlink4() 681 mod_timer(&pLed->BlinkTimer, jiffies + SwLedBlink4() 690 mod_timer(&pLed->BlinkTimer, jiffies + SwLedBlink4() 704 mod_timer(&pLed->BlinkTimer, jiffies + SwLedBlink4() 711 mod_timer(&pLed->BlinkTimer, jiffies + SwLedBlink4() 739 mod_timer(&pLed->BlinkTimer, jiffies + SwLedBlink5() 747 mod_timer(&pLed->BlinkTimer, jiffies + SwLedBlink5() 759 mod_timer(&pLed->BlinkTimer, jiffies + SwLedBlink5() 767 mod_timer(&pLed->BlinkTimer, jiffies + SwLedBlink5() 802 mod_timer(&pLed->BlinkTimer, jiffies + SwLedBlink6() 811 mod_timer(&pLed->BlinkTimer, jiffies + SwLedBlink6() 914 mod_timer(&pLed->BlinkTimer, jiffies + SwLedControlMode1() 937 mod_timer(&pLed->BlinkTimer, jiffies + SwLedControlMode1() 967 mod_timer(&pLed->BlinkTimer, jiffies + SwLedControlMode1() 992 mod_timer(&pLed->BlinkTimer, jiffies + SwLedControlMode1() 1022 mod_timer(&pLed->BlinkTimer, jiffies + SwLedControlMode1() 1050 mod_timer(&pLed->BlinkTimer, jiffies + SwLedControlMode1() 1055 jiffies + msecs_to_jiffies(0)); SwLedControlMode1() 1069 mod_timer(&pLed->BlinkTimer, jiffies + SwLedControlMode1() 1096 jiffies + msecs_to_jiffies(0)); SwLedControlMode1() 1129 mod_timer(&pLed->BlinkTimer, jiffies + SwLedControlMode2() 1148 mod_timer(&pLed->BlinkTimer, jiffies + SwLedControlMode2() 1166 jiffies + msecs_to_jiffies(0)); SwLedControlMode2() 1184 jiffies + msecs_to_jiffies(0)); SwLedControlMode2() 1193 jiffies + msecs_to_jiffies(0)); SwLedControlMode2() 1201 jiffies + msecs_to_jiffies(0)); SwLedControlMode2() 1210 jiffies + msecs_to_jiffies(0)); SwLedControlMode2() 1229 jiffies + msecs_to_jiffies(0)); SwLedControlMode2() 1261 mod_timer(&pLed->BlinkTimer, jiffies + SwLedControlMode3() 1279 mod_timer(&pLed->BlinkTimer, jiffies + SwLedControlMode3() 1297 jiffies + msecs_to_jiffies(0)); SwLedControlMode3() 1316 mod_timer(&pLed->BlinkTimer, jiffies + SwLedControlMode3() 1329 mod_timer(&pLed->BlinkTimer, jiffies + SwLedControlMode3() 1334 jiffies + msecs_to_jiffies(0)); SwLedControlMode3() 1345 jiffies + msecs_to_jiffies(0)); SwLedControlMode3() 1353 jiffies + msecs_to_jiffies(0)); SwLedControlMode3() 1372 jiffies + msecs_to_jiffies(0)); SwLedControlMode3() 1396 jiffies + msecs_to_jiffies(0)); SwLedControlMode4() 1414 mod_timer(&pLed->BlinkTimer, jiffies + SwLedControlMode4() 1418 mod_timer(&pLed->BlinkTimer, jiffies + SwLedControlMode4() 1434 jiffies + msecs_to_jiffies(0)); SwLedControlMode4() 1451 mod_timer(&pLed->BlinkTimer, jiffies + SwLedControlMode4() 1477 mod_timer(&pLed->BlinkTimer, jiffies + SwLedControlMode4() 1498 mod_timer(&pLed->BlinkTimer, jiffies + SwLedControlMode4() 1511 jiffies + msecs_to_jiffies(0)); SwLedControlMode4() 1530 mod_timer(&pLed->BlinkTimer, jiffies + SwLedControlMode4() 1534 mod_timer(&pLed->BlinkTimer, jiffies + SwLedControlMode4() 1550 mod_timer(&pLed->BlinkTimer, jiffies + SwLedControlMode4() 1564 mod_timer(&pLed->BlinkTimer, jiffies + SwLedControlMode4() 1576 mod_timer(&pLed->BlinkTimer, jiffies + SwLedControlMode4() 1590 mod_timer(&pLed->BlinkTimer, jiffies + SwLedControlMode4() 1603 mod_timer(&pLed->BlinkTimer, jiffies + SwLedControlMode4() 1666 jiffies + msecs_to_jiffies(0)); SwLedControlMode5() 1684 mod_timer(&pLed->BlinkTimer, jiffies + SwLedControlMode5() 1700 mod_timer(&pLed->BlinkTimer, jiffies + SwLedControlMode5() 1736 mod_timer(&(pLed->BlinkTimer), jiffies + msecs_to_jiffies(0)); SwLedControlMode6() 1751 mod_timer(&pLed->BlinkTimer, jiffies + SwLedControlMode6() 1768 mod_timer(&pLed->BlinkTimer, jiffies + SwLedControlMode6() 1781 jiffies + msecs_to_jiffies(0)); SwLedControlMode6()
|
/linux-4.1.27/drivers/net/wan/lmc/ |
H A D | lmc_debug.c | 58 lmcEventLogBuf[lmcEventLogIndex++] = jiffies; lmcEventLog() 66 unsigned long j = jiffies + 3; /* Wait for 50 ms */ lmc_trace() 70 // while(time_before(jiffies, j+10)) lmc_trace() 75 while(time_before(jiffies, j)) lmc_trace()
|
/linux-4.1.27/include/linux/ |
H A D | i2c-pca-platform.h | 9 int timeout; /* timeout in jiffies */
|
H A D | jiffies.h | 66 * but that can only take up to, say, 4-byte variables. jiffies being part of 77 extern unsigned long volatile __jiffy_data jiffies; 84 return (u64)jiffies; get_jiffies_64() 147 * These four macros compare jiffies and 'a' for convenience. 150 /* time_is_before_jiffies(a) return true if a is before jiffies */ 151 #define time_is_before_jiffies(a) time_after(jiffies, a) 153 /* time_is_after_jiffies(a) return true if a is after jiffies */ 154 #define time_is_after_jiffies(a) time_before(jiffies, a) 156 /* time_is_before_eq_jiffies(a) return true if a is before or equal to jiffies*/ 157 #define time_is_before_eq_jiffies(a) time_after_eq(jiffies, a) 159 /* time_is_after_eq_jiffies(a) return true if a is after or equal to jiffies*/ 160 #define time_is_after_eq_jiffies(a) time_before_eq(jiffies, a) 163 * Have the 32 bit jiffies value wrap 5 minutes after boot 164 * so jiffies wrap bugs show up earlier. 169 * Change timeval to jiffies, trying to avoid the 176 * to wait "jiffies+1" in order to guarantee that we wait 177 * at _least_ "jiffies" - so "jiffies+1" had better still 186 * values the update wall clock code uses as the jiffies size. This value 204 * Suppose, for example, we want to convert from seconds to jiffies 205 * where jiffies is defined in nanoseconds as NSEC_PER_JIFFIE. The 294 extern void jiffies_to_timespec(const unsigned long jiffies, 297 extern void jiffies_to_timeval(const unsigned long jiffies,
|
H A D | semaphore.h | 43 extern int __must_check down_timeout(struct semaphore *sem, long jiffies);
|
H A D | hardirq.h | 43 * Enter irq context (on NO_HZ, update jiffies):
|
H A D | acct.h | 64 #include <linux/jiffies.h> 67 * See <linux/jiffies.h> for the original.
|
/linux-4.1.27/net/x25/ |
H A D | x25_timer.c | 23 #include <linux/jiffies.h> 45 mod_timer(&sk->sk_timer, jiffies + 5 * HZ); x25_start_heartbeat() 57 mod_timer(&x25->timer, jiffies + x25->t2); x25_start_t2timer() 64 mod_timer(&x25->timer, jiffies + x25->t21); x25_start_t21timer() 71 mod_timer(&x25->timer, jiffies + x25->t22); x25_start_t22timer() 78 mod_timer(&x25->timer, jiffies + x25->t23); x25_start_t23timer() 93 return x25->timer.expires - jiffies; x25_display_timer()
|
/linux-4.1.27/drivers/staging/rtl8188eu/core/ |
H A D | rtw_led.c | 126 mod_timer(&pLed->BlinkTimer, jiffies + SwLedBlink1() 134 mod_timer(&pLed->BlinkTimer, jiffies + SwLedBlink1() 149 mod_timer(&pLed->BlinkTimer, jiffies + SwLedBlink1() 159 mod_timer(&pLed->BlinkTimer, jiffies + SwLedBlink1() 169 mod_timer(&pLed->BlinkTimer, jiffies + SwLedBlink1() 185 mod_timer(&pLed->BlinkTimer, jiffies + SwLedBlink1() 195 mod_timer(&pLed->BlinkTimer, jiffies + SwLedBlink1() 206 mod_timer(&pLed->BlinkTimer, jiffies + SwLedBlink1() 215 mod_timer(&pLed->BlinkTimer, jiffies + SwLedBlink1() 231 mod_timer(&pLed->BlinkTimer, jiffies + SwLedBlink1() 238 mod_timer(&pLed->BlinkTimer, jiffies + SwLedBlink1() 276 mod_timer(&pLed->BlinkTimer, jiffies + SwLedControlMode1() 298 mod_timer(&pLed->BlinkTimer, jiffies + SwLedControlMode1() 327 mod_timer(&pLed->BlinkTimer, jiffies + SwLedControlMode1() 351 mod_timer(&pLed->BlinkTimer, jiffies + SwLedControlMode1() 380 mod_timer(&pLed->BlinkTimer, jiffies + SwLedControlMode1() 408 mod_timer(&pLed->BlinkTimer, jiffies + SwLedControlMode1() 413 jiffies + msecs_to_jiffies(0)); SwLedControlMode1() 427 mod_timer(&pLed->BlinkTimer, jiffies + SwLedControlMode1()
|
H A D | rtw_pwrctrl.c | 223 if (time_after_eq(adapter->pwrctrlpriv.ips_deny_time, jiffies)) rtw_pwr_unassociated_idle() 356 curr_time = jiffies; PS_RDY_CHECK() 426 start_time = jiffies; LPS_RF_ON_check() 555 pwrpriv->ips_deny_time = jiffies + msecs_to_jiffies(ms); rtw_set_ips_deny() 572 expires = jiffies + msecs_to_jiffies(ips_deffer_ms); _rtw_pwr_wakeup() 574 pwrpriv->ips_deny_time = jiffies + msecs_to_jiffies(ips_deffer_ms); _rtw_pwr_wakeup() 577 u32 start = jiffies; _rtw_pwr_wakeup() 628 expires = jiffies + msecs_to_jiffies(ips_deffer_ms); _rtw_pwr_wakeup() 630 pwrpriv->ips_deny_time = jiffies + msecs_to_jiffies(ips_deffer_ms); _rtw_pwr_wakeup()
|
/linux-4.1.27/drivers/staging/lustre/lustre/include/linux/ |
H A D | obd.h | 72 unsigned long cur = jiffies; __client_obd_list_lock() 79 lock->time = jiffies; __client_obd_list_lock() 83 if (time_before(cur + 5 * HZ, jiffies) && __client_obd_list_lock() 84 time_before(lock->time + 5 * HZ, jiffies)) { __client_obd_list_lock() 94 (jiffies - lock->time) / HZ); __client_obd_list_lock() 112 lock->time = jiffies; client_obd_list_unlock()
|
/linux-4.1.27/arch/mips/kernel/ |
H A D | binfmt_elfn32.c | 99 jiffies_to_compat_timeval(unsigned long jiffies, struct compat_timeval *value) jiffies_to_compat_timeval() argument 102 * Convert jiffies to nanoseconds and separate with jiffies_to_compat_timeval() 105 u64 nsec = (u64)jiffies * TICK_NSEC; jiffies_to_compat_timeval() 127 unsigned long jiffies = cputime_to_jiffies(cputime); cputime_to_compat_timeval() local 129 value->tv_usec = (jiffies % HZ) * (1000000L / HZ); cputime_to_compat_timeval() 130 value->tv_sec = jiffies / HZ; cputime_to_compat_timeval()
|
H A D | binfmt_elfo32.c | 120 jiffies_to_compat_timeval(unsigned long jiffies, struct compat_timeval *value) jiffies_to_compat_timeval() argument 123 * Convert jiffies to nanoseconds and separate with jiffies_to_compat_timeval() 126 u64 nsec = (u64)jiffies * TICK_NSEC; jiffies_to_compat_timeval() 146 unsigned long jiffies = cputime_to_jiffies(cputime); cputime_to_compat_timeval() local 148 value->tv_usec = (jiffies % HZ) * (1000000L / HZ); cputime_to_compat_timeval() 149 value->tv_sec = jiffies / HZ; cputime_to_compat_timeval()
|
H A D | vmlinux.lds.S | 25 jiffies = jiffies_64; define 27 jiffies = jiffies_64 + 4; define 30 jiffies = jiffies_64; define
|
/linux-4.1.27/init/ |
H A D | calibrate.c | 7 #include <linux/jiffies.h> 52 * while ( jiffies < start_jiffies+1) calibrate_delay_direct() 72 start_jiffies = jiffies; calibrate_delay_direct() 73 while (time_before_eq(jiffies, start_jiffies + 1)) { calibrate_delay_direct() 81 while (time_before_eq(jiffies, start_jiffies + 1 + calibrate_delay_direct() 195 ticks = jiffies; calibrate_delay_converge() 196 while (ticks == jiffies) calibrate_delay_converge() 199 ticks = jiffies; calibrate_delay_converge() 207 } while (ticks == jiffies); calibrate_delay_converge() 227 ticks = jiffies; calibrate_delay_converge() 228 while (ticks == jiffies) calibrate_delay_converge() 230 ticks = jiffies; calibrate_delay_converge() 232 if (jiffies != ticks) /* longer than 1 tick */ calibrate_delay_converge()
|
/linux-4.1.27/drivers/staging/speakup/ |
H A D | thread.c | 19 our_sound.jiffies = 0; speakup_thread() 48 kd_mksound(our_sound.freq, our_sound.jiffies); speakup_thread()
|
H A D | speakup_acntpc.c | 27 #include <linux/jiffies.h> 116 .jiffies = 50, 195 jiff_max = jiffies + jiffy_delta_val; do_catch_up() 228 if (time_after_eq(jiffies, jiff_max) && ch == SPACE) { do_catch_up() 241 jiff_max = jiffies+jiffy_delta_val; do_catch_up()
|
H A D | speakup_apollo.c | 25 #include <linux/jiffies.h> 110 .jiffies = 50, 154 jiff_max = jiffies + jiffy_delta_val; do_catch_up() 182 if (time_after_eq(jiffies, jiff_max) && (ch == SPACE)) { do_catch_up() 194 jiff_max = jiffies + jiffy_delta_val; do_catch_up()
|
H A D | speakup_decext.c | 25 #include <linux/jiffies.h> 128 .jiffies = 50, 172 jiff_max = jiffies + jiffy_delta_val; do_catch_up() 207 if (time_after_eq(jiffies, jiff_max)) { do_catch_up() 218 jiff_max = jiffies + jiffy_delta_val; do_catch_up()
|
H A D | speakup_dectlk.c | 27 #include <linux/jiffies.h> 130 .jiffies = 50, 224 jiff_max = jiffies + jiffy_delta_val; do_catch_up() 272 if (time_after_eq(jiffies, jiff_max)) { do_catch_up() 283 jiff_max = jiffies + jiffy_delta_val; do_catch_up()
|
H A D | speakup_keypc.c | 24 #include <linux/jiffies.h> 107 .jiffies = 50, 196 jiff_max = jiffies + jiffy_delta_val; do_catch_up() 232 if (time_after_eq(jiffies, jiff_max) && (ch == SPACE)) { do_catch_up() 247 jiff_max = jiffies+jiffy_delta_val; do_catch_up()
|
H A D | synth.c | 10 #include <linux/jiffies.h> 102 jiff_max = jiffies + jiffy_delta_val; spk_do_catch_up() 125 if (time_after_eq(jiffies, jiff_max) && (ch == SPACE)) { spk_do_catch_up() 137 jiff_max = jiffies + jiffy_delta_val; spk_do_catch_up() 210 mod_timer(&thread_timer, jiffies + synth_start() 400 synth_time_vars[2].u.n.default_val = synth->jiffies; do_synth_init()
|
/linux-4.1.27/drivers/bcma/ |
H A D | driver_chipcommon_b.c | 17 unsigned long deadline = jiffies + timeout; bcma_wait_reg() 26 } while (!time_after_eq(jiffies, deadline)); bcma_wait_reg()
|
H A D | core.c | 15 unsigned long deadline = jiffies + timeout; bcma_core_wait_value() 24 } while (!time_after_eq(jiffies, deadline)); bcma_core_wait_value()
|
/linux-4.1.27/arch/mips/loongson/common/cs5536/ |
H A D | cs5536_mfgpt.c | 21 #include <linux/jiffies.h> 148 * to just read by itself. So use jiffies to emulate a free 166 * jiffies as volatile despite the lock. We read jiffies mfgpt_read() 168 * the jiffies value might be older than the count (that is, mfgpt_read() 170 * jiffies was incremented and the point where we latch the mfgpt_read() 173 jifs = jiffies; mfgpt_read() 182 * interrupt and incremented jiffies yet. mfgpt_read()
|
/linux-4.1.27/arch/mips/mti-malta/ |
H A D | malta-display.c | 48 mod_timer(&mips_scroll_timer, jiffies + HZ); scroll_display_message() 55 mod_timer(&mips_scroll_timer, jiffies + 1); mips_scroll_message()
|
/linux-4.1.27/arch/m32r/kernel/ |
H A D | vmlinux.lds.S | 11 jiffies = jiffies_64; define 13 jiffies = jiffies_64 + 4; define
|
/linux-4.1.27/drivers/block/paride/ |
H A D | pseudo.h | 16 when either it returns true, or timeout jiffies have passed, 23 (nice-1) jiffies. 60 ps_timeout = jiffies + timeout; ps_set_intr() 87 if (!ps_ready || ps_ready() || time_after_eq(jiffies, ps_timeout)) { ps_tq_int()
|
/linux-4.1.27/include/linux/netfilter/ipset/ |
H A D | ip_set_timeout.h | 34 /* Normalize to fit into jiffies */ ip_set_timeout_uget() 64 *timeout = msecs_to_jiffies(t * 1000) + jiffies; ip_set_timeout_set() 74 jiffies_to_msecs(*timeout - jiffies)/1000; ip_set_timeout_get()
|
/linux-4.1.27/arch/arm/mach-imx/ |
H A D | hotplug.c | 14 #include <linux/jiffies.h> 62 unsigned long timeout = jiffies + msecs_to_jiffies(50); imx_cpu_kill() 65 if (time_after(jiffies, timeout)) imx_cpu_kill()
|
H A D | src.c | 66 timeout = jiffies + msecs_to_jiffies(1000); imx_src_reset_module() 68 if (time_after(jiffies, timeout)) imx_src_reset_module()
|
H A D | clk-busy.c | 17 #include <linux/jiffies.h> 23 unsigned long timeout = jiffies + msecs_to_jiffies(10); clk_busy_wait() 26 if (time_after(jiffies, timeout)) clk_busy_wait()
|
/linux-4.1.27/tools/lib/traceevent/ |
H A D | plugin_jbd2.c | 44 unsigned long long jiffies = args[0]; process_jiffies_to_msecs() local 46 trace_seq_printf(s, "%lld", jiffies); process_jiffies_to_msecs() 47 return jiffies; process_jiffies_to_msecs()
|
/linux-4.1.27/drivers/i2c/busses/ |
H A D | i2c-designware-baytrail.c | 88 start = jiffies; baytrail_i2c_acquire() 93 acquired = jiffies; baytrail_i2c_acquire() 95 jiffies_to_msecs(jiffies - start)); baytrail_i2c_acquire() 100 } while (time_before(jiffies, end)); baytrail_i2c_acquire() 127 jiffies_to_msecs(jiffies - acquired)); baytrail_i2c_release()
|
H A D | i2c-highlander.c | 132 timeout = jiffies + msecs_to_jiffies(iic_timeout); highlander_i2c_wait_for_bbsy() 134 if (time_after(jiffies, timeout)) { highlander_i2c_wait_for_bbsy() 178 timeout = jiffies + msecs_to_jiffies(iic_timeout); highlander_i2c_poll() 190 if (time_after(jiffies, timeout)) highlander_i2c_poll() 239 if (iic_read_delay && time_before(jiffies, dev->last_read_time + highlander_i2c_read() 242 msecs_to_jiffies(iic_read_delay)) - jiffies)); highlander_i2c_read() 252 dev->last_read_time = jiffies; highlander_i2c_read() 400 dev->last_read_time = jiffies; /* initial read jiffies */ highlander_i2c_probe()
|
H A D | i2c-xlr.c | 87 stoptime = jiffies + timeout; xlr_i2c_tx() 101 checktime = jiffies; xlr_i2c_tx() 111 stoptime = jiffies + timeout; xlr_i2c_tx() 144 stoptime = jiffies + timeout; xlr_i2c_rx() 151 checktime = jiffies; xlr_i2c_rx() 164 stoptime = jiffies + timeout; xlr_i2c_rx()
|
H A D | i2c-pca-isa.c | 22 #include <linux/jiffies.h> 79 timeout = jiffies + pca_isa_ops.timeout; pca_isa_waitforcompletion() 81 ret = time_before(jiffies, timeout); pca_isa_waitforcompletion()
|
/linux-4.1.27/drivers/watchdog/ |
H A D | ep93xx_wdt.c | 62 if (time_before(jiffies, next_heartbeat)) ep93xx_wdt_timer_ping() 66 mod_timer(&timer, jiffies + WDT_INTERVAL); ep93xx_wdt_timer_ping() 71 next_heartbeat = jiffies + (timeout * HZ); ep93xx_wdt_start() 74 mod_timer(&timer, jiffies + WDT_INTERVAL); ep93xx_wdt_start() 90 next_heartbeat = jiffies + (timeout * HZ); ep93xx_wdt_keepalive()
|
H A D | gpio_wdt.c | 57 priv->last_jiffies = jiffies; gpio_wdt_start_impl() 88 priv->last_jiffies = jiffies; gpio_wdt_ping() 105 if (priv->armed && time_after(jiffies, priv->last_jiffies + gpio_wdt_hwping() 112 mod_timer(&priv->timer, jiffies + priv->hw_margin); gpio_wdt_hwping()
|
H A D | machzwd.c | 37 #include <linux/jiffies.h> 225 next_heartbeat = jiffies + ZF_USER_TIMEO; zf_timer_on() 228 mod_timer(&zf_timer, jiffies + ZF_HW_TIMEO); zf_timer_on() 247 if (time_before(jiffies, next_heartbeat)) { zf_ping() 248 dprintk("time_before: %ld\n", next_heartbeat - jiffies); zf_ping() 264 mod_timer(&zf_timer, jiffies + ZF_HW_TIMEO); zf_ping() 302 next_heartbeat = jiffies + ZF_USER_TIMEO; zf_write() 303 dprintk("user ping at %ld\n", jiffies); zf_write()
|
H A D | via_wdt.c | 18 #include <linux/jiffies.h> 93 if (time_before(jiffies, next_heartbeat) || wdt_timer_tick() 96 mod_timer(&timer, jiffies + WDT_HEARTBEAT); wdt_timer_tick() 104 next_heartbeat = jiffies + wdd->timeout * HZ; wdt_ping() 115 mod_timer(&timer, jiffies + WDT_HEARTBEAT); wdt_start() 218 mod_timer(&timer, jiffies + WDT_HEARTBEAT); wdt_probe()
|
H A D | at91sam9_wdt.c | 31 #include <linux/jiffies.h> 90 unsigned long heartbeat; /* WDT heartbeat in jiffies */ 124 if (time_before(jiffies, wdt->next_heartbeat) || at91_ping() 127 mod_timer(&wdt->timer, jiffies + wdt->heartbeat); at91_ping() 137 wdt->next_heartbeat = jiffies + wdd->timeout * HZ; at91_wdt_start() 232 mod_timer(&wdt->timer, jiffies + min_heartbeat); at91_wdt_init() 242 wdt->next_heartbeat = jiffies + wdt->wdd.timeout * HZ; at91_wdt_init()
|
H A D | dw_wdt.c | 98 dw_wdt.next_heartbeat = jiffies + dw_wdt_get_top() * HZ; dw_wdt_set_next_heartbeat() 164 if (time_before(jiffies, dw_wdt.next_heartbeat) || dw_wdt_ping() 167 mod_timer(&dw_wdt.timer, jiffies + WDT_TIMEOUT); dw_wdt_ping() 223 mod_timer(&dw_wdt.timer, jiffies + WDT_TIMEOUT); dw_wdt_write() 365 mod_timer(&dw_wdt.timer, jiffies + WDT_TIMEOUT); dw_wdt_drv_probe()
|
H A D | nuc900_wdt.c | 102 nuc900_wdt->next_heartbeat = jiffies + heartbeat * HZ; nuc900_wdt_start() 103 mod_timer(&nuc900_wdt->timer, jiffies + WDT_TIMEOUT); nuc900_wdt_start() 123 nuc900_wdt->next_heartbeat = jiffies + heartbeat * HZ; nuc900_wdt_ping() 221 if (time_before(jiffies, nuc900_wdt->next_heartbeat)) { nuc900_wdt_timer_ping() 223 mod_timer(&nuc900_wdt->timer, jiffies + WDT_TIMEOUT); nuc900_wdt_timer_ping()
|
H A D | pika_wdt.c | 20 #include <linux/jiffies.h> 90 if (time_before(jiffies, pikawdt_private.next_heartbeat) || pikawdt_ping() 93 mod_timer(&pikawdt_private.timer, jiffies + WDT_TIMEOUT); pikawdt_ping() 101 pikawdt_private.next_heartbeat = jiffies + heartbeat * HZ; pikawdt_keepalive() 107 mod_timer(&pikawdt_private.timer, jiffies + WDT_TIMEOUT); pikawdt_start()
|
H A D | da9052_wdt.c | 23 #include <linux/jiffies.h> 101 driver_data->jpast = jiffies; da9052_wdt_set_timeout() 135 unsigned long msec, jnow = jiffies; da9052_wdt_ping()
|
H A D | mtx-1_wdt.c | 46 #include <linux/jiffies.h> 82 mod_timer(&mtx1_wdt_device.timer, jiffies + MTX1_WDT_INTERVAL); mtx1_wdt_trigger() 103 mod_timer(&mtx1_wdt_device.timer, jiffies + MTX1_WDT_INTERVAL); mtx1_wdt_start()
|
H A D | sbc60xxwdt.c | 57 #include <linux/jiffies.h> 130 if (time_before(jiffies, next_heartbeat)) { wdt_timer_ping() 134 mod_timer(&timer, jiffies + WDT_INTERVAL); wdt_timer_ping() 145 next_heartbeat = jiffies + (timeout * HZ); wdt_startup() 148 mod_timer(&timer, jiffies + WDT_INTERVAL); wdt_startup() 163 next_heartbeat = jiffies + (timeout * HZ); wdt_keepalive()
|
H A D | sc520_wdt.c | 68 #include <linux/jiffies.h> 142 if (time_before(jiffies, next_heartbeat)) { wdt_timer_ping() 150 mod_timer(&timer, jiffies + WDT_INTERVAL); wdt_timer_ping() 178 next_heartbeat = jiffies + (timeout * HZ); wdt_startup() 181 mod_timer(&timer, jiffies + WDT_INTERVAL); wdt_startup() 205 next_heartbeat = jiffies + (timeout * HZ); wdt_keepalive()
|
H A D | w83877f_wdt.c | 51 #include <linux/jiffies.h> 116 if (time_before(jiffies, next_heartbeat)) { wdt_timer_ping() 124 mod_timer(&timer, jiffies + WDT_INTERVAL); wdt_timer_ping() 160 next_heartbeat = jiffies + (timeout * HZ); wdt_startup() 163 mod_timer(&timer, jiffies + WDT_INTERVAL); wdt_startup() 183 next_heartbeat = jiffies + (timeout * HZ); wdt_keepalive()
|
/linux-4.1.27/net/decnet/ |
H A D | dn_timer.c | 26 #include <linux/jiffies.h> 41 sk_reset_timer(sk, &sk->sk_timer, jiffies + SLOW_INTERVAL); dn_start_slow_timer() 57 sk_reset_timer(sk, &sk->sk_timer, jiffies + HZ / 10); dn_slow_timer() 95 if (time_after_eq(jiffies, scp->stamp + scp->keepalive)) dn_slow_timer() 99 sk_reset_timer(sk, &sk->sk_timer, jiffies + SLOW_INTERVAL); dn_slow_timer()
|
/linux-4.1.27/drivers/clocksource/ |
H A D | i8253.c | 25 * to just read by itself. So use jiffies to emulate a free 43 * jiffies as volatile despite the lock. We read jiffies i8253_read() 45 * the jiffies value might be older than the count (that is, i8253_read() 47 * jiffies was incremented and the point where we latch the i8253_read() 50 jifs = jiffies; i8253_read() 68 * resulting interrupt and incremented jiffies yet. i8253_read()
|
/linux-4.1.27/net/ax25/ |
H A D | ax25_timer.c | 21 #include <linux/jiffies.h> 54 mod_timer(&ax25->timer, jiffies + 5 * HZ); ax25_start_heartbeat() 59 mod_timer(&ax25->t1timer, jiffies + ax25->t1); ax25_start_t1timer() 64 mod_timer(&ax25->t2timer, jiffies + ax25->t2); ax25_start_t2timer() 70 mod_timer(&ax25->t3timer, jiffies + ax25->t3); ax25_start_t3timer() 78 mod_timer(&ax25->idletimer, jiffies + ax25->idle); ax25_start_idletimer() 118 return timer->expires - jiffies; ax25_display_timer()
|
/linux-4.1.27/kernel/rcu/ |
H A D | tiny_plugin.h | 146 j = jiffies; check_cpu_stall() 149 pr_err("INFO: %s stall on CPU (%lu ticks this GP) idle=%llx (t=%lu jiffies q=%ld)\n", check_cpu_stall() 151 jiffies - rcp->gp_start, rcp->qlen); check_cpu_stall() 153 ACCESS_ONCE(rcp->jiffies_stall) = jiffies + check_cpu_stall() 156 ACCESS_ONCE(rcp->jiffies_stall) = jiffies + rcu_jiffies_till_stall_check(); check_cpu_stall() 163 rcp->gp_start = jiffies; reset_cpu_stall_ticks() 164 ACCESS_ONCE(rcp->jiffies_stall) = jiffies + rcu_jiffies_till_stall_check(); reset_cpu_stall_ticks()
|
/linux-4.1.27/net/rose/ |
H A D | rose_timer.c | 15 #include <linux/jiffies.h> 41 sk->sk_timer.expires = jiffies + 5 * HZ; rose_start_heartbeat() 54 rose->timer.expires = jiffies + rose->t1; rose_start_t1timer() 67 rose->timer.expires = jiffies + rose->t2; rose_start_t2timer() 80 rose->timer.expires = jiffies + rose->t3; rose_start_t3timer() 93 rose->timer.expires = jiffies + rose->hb; rose_start_hbtimer() 107 rose->idletimer.expires = jiffies + rose->idle; rose_start_idletimer()
|
/linux-4.1.27/arch/mips/loongson1/common/ |
H A D | time.c | 80 * jiffies as volatile despite the lock. We read jiffies ls1x_clocksource_read() 82 * the jiffies value might be older than the count (that is, ls1x_clocksource_read() 84 * jiffies was incremented and the point where we latch the ls1x_clocksource_read() 87 jifs = jiffies; ls1x_clocksource_read() 96 * interrupt and incremented jiffies yet. ls1x_clocksource_read()
|
/linux-4.1.27/net/core/ |
H A D | link_watch.c | 20 #include <linux/jiffies.h> 117 unsigned long delay = linkwatch_nextevent - jiffies; linkwatch_schedule_work() 182 linkwatch_nextevent = jiffies + HZ; __linkwatch_run_queue() 184 else if (time_after(linkwatch_nextevent, jiffies + HZ)) __linkwatch_run_queue() 185 linkwatch_nextevent = jiffies; __linkwatch_run_queue() 237 __linkwatch_run_queue(time_after(linkwatch_nextevent, jiffies)); linkwatch_event()
|
H A D | drop_monitor.c | 98 mod_timer(&data->send_timer, jiffies + HZ / 10); reset_per_cpu_data() 177 data->send_timer.expires = jiffies + dm_delay * HZ; trace_drop_common() 209 (time_after(jiffies, new_stat->last_rx + dm_hw_check_delta)) && trace_napi_poll_hit() 213 new_stat->last_rx = jiffies; trace_napi_poll_hit() 314 new_stat->last_rx = jiffies; dropmon_net_event()
|
/linux-4.1.27/lib/raid6/ |
H A D | algos.c | 147 j0 = jiffies; raid6_choose_gen() 148 while ((j1 = jiffies) == j0) raid6_choose_gen() 150 while (time_before(jiffies, raid6_choose_gen() 170 j0 = jiffies; raid6_choose_gen() 171 while ((j1 = jiffies) == j0) raid6_choose_gen() 173 while (time_before(jiffies, raid6_choose_gen()
|
/linux-4.1.27/net/netrom/ |
H A D | nr_timer.c | 15 #include <linux/jiffies.h> 56 mod_timer(&nr->t1timer, jiffies + nr->t1); nr_start_t1timer() 63 mod_timer(&nr->t2timer, jiffies + nr->t2); nr_start_t2timer() 70 mod_timer(&nr->t4timer, jiffies + nr->t4); nr_start_t4timer() 78 mod_timer(&nr->idletimer, jiffies + nr->idle); nr_start_idletimer() 83 mod_timer(&sk->sk_timer, jiffies + 5 * HZ); nr_start_heartbeat()
|
H A D | nr_loopback.c | 44 mod_timer(&loopback_timer, jiffies + 10); nr_loopback_queue() 69 mod_timer(&loopback_timer, jiffies + 10); nr_loopback_timer()
|
/linux-4.1.27/drivers/net/wireless/b43/ |
H A D | lo.h | 28 /* The time when these settings were calibrated (in jiffies) */ 50 /* Last time the power vector was read (jiffies). */ 52 /* Last time the txctl values were measured (jiffies). */
|
/linux-4.1.27/arch/m68k/amiga/ |
H A D | pcmcia.c | 16 #include <linux/jiffies.h> 28 unsigned long reset_start_time = jiffies; pcmcia_reset() 32 while (time_before(jiffies, reset_start_time + 1*HZ/100)); pcmcia_reset()
|
H A D | amisound.c | 11 #include <linux/jiffies.h> 96 sound_timer.expires = jiffies + ticks; amiga_mksound()
|
/linux-4.1.27/arch/arm/plat-versatile/ |
H A D | platsmp.c | 15 #include <linux/jiffies.h> 75 timeout = jiffies + (1 * HZ); versatile_boot_secondary() 76 while (time_before(jiffies, timeout)) { versatile_boot_secondary()
|
/linux-4.1.27/net/bridge/netfilter/ |
H A D | ebt_limit.c | 38 unsigned long now = jiffies; ebt_limit_mt() 80 /* User avg in seconds * EBT_LIMIT_SCALE: convert to jiffies * 128. */ ebt_limit_mt_check() 81 info->prev = jiffies; ebt_limit_mt_check()
|
/linux-4.1.27/kernel/sched/ |
H A D | completion.c | 129 * @timeout: timeout value in jiffies 132 * specified timeout to expire. The timeout is in jiffies. It is not 135 * Return: 0 if timed out, and positive (at least 1, or number of jiffies left 162 * @timeout: timeout value in jiffies 165 * specified timeout to expire. The timeout is in jiffies. It is not 169 * Return: 0 if timed out, and positive (at least 1, or number of jiffies left 200 * @timeout: timeout value in jiffies 203 * specified timeout to expire. It is interruptible. The timeout is in jiffies. 206 * or number of jiffies left till timeout) if completed. 237 * @timeout: timeout value in jiffies 241 * interrupted by a kill signal. The timeout is in jiffies. 244 * or number of jiffies left till timeout) if completed.
|
H A D | proc.c | 169 if (!time_before(jiffies, calc_load_update)) calc_load_write_idx() 203 if (time_before(jiffies, this_rq->calc_load_update)) calc_load_exit_idle() 212 if (time_before(jiffies, this_rq->calc_load_update + 10)) calc_load_exit_idle() 308 if (!time_before(jiffies, calc_load_update + 10)) { calc_global_nohz() 312 delta = jiffies - calc_load_update - 10; calc_global_nohz() 350 if (time_before(jiffies, calc_load_update + 10)) calc_global_load() 383 if (time_before(jiffies, this_rq->calc_load_update)) calc_load_account_active() 467 * every tick. We fix it up based on jiffies. 514 * There is no sane way to deal with nohz on smp when using jiffies because the 515 * cpu doing the jiffies update might drift wrt the cpu doing the jiffy reading 532 unsigned long curr_jiffies = ACCESS_ONCE(jiffies); update_idle_cpu_load() 554 unsigned long curr_jiffies = ACCESS_ONCE(jiffies); update_cpu_load_nohz() 583 this_rq->last_load_update_tick = jiffies; update_cpu_load_active()
|
/linux-4.1.27/net/netfilter/ |
H A D | nft_limit.c | 36 if (time_after_eq(jiffies, priv->stamp)) { nft_limit_eval() 38 priv->stamp = jiffies + priv->unit * HZ; nft_limit_eval() 68 priv->stamp = jiffies + priv->unit * HZ; nft_limit_init()
|
H A D | xt_IDLETIMER.c | 95 if (time_after(expires, jiffies)) idletimer_tg_show() 97 jiffies_to_msecs(expires - jiffies) / 1000); idletimer_tg_show() 150 msecs_to_jiffies(info->timeout * 1000) + jiffies); idletimer_tg_create() 178 msecs_to_jiffies(info->timeout * 1000) + jiffies); idletimer_tg_target() 208 msecs_to_jiffies(info->timeout * 1000) + jiffies); idletimer_tg_checkentry()
|
/linux-4.1.27/drivers/media/platform/vivid/ |
H A D | vivid-kthread-out.c | 141 dev->jiffies_vid_out = jiffies; vivid_thread_vid_out() 151 cur_jiffies = jiffies; vivid_thread_vid_out() 164 /* Calculate the number of jiffies since we started streaming */ vivid_thread_vid_out() 173 * 'jiffies-per-day' to ease jiffies_to_msecs calculation) vivid_thread_vid_out() 174 * jiffies have passed since we started streaming reset the vivid_thread_vid_out() 195 /* And the number of jiffies since we started */ vivid_thread_vid_out() 196 jiffies_since_start = jiffies - dev->jiffies_vid_out; vivid_thread_vid_out() 202 * in jiffies since we started streaming. vivid_thread_vid_out() 243 dev->jiffies_vid_out = jiffies; vivid_start_generating_vid_out()
|
H A D | vivid-sdr-cap.c | 126 dev->jiffies_sdr_cap = jiffies; vivid_thread_sdr_cap() 135 cur_jiffies = jiffies; vivid_thread_sdr_cap() 142 /* Calculate the number of jiffies since we started streaming */ vivid_thread_sdr_cap() 151 * 'jiffies-per-day' to ease jiffies_to_msecs calculation) vivid_thread_sdr_cap() 152 * jiffies have passed since we started streaming reset the vivid_thread_sdr_cap() 171 /* And the number of jiffies since we started */ vivid_thread_sdr_cap() 172 jiffies_since_start = jiffies - dev->jiffies_sdr_cap; vivid_thread_sdr_cap() 178 * in jiffies since we started streaming. vivid_thread_sdr_cap()
|
/linux-4.1.27/drivers/net/wireless/ti/wl1251/ |
H A D | ps.c | 78 start = jiffies; wl1251_ps_elp_wakeup() 79 timeout = jiffies + msecs_to_jiffies(WL1251_WAKEUP_TIMEOUT); wl1251_ps_elp_wakeup() 90 if (time_after(jiffies, timeout)) { wl1251_ps_elp_wakeup() 99 jiffies_to_msecs(jiffies - start)); wl1251_ps_elp_wakeup()
|
/linux-4.1.27/drivers/tty/serial/ |
H A D | crisv10.h | 104 unsigned long last_tx_active_usec; /* Last tx usec in the jiffies */ 105 unsigned long last_tx_active; /* Last tx time in jiffies */ 106 unsigned long last_rx_active_usec; /* Last rx usec in the jiffies */ 107 unsigned long last_rx_active; /* Last rx time in jiffies */
|
/linux-4.1.27/arch/cris/include/asm/ |
H A D | fasttimer.h | 15 unsigned long tv_jiff; /* jiffies */
|
/linux-4.1.27/arch/ia64/include/asm/ |
H A D | cputime.h | 15 * Otherwise we measure cpu time in jiffies using the generic definitions.
|
/linux-4.1.27/fs/autofs4/ |
H A D | symlink.c | 20 ino->last_used = jiffies; autofs4_follow_link()
|
/linux-4.1.27/sound/soc/tegra/ |
H A D | tegra20_ac97.c | 26 #include <linux/jiffies.h> 58 timeout = jiffies + msecs_to_jiffies(100); tegra20_ac97_codec_reset() 65 } while (!time_after(jiffies, timeout)); tegra20_ac97_codec_reset() 87 timeout = jiffies + msecs_to_jiffies(100); tegra20_ac97_codec_warm_reset() 94 } while (!time_after(jiffies, timeout)); tegra20_ac97_codec_warm_reset() 108 timeout = jiffies + msecs_to_jiffies(100); tegra20_ac97_codec_read() 115 } while (!time_after(jiffies, timeout)); tegra20_ac97_codec_read() 134 timeout = jiffies + msecs_to_jiffies(100); tegra20_ac97_codec_write() 141 } while (!time_after(jiffies, timeout)); tegra20_ac97_codec_write()
|
/linux-4.1.27/net/bridge/ |
H A D | br_stp.c | 20 /* since time values in bpdu are in jiffies and then scaled (1/256) 127 mod_timer(&p->forward_delay_timer, jiffies + br->forward_delay); br_root_port_block() 169 mod_timer(&br->hello_timer, jiffies + br->hello_time); br_become_root_bridge() 197 bpdu.message_age = (jiffies - root->designated_age) br_transmit_config() 209 round_jiffies(jiffies + BR_HOLD_TIME)); br_transmit_config() 221 p->designated_age = jiffies - bpdu->message_age; br_record_config_information() 223 mod_timer(&p->message_age_timer, jiffies br_record_config_information() 345 mod_timer(&br->topology_change_timer, jiffies br_topology_change_detection() 349 mod_timer(&br->tcn_timer, jiffies + br->bridge_hello_time); br_topology_change_detection() 432 mod_timer(&p->forward_delay_timer, jiffies + br->forward_delay); br_make_forwarding() 500 jiffies + br->bridge_hello_time); br_received_config_bpdu()
|
H A D | br_stp_timer.c | 43 mod_timer(&br->hello_timer, round_jiffies(jiffies + br->hello_time)); br_hello_timer_expired() 92 jiffies + br->forward_delay); br_forward_delay_timer_expired() 115 mod_timer(&br->tcn_timer, jiffies + br->bridge_hello_time); br_tcn_timer_expired() 175 ? jiffies_delta_to_clock_t(timer->expires - jiffies) : 0; br_timer_value()
|
/linux-4.1.27/drivers/input/serio/ |
H A D | i8042.h | 69 #define dbg_init() do { i8042_start_time = jiffies; } while (0) 74 (int) (jiffies - i8042_start_time), ##arg); \
|
H A D | parkbd.c | 111 if (parkbd_counter && ((parkbd_counter == 11) || time_after(jiffies, parkbd_last + HZ/100))) { parkbd_interrupt() 130 if ((parkbd_counter == parkbd_mode + 10) || time_after(jiffies, parkbd_last + HZ/100)) { parkbd_interrupt() 141 parkbd_last = jiffies; parkbd_interrupt() 166 parkbd_start = jiffies; parkbd_getport()
|
/linux-4.1.27/arch/sparc/kernel/ |
H A D | vmlinux.lds.S | 27 jiffies = jiffies_64 + 4; define 33 jiffies = jiffies_64; define
|
H A D | led.c | 8 #include <linux/jiffies.h> 40 led_blink_timer.expires = jiffies + led_blink() 44 led_blink_timer.expires = jiffies + (timeout * HZ); led_blink()
|
/linux-4.1.27/arch/mips/mti-sead3/ |
H A D | sead3-display.c | 69 mod_timer(&mips_scroll_timer, jiffies + HZ); scroll_display_message() 76 mod_timer(&mips_scroll_timer, jiffies + 1); mips_scroll_message()
|
/linux-4.1.27/arch/c6x/kernel/ |
H A D | vmlinux.lds.S | 14 jiffies = jiffies_64 + 4; define 16 jiffies = jiffies_64; define
|
/linux-4.1.27/arch/cris/kernel/ |
H A D | time.c | 27 #include <linux/jiffies.h> 85 return (unsigned long long)jiffies * (NSEC_PER_SEC / HZ) + sched_clock()
|
/linux-4.1.27/lib/ |
H A D | ratelimit.c | 13 #include <linux/jiffies.h> 46 rs->begin = jiffies; ___ratelimit()
|
H A D | dynamic_queue_limits.c | 8 #include <linux/jiffies.h> 54 dql->slack_start_time = jiffies; dql_completed() 91 if (time_after(jiffies, dql_completed() 94 dql->slack_start_time = jiffies; dql_completed() 126 dql->slack_start_time = jiffies; dql_reset()
|
/linux-4.1.27/include/crypto/ |
H A D | mcryptd.h | 98 /* return delay in jiffies from current time */ get_delay() 103 delay = (long) t - (long) jiffies; get_delay()
|
/linux-4.1.27/include/drm/ |
H A D | drm_os_linux.h | 46 unsigned long end = jiffies + (timeout); \ 53 if (time_after_eq(jiffies, end)) { \
|
/linux-4.1.27/sound/drivers/ |
H A D | pcm-indirect2.c | 37 /* jiffies */ 38 #include <linux/jiffies.h> 262 rec->lastdifftime = jiffies; snd_pcm_indirect2_playback_transfer() 278 rec->firstzerotime = jiffies; snd_pcm_indirect2_playback_transfer() 289 if ((jiffies - rec->firstzerotime) < 3750) { snd_pcm_indirect2_playback_transfer() 290 rec->zero_times[(jiffies - rec->firstzerotime)]++; snd_pcm_indirect2_playback_transfer() 327 rec->firstbytetime = jiffies; snd_pcm_indirect2_playback_transfer() 328 rec->lastbytetime = jiffies; snd_pcm_indirect2_playback_transfer() 424 rec->lastdifftime = jiffies; snd_pcm_indirect2_capture_transfer() 439 rec->firstzerotime = jiffies; snd_pcm_indirect2_capture_transfer() 450 if ((jiffies - rec->firstzerotime) < 3750) { snd_pcm_indirect2_capture_transfer() 451 rec->zero_times[(jiffies - rec->firstzerotime)]++; snd_pcm_indirect2_capture_transfer() 495 rec->firstbytetime = jiffies; snd_pcm_indirect2_capture_transfer() 496 rec->lastbytetime = jiffies; snd_pcm_indirect2_capture_transfer()
|
/linux-4.1.27/drivers/net/ethernet/dec/tulip/ |
H A D | pnic.c | 15 #include <linux/jiffies.h> 47 dev->trans_start = jiffies; pnic_do_nway() 68 if (! tp->nwayset || time_after(jiffies, dev_trans_start(dev) + 1*HZ)) { pnic_lnk_change() 73 dev->trans_start = jiffies; pnic_lnk_change() 150 dev->trans_start = jiffies; pnic_timer()
|
/linux-4.1.27/drivers/net/ethernet/mellanox/mlx4/ |
H A D | reset.c | 38 #include <linux/jiffies.h> 102 end = jiffies + MLX4_SEM_TIMEOUT_JIFFIES; mlx4_reset() 109 } while (time_before(jiffies, end)); mlx4_reset() 125 end = jiffies + MLX4_RESET_TIMEOUT_JIFFIES; mlx4_reset() 132 } while (time_before(jiffies, end)); mlx4_reset()
|
/linux-4.1.27/arch/arm/mach-tegra/ |
H A D | platsmp.c | 21 #include <linux/jiffies.h> 97 timeout = jiffies + msecs_to_jiffies(50); tegra30_boot_secondary() 102 } while (time_before(jiffies, timeout)); tegra30_boot_secondary() 117 timeout = jiffies + msecs_to_jiffies(100); tegra30_boot_secondary() 119 if (time_after(jiffies, timeout)) tegra30_boot_secondary()
|
/linux-4.1.27/drivers/media/pci/ivtv/ |
H A D | ivtv-mailbox.c | 162 unsigned long then = jiffies; get_mailbox() 180 if (time_after(jiffies, get_mailbox() 248 time_before(jiffies, ivtv_api_call() 252 itv->api_cache[cmd].last_jiffies = jiffies; ivtv_api_call() 287 itv->api_cache[cmd].last_jiffies = jiffies; ivtv_api_call() 295 then = jiffies; ivtv_api_call() 305 if (time_after(jiffies, then + api_timeout)) { ivtv_api_call() 317 if (time_after(jiffies, then + msecs_to_jiffies(100))) ivtv_api_call() 318 IVTV_DEBUG_WARN("%s took %u jiffies\n", ivtv_api_call() 320 jiffies_to_msecs(jiffies - then)); ivtv_api_call()
|
/linux-4.1.27/drivers/media/dvb-frontends/ |
H A D | stv0297.c | 27 #include <linux/jiffies.h> 545 timeout = jiffies + msecs_to_jiffies(2000); stv0297_set_frontend() 546 while (time_before(jiffies, timeout)) { stv0297_set_frontend() 551 if (time_after(jiffies, timeout)) { stv0297_set_frontend() 557 timeout = jiffies + msecs_to_jiffies(500); stv0297_set_frontend() 558 while (time_before(jiffies, timeout)) { stv0297_set_frontend() 565 if (time_after(jiffies, timeout)) { stv0297_set_frontend() 570 timeout = jiffies + msecs_to_jiffies(delay); stv0297_set_frontend() 571 while (time_before(jiffies, timeout)) { stv0297_set_frontend() 578 if (time_after(jiffies, timeout)) { stv0297_set_frontend() 587 timeout = jiffies + msecs_to_jiffies(20); stv0297_set_frontend() 588 while (time_before(jiffies, timeout)) { stv0297_set_frontend() 595 if (time_after(jiffies, timeout)) { stv0297_set_frontend()
|
/linux-4.1.27/drivers/isdn/sc/ |
H A D | timer.c | 71 pr_debug("%s: No signature yet, waiting another %lu jiffies.\n", sc_check_reset() 73 mod_timer(&sc_adapter[card]->reset_timer, jiffies + CHECKRESET_TIME); sc_check_reset() 116 mod_timer(&sc_adapter[card]->stat_timer, jiffies + CHECKSTAT_TIME); check_phystat()
|
/linux-4.1.27/drivers/ide/ |
H A D | ide-park.c | 4 #include <linux/jiffies.h> 16 timeout += jiffies; issue_park_cmd() 100 now = jiffies; ide_park_show()
|
/linux-4.1.27/drivers/staging/rtl8723au/os_dep/ |
H A D | recv_linux.c | 37 psecuritypriv->last_mic_err_time = jiffies; rtw_handle_tkip_mic_err23a() 39 cur_time = jiffies; rtw_handle_tkip_mic_err23a() 46 psecuritypriv->last_mic_err_time = jiffies; rtw_handle_tkip_mic_err23a()
|
/linux-4.1.27/arch/parisc/kernel/ |
H A D | binfmt_elf32.c | 99 unsigned long jiffies = cputime_to_jiffies(cputime); cputime_to_compat_timeval() local 100 value->tv_usec = (jiffies % HZ) * (1000000L / HZ); cputime_to_compat_timeval() 101 value->tv_sec = jiffies / HZ; cputime_to_compat_timeval()
|
H A D | vmlinux.lds.S | 39 jiffies = jiffies_64 + 4; define 41 jiffies = jiffies_64; define
|
/linux-4.1.27/arch/arm/mach-spear/ |
H A D | platsmp.c | 15 #include <linux/jiffies.h> 74 timeout = jiffies + (1 * HZ); spear13xx_boot_secondary() 75 while (time_before(jiffies, timeout)) { spear13xx_boot_secondary()
|
/linux-4.1.27/net/lapb/ |
H A D | lapb_timer.c | 24 #include <linux/jiffies.h> 47 lapb->t1timer.expires = jiffies + lapb->t1; lapb_start_t1timer() 58 lapb->t2timer.expires = jiffies + lapb->t2; lapb_start_t2timer()
|
/linux-4.1.27/mm/ |
H A D | backing-dev.c | 367 wb->last_old_flush = jiffies; bdi_wb_init() 404 bdi->bw_time_stamp = jiffies; bdi_init() 504 * @timeout: timeout in jiffies 506 * Waits for up to @timeout jiffies for a backing_dev (any backing_dev) to exit 513 unsigned long start = jiffies; congestion_wait() 522 jiffies_to_usecs(jiffies - start)); congestion_wait() 532 * @timeout: timeout in jiffies 536 * jiffies for either a BDI to exit congestion of the given @sync queue 543 * it is the number of jiffies that were still remaining when the function 549 unsigned long start = jiffies; wait_iff_congested() 563 ret = timeout - (jiffies - start); wait_iff_congested() 577 jiffies_to_usecs(jiffies - start)); wait_iff_congested()
|
/linux-4.1.27/net/sunrpc/ |
H A D | timer.c | 31 * @timeo: initial timeout value, in jiffies 55 * @m: recent actual RTT, in jiffies 67 /* jiffies wrapped; ignore this one */ rpc_update_rtt()
|
/linux-4.1.27/drivers/hwmon/ |
H A D | g760a.c | 19 #include <linux/jiffies.h> 49 unsigned long last_updated; /* In jiffies */ 93 if (time_after(jiffies, data->last_updated + G760A_UPDATE_INTERVAL) g760a_update_client() 101 data->last_updated = jiffies; g760a_update_client()
|
H A D | ltc4151.c | 39 #include <linux/jiffies.h> 54 unsigned long last_updated; /* in jiffies */ 72 if (time_after(jiffies, data->last_updated + HZ / 6) || !data->valid) { ltc4151_update_device() 91 data->last_updated = jiffies; ltc4151_update_device()
|
H A D | adt7411.c | 19 #include <linux/jiffies.h> 148 if (time_after_eq(jiffies, data->next_update)) { adt7411_show_input() 165 data->next_update = jiffies + HZ; adt7411_show_input() 210 data->next_update = jiffies; adt7411_set_bit() 305 data->next_update = jiffies; adt7411_probe()
|
H A D | htu21.c | 27 #include <linux/jiffies.h> 70 if (time_after(jiffies, htu21->last_update + HZ / 2) || htu21_update_measurements() 82 htu21->last_update = jiffies; htu21_update_measurements()
|
H A D | menf21bmc_hwmon.c | 21 #include <linux/jiffies.h> 63 if (time_after(jiffies, drv_data->last_update + HZ) menf21bmc_hwmon_update() 74 drv_data->last_update = jiffies; menf21bmc_hwmon_update()
|
H A D | sch5627.c | 25 #include <linux/jiffies.h> 89 unsigned long last_battery; /* In jiffies */ 91 unsigned long last_updated; /* In jiffies */ 106 if (time_after(jiffies, data->last_battery + 300 * HZ)) { sch5627_update_device() 109 data->last_battery = jiffies; sch5627_update_device() 113 if (time_after(jiffies, data->last_updated + HZ) || !data->valid) { sch5627_update_device() 148 data->last_updated = jiffies; sch5627_update_device() 554 data->last_battery = jiffies; sch5627_probe()
|
H A D | ds620.c | 26 #include <linux/jiffies.h> 73 unsigned long last_updated; /* In jiffies */ 115 if (time_after(jiffies, data->last_updated + HZ + HZ / 2) ds620_update_client() 133 data->last_updated = jiffies; ds620_update_client()
|
H A D | hih6130.c | 36 #include <linux/jiffies.h> 43 * @last_update: time of last update (jiffies) 123 if (time_after(jiffies, hih6130->last_update + HZ) || !hih6130->valid) { hih6130_update_measurements() 156 hih6130->last_update = jiffies; hih6130_update_measurements()
|
H A D | k8temp.c | 27 #include <linux/jiffies.h> 45 unsigned long last_updated; /* in jiffies */ 63 || time_after(jiffies, data->last_updated + HZ)) { k8temp_update_device() 91 data->last_updated = jiffies; k8temp_update_device()
|
/linux-4.1.27/drivers/net/ethernet/cisco/enic/ |
H A D | enic_clsf.h | 25 mod_timer(&enic->rfs_h.rfs_may_expire, jiffies + HZ/4); enic_rfs_timer_start()
|
/linux-4.1.27/drivers/net/wireless/ath/ath6kl/ |
H A D | recovery.c | 38 mod_timer(&ar->fw_recovery.hb_timer, jiffies + ath6kl_recovery_work() 94 mod_timer(&ar->fw_recovery.hb_timer, jiffies + ath6kl_recovery_hb_timer() 112 mod_timer(&ar->fw_recovery.hb_timer, jiffies + ath6kl_recovery_init() 159 jiffies + msecs_to_jiffies(ar->fw_recovery.hb_poll)); ath6kl_recovery_resume()
|
/linux-4.1.27/drivers/spi/ |
H A D | spi-bcm53xx.c | 47 deadline = jiffies + msecs_to_jiffies(BCM53XXSPI_SPE_TIMEOUT_MS); bcm53xxspi_wait() 53 } while (!time_after_eq(jiffies, deadline)); bcm53xxspi_wait() 59 deadline = jiffies + msecs_to_jiffies(timeout_ms); bcm53xxspi_wait() 69 } while (!time_after_eq(jiffies, deadline)); bcm53xxspi_wait()
|
/linux-4.1.27/arch/sh/kernel/ |
H A D | localtimer.c | 22 #include <linux/jiffies.h>
|
/linux-4.1.27/arch/unicore32/kernel/ |
H A D | vmlinux.lds.S | 22 jiffies = jiffies_64; define
|
/linux-4.1.27/drivers/char/ |
H A D | nwbutton.h | 14 #define BUTTON_DELAY 30 /* How many jiffies for sequence to end */
|
H A D | hangcheck-timer.c | 27 * jiffies does not notice. A timer is set. When the timer fires, it 161 mod_timer(&hangcheck_ticktock, jiffies + (hangcheck_tick*HZ)); hangcheck_fire() 175 mod_timer(&hangcheck_ticktock, jiffies + (hangcheck_tick*HZ)); hangcheck_init()
|
H A D | nwflash.c | 29 #include <linux/jiffies.h> 372 timeout = jiffies + 10 * HZ; erase_block() 374 while (!(c1 & 0x80) && time_before(jiffies, timeout)) { erase_block() 448 timeout = jiffies + 30 * HZ; write_block() 492 timeout1 = jiffies + 1 * HZ; write_block() 497 while (!(c1 & 0x80) && time_before(jiffies, timeout1)) write_block() 503 if (time_after_eq(jiffies, timeout1)) { write_block() 535 if (time_before(jiffies, timeout)) { write_block()
|
/linux-4.1.27/crypto/ |
H A D | xor.c | 23 #include <linux/jiffies.h> 82 j = jiffies; do_xor_speed() 84 while ((now = jiffies) == j) do_xor_speed() 86 while (time_before(jiffies, now + 1)) { do_xor_speed()
|
/linux-4.1.27/drivers/usb/host/ |
H A D | ohci-spear.c | 131 if (time_before(jiffies, ohci->next_statechange)) spear_ohci_hcd_drv_suspend() 133 ohci->next_statechange = jiffies; spear_ohci_hcd_drv_suspend() 150 if (time_before(jiffies, ohci->next_statechange)) spear_ohci_hcd_drv_resume() 152 ohci->next_statechange = jiffies; spear_ohci_hcd_drv_resume()
|
H A D | uhci-hub.c | 146 if (time_after_eq(jiffies, uhci->ports_timeout)) { uhci_check_ports() 168 uhci->ports_timeout = jiffies + uhci_check_ports() 177 } else if (time_after_eq(jiffies, uhci_check_ports() 219 uhci->auto_stop_time = jiffies + HZ; uhci_hub_status_data() 227 else if (time_after_eq(jiffies, uhci->auto_stop_time) && uhci_hub_status_data() 341 uhci->ports_timeout = jiffies + uhci_hub_control() 384 uhci->ports_timeout = jiffies + uhci_hub_control()
|
H A D | ohci-sm501.c | 15 #include <linux/jiffies.h> 225 if (time_before(jiffies, ohci->next_statechange)) ohci_sm501_suspend() 227 ohci->next_statechange = jiffies; ohci_sm501_suspend() 243 if (time_before(jiffies, ohci->next_statechange)) ohci_sm501_resume() 245 ohci->next_statechange = jiffies; ohci_sm501_resume()
|
/linux-4.1.27/include/target/iscsi/ |
H A D | iscsi_target_stat.h | 50 u64 last_fail_time; /* time stamp (jiffies) */
|
/linux-4.1.27/arch/mips/sgi-ip22/ |
H A D | ip22-reset.c | 96 mod_timer(&blink_timer, jiffies + data); blink_timeout() 104 debounce_timer.expires = jiffies + (HZ / 20); /* 0.05s */ debounce() 137 power_timer.expires = jiffies + POWERDOWN_TIMEOUT * HZ; power_button() 153 debounce_timer.expires = jiffies + 5; panel_int()
|
/linux-4.1.27/arch/alpha/kernel/ |
H A D | vmlinux.lds.S | 11 jiffies = jiffies_64; define
|
H A D | smp.c | 102 unsigned long stop = jiffies + 10*HZ; wait_boot_cpu_to_stop() 104 while (time_before(jiffies, stop)) { wait_boot_cpu_to_stop() 183 timeout = jiffies + 10*HZ; wait_for_txrdy() 184 while (time_before(jiffies, timeout)) { wait_for_txrdy() 343 timeout = jiffies + 10*HZ; secondary_cpu_start() 344 while (time_before(jiffies, timeout)) { secondary_cpu_start() 379 timeout = jiffies + 1*HZ; smp_boot_one_cpu() 380 while (time_before(jiffies, timeout)) { smp_boot_one_cpu()
|
/linux-4.1.27/drivers/staging/rtl8723au/core/ |
H A D | rtw_pwrctrl.c | 122 if (time_after_eq(adapter->pwrctrlpriv.ips_deny_time, jiffies)) rtw_pwr_unassociated_idle() 254 delta_time = jiffies - pwrpriv->DelayLPSLastTimeStamp; PS_RDY_CHECK() 337 start_time = jiffies; LPS_RF_ON_check23a() 351 if (time_after(jiffies, end_time)) { LPS_RF_ON_check23a() 472 pwrpriv->ips_deny_time = jiffies + msecs_to_jiffies(ms); rtw_set_ips_deny23a() 487 unsigned long start = jiffies; _rtw_pwr_wakeup23a() 490 new_deny_time = jiffies + msecs_to_jiffies(ips_deffer_ms); _rtw_pwr_wakeup23a() 498 jiffies_to_msecs(jiffies - start) <= 3000) _rtw_pwr_wakeup23a() 509 jiffies_to_msecs(jiffies - start) <= 4000) _rtw_pwr_wakeup23a() 521 (jiffies_to_msecs(jiffies - start) <= 3000)) { _rtw_pwr_wakeup23a() 562 new_deny_time = jiffies + msecs_to_jiffies(ips_deffer_ms); _rtw_pwr_wakeup23a()
|
H A D | rtw_sreset.c | 183 jiffies + msecs_to_jiffies(2000)); sreset_start_adapter() 195 unsigned long start = jiffies; rtw_sreset_reset() 213 jiffies_to_msecs(jiffies - start)); rtw_sreset_reset()
|
/linux-4.1.27/drivers/net/ethernet/8390/ |
H A D | zorro8390.c | 32 #include <linux/jiffies.h> 90 unsigned long reset_start_time = jiffies; zorro8390_reset_8390() 93 netif_dbg(ei_local, hw, dev, "resetting - t=%ld...\n", jiffies); zorro8390_reset_8390() 102 if (time_after(jiffies, reset_start_time + 2 * HZ / 100)) { zorro8390_reset_8390() 231 dma_start = jiffies; zorro8390_block_output() 234 if (time_after(jiffies, dma_start + 2 * HZ / 100)) { zorro8390_block_output() 308 unsigned long reset_start_time = jiffies; zorro8390_init() 313 if (time_after(jiffies, zorro8390_init()
|
H A D | apne.c | 40 #include <linux/jiffies.h> 222 { unsigned long reset_start_time = jiffies; apne_probe1() 227 if (time_after(jiffies, reset_start_time + 2*HZ/100)) { apne_probe1() 362 unsigned long reset_start_time = jiffies; apne_reset_8390() 367 netif_dbg(ei_local, hw, dev, "resetting the 8390 t=%ld...\n", jiffies); apne_reset_8390() 376 if (time_after(jiffies, reset_start_time + 2*HZ/100)) { apne_reset_8390() 521 dma_start = jiffies; apne_block_output() 524 if (time_after(jiffies, dma_start + 2*HZ/100)) { /* 20ms */ apne_block_output()
|
/linux-4.1.27/drivers/cpufreq/ |
H A D | ppc_cbe_cpufreq_pervasive.c | 69 time = jiffies; cbe_cpufreq_set_pmode() 94 time = jiffies - time; cbe_cpufreq_set_pmode()
|
H A D | ppc_cbe_cpufreq_pmi.c | 61 time = jiffies; cbe_cpufreq_set_pmode_pmi() 66 time = jiffies - time; cbe_cpufreq_set_pmode_pmi()
|
/linux-4.1.27/arch/microblaze/kernel/ |
H A D | vmlinux.lds.S | 19 jiffies = jiffies_64; define 21 jiffies = jiffies_64 + 4; define
|
/linux-4.1.27/drivers/pps/clients/ |
H A D | pps-ktimer.c | 51 mod_timer(&ktimer, jiffies + HZ); pps_ktimer_event() 89 mod_timer(&ktimer, jiffies + HZ); pps_ktimer_init()
|
/linux-4.1.27/arch/arm/mach-prima2/ |
H A D | platsmp.c | 97 timeout = jiffies + (1 * HZ); sirfsoc_boot_secondary() 98 while (time_before(jiffies, timeout)) { sirfsoc_boot_secondary()
|
/linux-4.1.27/arch/arm/mach-sti/ |
H A D | platsmp.c | 82 timeout = jiffies + (1 * HZ); sti_boot_secondary() 83 while (time_before(jiffies, timeout)) { sti_boot_secondary()
|
/linux-4.1.27/drivers/scsi/fnic/ |
H A D | fnic_isr.c | 40 fnic->fnic_stats.misc_stats.last_isr_time = jiffies; fnic_isr_legacy() 72 fnic->fnic_stats.misc_stats.last_isr_time = jiffies; fnic_isr_msi() 92 fnic->fnic_stats.misc_stats.last_isr_time = jiffies; fnic_isr_msix_rq() 109 fnic->fnic_stats.misc_stats.last_isr_time = jiffies; fnic_isr_msix_wq() 125 fnic->fnic_stats.misc_stats.last_isr_time = jiffies; fnic_isr_msix_wq_copy() 140 fnic->fnic_stats.misc_stats.last_isr_time = jiffies; fnic_isr_msix_err_notify()
|
H A D | fnic_trace.h | 92 trace_buf->timestamp.low = jiffies; \ 95 trace_buf->timestamp.val = jiffies; \
|
/linux-4.1.27/drivers/staging/rtl8192e/rtl8192e/ |
H A D | r8192E_firmware.c | 110 timeout = jiffies + msecs_to_jiffies(200); CPUcheck_maincodeok_turnonCPU() 111 while (time_before(jiffies, timeout)) { CPUcheck_maincodeok_turnonCPU() 130 timeout = jiffies + msecs_to_jiffies(200); CPUcheck_maincodeok_turnonCPU() 131 while (time_before(jiffies, timeout)) { CPUcheck_maincodeok_turnonCPU() 158 timeout = jiffies + msecs_to_jiffies(20); CPUcheck_firmware_ready() 159 while (time_before(jiffies, timeout)) { CPUcheck_firmware_ready()
|
H A D | rtl_ps.c | 101 if ((time - jiffies) <= msecs_to_jiffies(MIN_SLEEP_TIME)) { rtl8192_hw_to_sleep() 104 time - jiffies, msecs_to_jiffies(MIN_SLEEP_TIME)); rtl8192_hw_to_sleep() 108 if ((time - jiffies) > msecs_to_jiffies(MAX_SLEEP_TIME)) { rtl8192_hw_to_sleep() 110 time - jiffies, msecs_to_jiffies(MAX_SLEEP_TIME)); rtl8192_hw_to_sleep() 114 tmp = time - jiffies; rtl8192_hw_to_sleep()
|
/linux-4.1.27/net/atm/ |
H A D | clip.c | 82 entry->neigh->used = jiffies; link_vcc() 95 entry->neigh->used = jiffies; unlink_clip_vcc() 106 entry->expires = jiffies - 1; unlink_clip_vcc() 130 if (cv->idle_timeout && time_after(jiffies, exp)) { neigh_check_cb() 137 if (entry->vccs || time_before(jiffies, entry->expires)) neigh_check_cb() 160 mod_timer(&idle_timer, jiffies + CLIP_CHECK_INTERVAL * HZ); idle_timer_check() 232 clip_vcc->last_use = jiffies; clip_push() 304 entry->expires = jiffies - 1; clip_constructor() 358 if (time_after(jiffies, entry->expires)) { clip_start_xmit() 360 entry->expires = jiffies + ATMARP_RETRY_DELAY * HZ; clip_start_xmit() 383 entry->vccs->last_use = jiffies; clip_start_xmit() 428 clip_vcc->last_use = jiffies; clip_mkip() 638 mod_timer(&idle_timer, jiffies + CLIP_CHECK_INTERVAL * HZ); atm_init_atmarp() 751 exp = (jiffies - exp) / HZ; atmarp_info() 763 if (time_before(jiffies, entry->expires)) atmarp_info()
|
/linux-4.1.27/drivers/mtd/chips/ |
H A D | cfi_cmdset_0020.c | 264 timeo = jiffies + HZ; do_read_onechip() 291 if (time_after(jiffies, timeo)) { do_read_onechip() 336 if (time_after(jiffies, timeo)) { do_read_onechip() 356 timeo = jiffies + HZ; do_read_onechip() 439 timeo = jiffies + HZ; do_write_buffer() 469 if (time_after(jiffies, timeo)) { do_write_buffer() 489 timeo = jiffies + HZ; do_write_buffer() 536 timeo = jiffies + (HZ/2); do_write_buffer() 546 timeo = jiffies + (HZ / 2); /* FIXME */ do_write_buffer() 556 if (time_after(jiffies, timeo)) { do_write_buffer() 745 timeo = jiffies + HZ; do_erase_oneblock() 763 if (time_after(jiffies, timeo)) { do_erase_oneblock() 782 timeo = jiffies + HZ; do_erase_oneblock() 802 timeo = jiffies + (HZ*20); do_erase_oneblock() 811 timeo = jiffies + (HZ*20); /* FIXME */ do_erase_oneblock() 821 if (time_after(jiffies, timeo)) { do_erase_oneblock() 874 timeo = jiffies + HZ; do_erase_oneblock() 1036 unsigned long timeo = jiffies + HZ; do_lock_oneblock() 1044 timeo = jiffies + HZ; do_lock_oneblock() 1062 if (time_after(jiffies, timeo)) { do_lock_oneblock() 1081 timeo = jiffies + HZ; do_lock_oneblock() 1097 timeo = jiffies + (HZ*2); do_lock_oneblock() 1105 if (time_after(jiffies, timeo)) { do_lock_oneblock() 1182 unsigned long timeo = jiffies + HZ; do_unlock_oneblock() 1190 timeo = jiffies + HZ; do_unlock_oneblock() 1208 if (time_after(jiffies, timeo)) { do_unlock_oneblock() 1227 timeo = jiffies + HZ; do_unlock_oneblock() 1243 timeo = jiffies + (HZ*2); do_unlock_oneblock() 1251 if (time_after(jiffies, timeo)) { do_unlock_oneblock()
|
/linux-4.1.27/drivers/cdrom/ |
H A D | gdrom.c | 155 unsigned long timeout = jiffies + GDROM_DEFAULT_TIMEOUT; gdrom_wait_clrbusy() 157 (time_before(jiffies, timeout))) gdrom_wait_clrbusy() 159 return time_before(jiffies, timeout + 1); gdrom_wait_clrbusy() 166 timeout = jiffies + GDROM_DEFAULT_TIMEOUT; gdrom_wait_busy_sleeps() 167 while (!gdrom_is_busy() && time_before(jiffies, timeout)) gdrom_wait_busy_sleeps() 213 timeout = jiffies + GDROM_DEFAULT_TIMEOUT; gdrom_spicommand() 215 while (!gdrom_data_request() && time_before(jiffies, timeout)) gdrom_spicommand() 217 if (!time_before(jiffies, timeout + 1)) { gdrom_spicommand() 624 timeout = jiffies + HZ / 2; gdrom_readdisk_dma() 625 while (gdrom_is_busy() && time_before(jiffies, timeout)) gdrom_readdisk_dma() 628 timeout = jiffies + HZ / 2; gdrom_readdisk_dma() 630 while (gdrom_is_busy() && time_before(jiffies, timeout)) gdrom_readdisk_dma() 635 timeout = jiffies + HZ / 2; gdrom_readdisk_dma() 638 time_before(jiffies, timeout)) gdrom_readdisk_dma()
|
/linux-4.1.27/drivers/dma/ioat/ |
H A D | dma_v2.c | 167 mod_timer(&chan->timer, jiffies + IDLE_TIMEOUT); __cleanup() 205 mod_timer(&chan->timer, jiffies + COMPLETION_TIMEOUT); __ioat2_restart_chan() 223 unsigned long end = jiffies + tmo; ioat2_quiesce() 231 if (tmo && time_after(jiffies, end)) { ioat2_quiesce() 244 unsigned long end = jiffies + tmo; ioat2_reset_sync() 249 if (end && time_after(jiffies, end)) { ioat2_reset_sync() 276 mod_timer(&chan->timer, jiffies + COMPLETION_TIMEOUT); check_active() 281 mod_timer(&chan->timer, jiffies + IDLE_TIMEOUT); check_active() 292 mod_timer(&chan->timer, jiffies + IDLE_TIMEOUT); check_active() 336 mod_timer(&chan->timer, jiffies + COMPLETION_TIMEOUT); ioat2_timer_event() 341 mod_timer(&chan->timer, jiffies + COMPLETION_TIMEOUT); ioat2_timer_event() 422 mod_timer(&chan->timer, jiffies + COMPLETION_TIMEOUT); ioat2_tx_submit_unlock() 738 mod_timer(&chan->timer, jiffies + COMPLETION_TIMEOUT); ioat2_check_space_lock()
|
/linux-4.1.27/drivers/input/ |
H A D | ff-memless.c | 33 #include <linux/jiffies.h> 127 unsigned long now = jiffies; ml_schedule_timer() 168 unsigned long now = jiffies; apply_envelope() 359 if (time_before(jiffies, state->play_at)) ml_get_combo_effect() 380 time_after_eq(jiffies, state->stop_at)) { ml_get_combo_effect() 387 state->play_at = jiffies + ml_get_combo_effect() 394 state->adj_at = jiffies; ml_get_combo_effect() 457 state->play_at = jiffies + ml_ff_playback() 487 state->play_at = jiffies + ml_ff_upload()
|
/linux-4.1.27/drivers/media/pci/ttpci/ |
H A D | av7110_hw.c | 321 start = jiffies; av7110_wait_msgstate() 323 err = time_after(jiffies, start + ARM_WAIT_FREE); av7110_wait_msgstate() 356 start = jiffies; __av7110_send_fw_cmd() 358 err = time_after(jiffies, start + ARM_WAIT_FREE); __av7110_send_fw_cmd() 373 start = jiffies; __av7110_send_fw_cmd() 375 err = time_after(jiffies, start + ARM_WAIT_SHAKE); __av7110_send_fw_cmd() 413 start = jiffies; __av7110_send_fw_cmd() 415 err = time_after(jiffies, start + ARM_WAIT_FREE); __av7110_send_fw_cmd() 448 start = jiffies; __av7110_send_fw_cmd() 450 err = time_after(jiffies, start + ARM_WAIT_FREE); __av7110_send_fw_cmd() 577 start = jiffies; av7110_fw_request() 579 err = time_after(jiffies, start + ARM_WAIT_FREE); av7110_fw_request() 593 start = jiffies; av7110_fw_request() 595 err = time_after(jiffies, start + ARM_WAIT_SHAKE); av7110_fw_request() 742 start = jiffies; FlushText() 744 err = time_after(jiffies, start + ARM_WAIT_OSD); FlushText() 769 start = jiffies; WriteText() 771 ret = time_after(jiffies, start + ARM_WAIT_OSD); WriteText() 783 start = jiffies; WriteText() 785 ret = time_after(jiffies, start + ARM_WAIT_SHAKE); WriteText()
|
/linux-4.1.27/drivers/power/ |
H A D | s3c_adc_battery.c | 19 #include <linux/jiffies.h> 84 jiffies_to_msecs(jiffies - bat->timestamp) > s3c_adc_backup_bat_get_property() 90 bat->timestamp = jiffies; s3c_adc_backup_bat_get_property() 160 jiffies_to_msecs(jiffies - bat->timestamp) > s3c_adc_bat_get_property() 168 bat->timestamp = jiffies; s3c_adc_bat_get_property()
|
H A D | pda_power.c | 22 #include <linux/jiffies.h> 165 jiffies + msecs_to_jiffies(pdata->wait_for_charger)); psy_changed() 188 jiffies + msecs_to_jiffies(pdata->wait_for_status)); power_changed_isr() 215 jiffies + msecs_to_jiffies(pdata->polling_interval)); polling_timer_func() 254 jiffies + msecs_to_jiffies(pdata->wait_for_status)); otg_handle_notification() 390 jiffies + msecs_to_jiffies(pdata->polling_interval)); pda_power_probe()
|
/linux-4.1.27/net/dccp/ |
H A D | timer.c | 138 jiffies + (HZ / 20)); dccp_write_timer() 145 if (time_after(icsk->icsk_timeout, jiffies)) { dccp_write_timer() 184 jiffies + TCP_DELACK_MIN); dccp_delack_timer() 191 if (time_after(icsk->icsk_ack.timeout, jiffies)) { dccp_delack_timer() 229 sk_reset_timer(sk, &dccp_sk(sk)->dccps_xmit_timer, jiffies + 1); dccp_write_xmitlet()
|
/linux-4.1.27/net/mac80211/ |
H A D | mesh_hwmp.c | 251 if (time_before(jiffies, ifmsh->next_perr)) mesh_path_error_tx() 543 if (time_after(jiffies, ifmsh->last_sn_update + hwmp_preq_frame_process() 545 time_before(jiffies, ifmsh->last_sn_update)) { hwmp_preq_frame_process() 547 ifmsh->last_sn_update = jiffies; hwmp_preq_frame_process() 560 ifmsh->last_sn_update = jiffies; hwmp_preq_frame_process() 813 (time_after(jiffies, mpath->last_preq_to_root + hwmp_rann_frame_process() 815 time_before(jiffies, mpath->last_preq_to_root))) && hwmp_rann_frame_process() 821 mpath->last_preq_to_root = jiffies; hwmp_rann_frame_process() 954 if (time_after(jiffies, ifmsh->last_preq + min_preq_int_jiff(sdata))) mesh_queue_preq() 957 else if (time_before(jiffies, ifmsh->last_preq)) { mesh_queue_preq() 959 * and jiffies wrapped around mesh_queue_preq() 961 ifmsh->last_preq = jiffies - min_preq_int_jiff(sdata) - 1; mesh_queue_preq() 984 time_before(jiffies, ifmsh->last_preq + mesh_path_start_discovery() 1020 ifmsh->last_preq = jiffies; mesh_path_start_discovery() 1022 if (time_after(jiffies, ifmsh->last_sn_update + mesh_path_start_discovery() 1024 time_before(jiffies, ifmsh->last_sn_update)) { mesh_path_start_discovery() 1026 sdata->u.mesh.last_sn_update = jiffies; mesh_path_start_discovery() 1046 mod_timer(&mpath->timer, jiffies + mpath->discovery_timeout); mesh_path_start_discovery() 1138 if (time_after(jiffies, mesh_nexthop_lookup() 1181 mpath->exp_time = jiffies; mesh_path_timer()
|
/linux-4.1.27/drivers/staging/rtl8188eu/os_dep/ |
H A D | recv_linux.c | 63 psecuritypriv->last_mic_err_time = jiffies; rtw_handle_tkip_mic_err() 65 cur_time = jiffies; rtw_handle_tkip_mic_err() 72 psecuritypriv->last_mic_err_time = jiffies; rtw_handle_tkip_mic_err()
|
H A D | osdep_service.c | 80 /* the input parameter start must be in jiffies */ rtw_get_passing_time_ms() 83 return jiffies_to_msecs(jiffies-start); rtw_get_passing_time_ms()
|
/linux-4.1.27/drivers/infiniband/hw/mthca/ |
H A D | mthca_catas.c | 33 #include <linux/jiffies.h> 145 round_jiffies(jiffies + MTHCA_CATAS_POLL_INTERVAL)); poll_catas() 169 dev->catas_err.timer.expires = jiffies + MTHCA_CATAS_POLL_INTERVAL; mthca_start_catas_poll()
|
/linux-4.1.27/block/ |
H A D | blk-timeout.c | 116 if (time_after_eq(jiffies, rq->deadline)) { blk_rq_check_expired() 173 maxt = round_jiffies_up(jiffies + BLK_MAX_TIMEOUT); blk_rq_timeout() 209 req->deadline = jiffies + req->timeout; blk_add_timer()
|
/linux-4.1.27/drivers/char/hw_random/ |
H A D | iproc-rng200.c | 105 unsigned long idle_endtime = jiffies + MAX_IDLE_TIME; iproc_rng200_read() 107 while ((num_remaining > 0) && time_before(jiffies, idle_endtime)) { iproc_rng200_read() 141 idle_endtime = jiffies + MAX_IDLE_TIME; iproc_rng200_read()
|
H A D | timeriomem-rng.c | 31 #include <linux/jiffies.h> 74 cur = jiffies; timeriomem_rng_data_read() 148 priv->expires = jiffies; timeriomem_rng_probe()
|
/linux-4.1.27/drivers/w1/masters/ |
H A D | mxc_w1.c | 18 #include <linux/jiffies.h> 56 timeout = jiffies + usecs_to_jiffies(1500); mxc_w1_ds2_reset_bus() 84 timeout = jiffies + usecs_to_jiffies(200); mxc_w1_ds2_touch_bit()
|
/linux-4.1.27/fs/lockd/ |
H A D | host.c | 113 unsigned long now = jiffies; nlm_alloc_host() 348 if (time_after_eq(jiffies, ln->next_gc)) nlmsvc_lookup_host() 432 if (time_after_eq(jiffies, host->h_nextrebind)) { nlm_bind_host() 434 host->h_nextrebind = jiffies + NLM_HOST_REBIND; nlm_bind_host() 435 dprintk("lockd: next rebind in %lu jiffies\n", nlm_bind_host() 436 host->h_nextrebind - jiffies); nlm_bind_host() 492 if (host->h_rpcclnt && time_after_eq(jiffies, host->h_nextrebind)) { nlm_rebind_host() 494 host->h_nextrebind = jiffies + NLM_HOST_REBIND; nlm_rebind_host() 506 host->h_expires = jiffies + NLM_HOST_EXPIRE; nlm_get_host() 609 host->h_expires = jiffies - 1; for_each_host() 660 || time_before(jiffies, host->h_expires)) { for_each_host_safe() 673 ln->next_gc = jiffies + NLM_HOST_COLLECT;
|
/linux-4.1.27/arch/blackfin/kernel/ |
H A D | nmi.c | 28 #define NMI_CHECK_TIMEOUT (4 * HZ) /* 4 seconds in jiffies */ 173 mod_timer(&ntimer, jiffies + NMI_CHECK_TIMEOUT); nmi_wdt_timer() 184 ntimer.expires = jiffies + NMI_CHECK_TIMEOUT; init_nmi_wdt()
|
/linux-4.1.27/arch/arm/mach-zynq/ |
H A D | platsmp.c | 22 #include <linux/jiffies.h> 129 unsigned long timeout = jiffies + msecs_to_jiffies(50); zynq_cpu_kill() 132 if (time_after(jiffies, timeout)) zynq_cpu_kill()
|
/linux-4.1.27/Documentation/connector/ |
H A D | cn_test.c | 41 __func__, jiffies, msg->id.idx, msg->id.val, cn_test_callback() 154 mod_timer(&cn_test_timer, jiffies + msecs_to_jiffies(1000)); cn_test_timer_func() 172 mod_timer(&cn_test_timer, jiffies + msecs_to_jiffies(1000)); cn_test_init()
|
/linux-4.1.27/kernel/power/ |
H A D | suspend_test.c | 30 /* FIXME Use better timebase than "jiffies", ideally a clocksource. suspend_test_start() 34 suspend_test_start_time = jiffies; suspend_test_start() 39 long nj = jiffies - suspend_test_start_time; suspend_test_finish()
|
/linux-4.1.27/net/netfilter/ipvs/ |
H A D | ip_vs_est.c | 23 #include <linux/jiffies.h> 140 mod_timer(&ipvs->est_timer, jiffies + 2*HZ); estimation_timer() 202 mod_timer(&ipvs->est_timer, jiffies + 2 * HZ); ip_vs_estimator_net_init()
|
/linux-4.1.27/net/sched/ |
H A D | act_connmark.c | 44 ca->tcf_tm.lastuse = jiffies; tcf_connmark() 154 t.install = jiffies_to_clock_t(jiffies - ci->tcf_tm.install); tcf_connmark_dump() 155 t.lastuse = jiffies_to_clock_t(jiffies - ci->tcf_tm.lastuse); tcf_connmark_dump()
|
H A D | act_gact.c | 136 gact->tcf_tm.lastuse = jiffies; tcf_gact() 168 t.install = jiffies_to_clock_t(jiffies - gact->tcf_tm.install); tcf_gact_dump() 169 t.lastuse = jiffies_to_clock_t(jiffies - gact->tcf_tm.lastuse); tcf_gact_dump()
|
H A D | act_mirred.c | 138 m->tcf_tm.lastuse = jiffies; tcf_mirred() 202 t.install = jiffies_to_clock_t(jiffies - m->tcf_tm.install); tcf_mirred_dump() 203 t.lastuse = jiffies_to_clock_t(jiffies - m->tcf_tm.lastuse); tcf_mirred_dump()
|
H A D | act_pedit.c | 121 p->tcf_tm.lastuse = jiffies; tcf_pedit() 203 t.install = jiffies_to_clock_t(jiffies - p->tcf_tm.install); tcf_pedit_dump() 204 t.lastuse = jiffies_to_clock_t(jiffies - p->tcf_tm.lastuse); tcf_pedit_dump()
|
H A D | act_simple.c | 36 d->tcf_tm.lastuse = jiffies; tcf_simp() 151 t.install = jiffies_to_clock_t(jiffies - d->tcf_tm.install); tcf_simp_dump() 152 t.lastuse = jiffies_to_clock_t(jiffies - d->tcf_tm.lastuse); tcf_simp_dump()
|
H A D | act_skbedit.c | 38 d->tcf_tm.lastuse = jiffies; tcf_skbedit() 163 t.install = jiffies_to_clock_t(jiffies - d->tcf_tm.install); tcf_skbedit_dump() 164 t.lastuse = jiffies_to_clock_t(jiffies - d->tcf_tm.lastuse); tcf_skbedit_dump()
|
H A D | act_vlan.c | 32 v->tcf_tm.lastuse = jiffies; tcf_vlan() 171 t.install = jiffies_to_clock_t(jiffies - v->tcf_tm.install); tcf_vlan_dump() 172 t.lastuse = jiffies_to_clock_t(jiffies - v->tcf_tm.lastuse); tcf_vlan_dump()
|
H A D | sch_sfb.c | 60 unsigned long warmup_time; /* double buffering warmup time in jiffies */ 242 unsigned long age = min(10UL * HZ, jiffies - q->token_time); sfb_rate_limit() 247 q->token_time = jiffies; sfb_rate_limit() 301 if (unlikely(time_after(jiffies, limit))) { sfb_enqueue() 303 q->rehash_time = jiffies; sfb_enqueue() 305 time_after(jiffies, limit - q->warmup_time))) { sfb_enqueue() 527 q->rehash_time = jiffies; sfb_change() 536 q->token_time = jiffies; sfb_change()
|
/linux-4.1.27/drivers/media/tuners/ |
H A D | it913x.c | 90 timeout = jiffies + msecs_to_jiffies(TIMEOUT); it913x_init() 91 while (!time_after(jiffies, timeout)) { it913x_init() 102 jiffies_to_msecs(jiffies) - it913x_init() 118 timeout = jiffies + msecs_to_jiffies(TIMEOUT); it913x_init() 119 while (!time_after(jiffies, timeout)) { it913x_init() 129 jiffies_to_msecs(jiffies) - it913x_init()
|
/linux-4.1.27/drivers/staging/gdm72xx/ |
H A D | sdio_boot.c | 44 unsigned long wait = jiffies + HZ; ack_ready() 48 while (time_before(jiffies, wait)) { ack_ready()
|
/linux-4.1.27/drivers/staging/lustre/include/linux/libcfs/linux/ |
H A D | linux-time.h | 60 #include <linux/jiffies.h> 75 return jiffies; cfs_time_current()
|
/linux-4.1.27/drivers/gpu/drm/tegra/ |
H A D | sor.c | 220 timeout = jiffies + msecs_to_jiffies(timeout); tegra_sor_setup_pwm() 222 while (time_before(jiffies, timeout)) { tegra_sor_setup_pwm() 250 timeout = jiffies + msecs_to_jiffies(250); tegra_sor_attach() 252 while (time_before(jiffies, timeout)) { tegra_sor_attach() 267 timeout = jiffies + msecs_to_jiffies(250); tegra_sor_wakeup() 270 while (time_before(jiffies, timeout)) { tegra_sor_wakeup() 291 timeout = jiffies + msecs_to_jiffies(timeout); tegra_sor_power_up() 293 while (time_before(jiffies, timeout)) { tegra_sor_power_up() 489 timeout = jiffies + msecs_to_jiffies(250); tegra_sor_detach() 491 while (time_before(jiffies, timeout)) { tegra_sor_detach() 512 timeout = jiffies + msecs_to_jiffies(250); tegra_sor_detach() 514 while (time_before(jiffies, timeout)) { tegra_sor_detach() 538 timeout = jiffies + msecs_to_jiffies(250); tegra_sor_power_down() 540 while (time_before(jiffies, timeout)) { tegra_sor_power_down() 565 timeout = jiffies + msecs_to_jiffies(250); tegra_sor_power_down() 567 while (time_before(jiffies, timeout)) { tegra_sor_power_down() 615 timeout = jiffies + msecs_to_jiffies(timeout); tegra_sor_crc_wait() 617 while (time_before(jiffies, timeout)) { tegra_sor_crc_wait()
|
/linux-4.1.27/include/net/irda/ |
H A D | timer.h | 31 #include <linux/jiffies.h> 86 mod_timer(ptimer, jiffies + timeout); irda_start_timer()
|
/linux-4.1.27/arch/mips/sgi-ip32/ |
H A D | ip32-reset.c | 77 mod_timer(&blink_timer, jiffies + data); blink_timeout() 106 power_timer.expires = jiffies + POWERDOWN_TIMEOUT * HZ; ip32_prepare_poweroff()
|
/linux-4.1.27/arch/blackfin/mach-bf561/ |
H A D | smp.c | 93 timeout = jiffies + HZ; platform_boot_secondary() 96 while (time_before(jiffies, timeout)) { platform_boot_secondary()
|
/linux-4.1.27/arch/arm/mach-omap2/ |
H A D | omap_phy_internal.c | 88 unsigned long timeout = jiffies + msecs_to_jiffies(100); am35x_musb_phy_power() 107 if (time_after(jiffies, timeout)) { am35x_musb_phy_power()
|
/linux-4.1.27/arch/arc/kernel/ |
H A D | vmlinux.lds.S | 18 jiffies = jiffies_64 + 4; define 20 jiffies = jiffies_64; define
|
/linux-4.1.27/drivers/misc/cxl/ |
H A D | native.c | 27 unsigned long timeout = jiffies + (HZ * CXL_TIMEOUT); afu_control() 39 if (time_after_eq(jiffies, timeout)) { afu_control() 99 unsigned long timeout = jiffies + (HZ * CXL_TIMEOUT); cxl_psl_purge() 117 if (time_after_eq(jiffies, timeout)) { cxl_psl_purge() 206 unsigned long timeout = jiffies + (HZ * CXL_TIMEOUT); cxl_tlb_slb_invalidate() 214 if (time_after_eq(jiffies, timeout)) { cxl_tlb_slb_invalidate() 223 if (time_after_eq(jiffies, timeout)) { cxl_tlb_slb_invalidate() 234 unsigned long timeout = jiffies + (HZ * CXL_TIMEOUT); cxl_afu_slbia() 239 if (time_after_eq(jiffies, timeout)) { cxl_afu_slbia() 293 unsigned long timeout = jiffies + (HZ * CXL_TIMEOUT); do_process_element_cmd() 306 if (time_after_eq(jiffies, timeout)) { do_process_element_cmd()
|
/linux-4.1.27/drivers/net/wireless/iwlegacy/ |
H A D | 3945-rs.c | 167 if (time_after(jiffies, rs_sta->win[i].stamp + RATE_WIN_FLUSH)) { il3945_rate_scale_flush_wins() 205 jiffies_to_msecs(jiffies - rs_sta->last_partial_flush); il3945_bg_rate_scale_flush() 230 jiffies + rs_sta->flush_time); il3945_bg_rate_scale_flush() 232 rs_sta->last_partial_flush = jiffies; il3945_bg_rate_scale_flush() 240 rs_sta->last_flush = jiffies; il3945_bg_rate_scale_flush() 325 win->stamp = jiffies; il3945_collect_tx_data() 358 rs_sta->last_partial_flush = jiffies; il3945_rs_rate_init() 359 rs_sta->last_flush = jiffies; il3945_rs_rate_init() 529 time_after(jiffies, rs_sta->last_flush + rs_sta->flush_time)) { il3945_rs_tx_status() 531 rs_sta->last_partial_flush = jiffies; il3945_rs_tx_status() 534 jiffies + rs_sta->flush_time); il3945_rs_tx_status()
|
/linux-4.1.27/kernel/ |
H A D | torture.c | 114 starttime = jiffies; torture_onoff() 128 delta = jiffies - starttime; torture_onoff() 144 starttime = jiffies; torture_onoff() 158 delta = jiffies - starttime; torture_onoff() 272 static long shuffle_interval; /* In jiffies. */ 364 * Start the shuffler, with shuffint in jiffies. 403 static unsigned long shutdown_time; /* jiffies to system shutdown. */ 430 jiffies_snap = jiffies; torture_shutdown() 436 "torture_shutdown task: %lu jiffies remaining\n", torture_shutdown() 439 jiffies_snap = jiffies; torture_shutdown() 468 shutdown_time = jiffies + shutdown_secs * HZ; torture_shutdown_init()
|