Home
last modified time | relevance | path

Searched refs:jiffies (Results 1 – 25 of 4921) sorted by relevance

12345678910>>...197

/linux/drivers/staging/rtl8712/
A Drtl8712_led.c1043 jiffies + msecs_to_jiffies(0)); in SwLedControlMode1()
1084 jiffies + msecs_to_jiffies(0)); in SwLedControlMode1()
1154 jiffies + msecs_to_jiffies(0)); in SwLedControlMode2()
1181 jiffies + msecs_to_jiffies(0)); in SwLedControlMode2()
1189 jiffies + msecs_to_jiffies(0)); in SwLedControlMode2()
1217 jiffies + msecs_to_jiffies(0)); in SwLedControlMode2()
1285 jiffies + msecs_to_jiffies(0)); in SwLedControlMode3()
1334 jiffies + msecs_to_jiffies(0)); in SwLedControlMode3()
1361 jiffies + msecs_to_jiffies(0)); in SwLedControlMode3()
1655 jiffies + msecs_to_jiffies(0)); in SwLedControlMode5()
[all …]
/linux/init/
A Dcalibrate.c73 start_jiffies = jiffies; in calibrate_delay_direct()
74 while (time_before_eq(jiffies, start_jiffies + 1)) { in calibrate_delay_direct()
82 while (time_before_eq(jiffies, start_jiffies + 1 + in calibrate_delay_direct()
196 ticks = jiffies; in calibrate_delay_converge()
197 while (ticks == jiffies) in calibrate_delay_converge()
200 ticks = jiffies; in calibrate_delay_converge()
208 } while (ticks == jiffies); in calibrate_delay_converge()
228 ticks = jiffies; in calibrate_delay_converge()
229 while (ticks == jiffies) in calibrate_delay_converge()
231 ticks = jiffies; in calibrate_delay_converge()
[all …]
/linux/kernel/rcu/
A Dtree_stall.h64 unsigned long j = jiffies; in rcu_gp_might_be_stalled()
129 jiffies + rcu_jiffies_till_stall_check()); in rcu_cpu_stall_reset()
139 unsigned long j = jiffies; in record_gp_stall_check_time()
155 WRITE_ONCE(rdp->last_fqs_resched, jiffies); in zero_cpu_stall_ticks()
572 j = jiffies; in print_other_cpu_stall()
621 jiffies - gps, in print_cpu_stall()
665 j = jiffies; in check_cpu_stall()
697 jn = jiffies + ULONG_MAX / 2; in check_cpu_stall()
818 j = jiffies; in show_rcu_gp_kthreads()
894 j = jiffies; in rcu_check_gp_start_stall()
[all …]
/linux/kernel/
A Dhung_task.c109 t->last_switch_time = jiffies; in check_hung_task()
131 t->comm, t->pid, (jiffies - t->last_switch_time) / HZ); in check_hung_task()
179 unsigned long last_break = jiffies; in check_hung_uninterruptible_tasks()
194 if (time_after(jiffies, last_break + HUNG_TASK_LOCK_BREAK)) { in check_hung_uninterruptible_tasks()
197 last_break = jiffies; in check_hung_uninterruptible_tasks()
221 return timeout ? last_checked - jiffies + timeout * HZ : in hung_timeout_jiffies()
279 unsigned long hung_last_checked = jiffies; in watchdog()
296 hung_last_checked = jiffies; in watchdog()
/linux/kernel/sched/
A Dloadavg.c223 if (!time_before(jiffies, READ_ONCE(calc_load_update))) in calc_load_write_idx()
272 if (time_before(jiffies, this_rq->calc_load_update)) in calc_load_nohz_stop()
280 if (time_before(jiffies, this_rq->calc_load_update + 10)) in calc_load_nohz_stop()
310 if (!time_before(jiffies, sample_window + 10)) { in calc_global_nohz()
314 delta = jiffies - sample_window - 10; in calc_global_nohz()
356 if (time_before(jiffies, sample_window + 10)) in calc_global_load()
390 if (time_before(jiffies, this_rq->calc_load_update)) in calc_global_load_tick()
/linux/drivers/char/tpm/
A Dtpm_tis_spi_cr50.c79 unsigned long time_now = jiffies; in cr50_ensure_access_delay()
125 return !time_in_range_open(jiffies, phy->last_access, in cr50_needs_waking()
149 phy->wake_after = jiffies + msecs_to_jiffies(CR50_SLEEP_DELAY_MSEC); in cr50_wake_if_needed()
163 unsigned long timeout = jiffies + CR50_FLOW_CONTROL; in cr50_spi_flow_control()
176 if (time_after(jiffies, timeout)) { in cr50_spi_flow_control()
202 cr50_phy->last_access = jiffies; in tpm_tis_spi_cr50_transfer()
266 phy->wake_after = jiffies; in cr50_spi_probe()
270 cr50_phy->last_access = jiffies; in cr50_spi_probe()
323 phy->wake_after = jiffies; in tpm_tis_spi_resume()
/linux/net/x25/
A Dx25_timer.c39 mod_timer(&sk->sk_timer, jiffies + 5 * HZ); in x25_start_heartbeat()
51 mod_timer(&x25->timer, jiffies + x25->t2); in x25_start_t2timer()
58 mod_timer(&x25->timer, jiffies + x25->t21); in x25_start_t21timer()
65 mod_timer(&x25->timer, jiffies + x25->t22); in x25_start_t22timer()
72 mod_timer(&x25->timer, jiffies + x25->t23); in x25_start_t23timer()
87 return x25->timer.expires - jiffies; in x25_display_timer()
/linux/drivers/net/wireguard/
A Dtimers.c62 jiffies + REJECT_AFTER_TIME * 3 * HZ); in wg_expired_retransmit_handshake()
87 jiffies + KEEPALIVE_TIMEOUT * HZ); in wg_expired_send_keepalive()
149 jiffies + (KEEPALIVE_TIMEOUT + REKEY_TIMEOUT) * HZ + in wg_timers_data_sent()
159 jiffies + KEEPALIVE_TIMEOUT * HZ); in wg_timers_data_received()
185 jiffies + REKEY_TIMEOUT * HZ + in wg_timers_handshake_initiated()
206 jiffies + REJECT_AFTER_TIME * 3 * HZ); in wg_timers_session_derived()
216 jiffies + peer->persistent_keepalive_interval * HZ); in wg_timers_any_authenticated_packet_traversal()
/linux/net/netfilter/
A Dnft_last.c40 priv->last_jiffies = jiffies - (unsigned long)last_jiffies; in nft_last_init()
51 if (READ_ONCE(priv->last_jiffies) != jiffies) in nft_last_eval()
52 WRITE_ONCE(priv->last_jiffies, jiffies); in nft_last_eval()
64 if (time_before(jiffies, last_jiffies)) { in nft_last_dump()
70 msecs = nf_jiffies64_to_msecs(jiffies - last_jiffies); in nft_last_dump()
/linux/drivers/mtd/chips/
A Dcfi_cmdset_0020.c265 timeo = jiffies + HZ; in do_read_onechip()
357 timeo = jiffies + HZ; in do_read_onechip()
440 timeo = jiffies + HZ; in do_write_buffer()
490 timeo = jiffies + HZ; in do_write_buffer()
746 timeo = jiffies + HZ; in do_erase_oneblock()
783 timeo = jiffies + HZ; in do_erase_oneblock()
875 timeo = jiffies + HZ; in do_erase_oneblock()
1043 timeo = jiffies + HZ; in do_lock_oneblock()
1080 timeo = jiffies + HZ; in do_lock_oneblock()
1189 timeo = jiffies + HZ; in do_unlock_oneblock()
[all …]
/linux/net/ax25/
A Dax25_timer.c50 mod_timer(&ax25->timer, jiffies + 5 * HZ); in ax25_start_heartbeat()
55 mod_timer(&ax25->t1timer, jiffies + ax25->t1); in ax25_start_t1timer()
60 mod_timer(&ax25->t2timer, jiffies + ax25->t2); in ax25_start_t2timer()
66 mod_timer(&ax25->t3timer, jiffies + ax25->t3); in ax25_start_t3timer()
74 mod_timer(&ax25->idletimer, jiffies + ax25->idle); in ax25_start_idletimer()
114 return timer->expires - jiffies; in ax25_display_timer()
/linux/block/
A Dblk-throttle.c590 expires - jiffies, jiffies); in throtl_schedule_pending_timer()
651 tg->slice_end[rw], jiffies); in throtl_start_new_slice_with_credit()
658 tg->slice_start[rw] = jiffies; in throtl_start_new_slice()
666 tg->slice_end[rw], jiffies); in throtl_start_new_slice()
985 disptime = jiffies + min_wait; in tg_update_disptime()
1663 unsigned long rtime = jiffies, wtime = jiffies; in __tg_last_low_overflow_time()
1746 if (time_after_eq(jiffies, in throtl_tg_can_upgrade()
1796 unsigned long now = jiffies; in throtl_upgrade_check()
1828 tg->disptime = jiffies - 1; in throtl_upgrade_state()
1855 unsigned long now = jiffies; in throtl_tg_can_downgrade()
[all …]
/linux/net/decnet/
A Ddn_timer.c42 sk_reset_timer(sk, &sk->sk_timer, jiffies + SLOW_INTERVAL); in dn_start_slow_timer()
58 sk_reset_timer(sk, &sk->sk_timer, jiffies + HZ / 10); in dn_slow_timer()
96 if (time_after_eq(jiffies, scp->stamp + scp->keepalive)) in dn_slow_timer()
100 sk_reset_timer(sk, &sk->sk_timer, jiffies + SLOW_INTERVAL); in dn_slow_timer()
/linux/net/rose/
A Drose_timer.c37 sk->sk_timer.expires = jiffies + 5 * HZ; in rose_start_heartbeat()
49 rose->timer.expires = jiffies + rose->t1; in rose_start_t1timer()
61 rose->timer.expires = jiffies + rose->t2; in rose_start_t2timer()
73 rose->timer.expires = jiffies + rose->t3; in rose_start_t3timer()
85 rose->timer.expires = jiffies + rose->hb; in rose_start_hbtimer()
98 rose->idletimer.expires = jiffies + rose->idle; in rose_start_idletimer()
/linux/include/linux/
A Djiffies.h80 extern unsigned long volatile __cacheline_aligned_in_smp __jiffy_arch_data jiffies;
87 return (u64)jiffies; in get_jiffies_64()
154 #define time_is_before_jiffies(a) time_after(jiffies, a)
158 #define time_is_after_jiffies(a) time_before(jiffies, a)
162 #define time_is_before_eq_jiffies(a) time_after_eq(jiffies, a)
166 #define time_is_after_eq_jiffies(a) time_before_eq(jiffies, a)
422 extern void jiffies_to_timespec64(const unsigned long jiffies,
/linux/net/tipc/
A Ddiscover.c151 bool trial = time_before(jiffies, tn->addr_trial_end); in tipc_disc_addr_trial_msg()
165 tn->addr_trial_end = jiffies + msecs_to_jiffies(1000); in tipc_disc_addr_trial_msg()
279 mod_timer(&d->timer, jiffies + d->timer_intv); in tipc_disc_remove_dest()
308 if (!time_before(jiffies, tn->addr_trial_end) && !tipc_own_addr(net)) { in tipc_disc_timeout()
309 mod_timer(&d->timer, jiffies + TIPC_DISC_INIT); in tipc_disc_timeout()
316 if (time_before(jiffies, tn->addr_trial_end)) { in tipc_disc_timeout()
328 mod_timer(&d->timer, jiffies + d->timer_intv); in tipc_disc_timeout()
365 tn->addr_trial_end = jiffies + msecs_to_jiffies(1000); in tipc_disc_create()
376 mod_timer(&d->timer, jiffies + d->timer_intv); in tipc_disc_create()
412 mod_timer(&d->timer, jiffies + d->timer_intv); in tipc_disc_reset()
/linux/drivers/cdrom/
A Dgdrom.c136 unsigned long timeout = jiffies + GDROM_DEFAULT_TIMEOUT; in gdrom_wait_clrbusy()
138 (time_before(jiffies, timeout))) in gdrom_wait_clrbusy()
140 return time_before(jiffies, timeout + 1); in gdrom_wait_clrbusy()
147 timeout = jiffies + GDROM_DEFAULT_TIMEOUT; in gdrom_wait_busy_sleeps()
148 while (!gdrom_is_busy() && time_before(jiffies, timeout)) in gdrom_wait_busy_sleeps()
194 timeout = jiffies + GDROM_DEFAULT_TIMEOUT; in gdrom_spicommand()
198 if (!time_before(jiffies, timeout + 1)) { in gdrom_spicommand()
606 timeout = jiffies + HZ / 2; in gdrom_readdisk_dma()
610 timeout = jiffies + HZ / 2; in gdrom_readdisk_dma()
617 timeout = jiffies + HZ / 2; in gdrom_readdisk_dma()
[all …]
/linux/drivers/md/
A Ddm-io-tracker.h33 iot->last_update_time = jiffies; in dm_iot_init()
42 r = time_after(jiffies, iot->idle_time + j); in dm_iot_idle_for()
54 r = jiffies - iot->idle_time; in dm_iot_idle_time()
77 iot->idle_time = jiffies; in dm_iot_io_end()
/linux/drivers/watchdog/
A Dmachzwd.c221 next_heartbeat = jiffies + ZF_USER_TIMEO; in zf_timer_on()
224 mod_timer(&zf_timer, jiffies + ZF_HW_TIMEO); in zf_timer_on()
243 if (time_before(jiffies, next_heartbeat)) { in zf_ping()
244 dprintk("time_before: %ld\n", next_heartbeat - jiffies); in zf_ping()
260 mod_timer(&zf_timer, jiffies + ZF_HW_TIMEO); in zf_ping()
298 next_heartbeat = jiffies + ZF_USER_TIMEO; in zf_write()
299 dprintk("user ping at %ld\n", jiffies); in zf_write()
/linux/lib/raid6/
A Dalgos.c166 j0 = jiffies; in raid6_choose_gen()
167 while ((j1 = jiffies) == j0) in raid6_choose_gen()
169 while (time_before(jiffies, in raid6_choose_gen()
190 j0 = jiffies; in raid6_choose_gen()
191 while ((j1 = jiffies) == j0) in raid6_choose_gen()
193 while (time_before(jiffies, in raid6_choose_gen()
/linux/drivers/media/dvb-frontends/
A Dstv0297.c536 timeout = jiffies + msecs_to_jiffies(2000); in stv0297_set_frontend()
537 while (time_before(jiffies, timeout)) { in stv0297_set_frontend()
542 if (time_after(jiffies, timeout)) { in stv0297_set_frontend()
548 timeout = jiffies + msecs_to_jiffies(500); in stv0297_set_frontend()
549 while (time_before(jiffies, timeout)) { in stv0297_set_frontend()
556 if (time_after(jiffies, timeout)) { in stv0297_set_frontend()
562 while (time_before(jiffies, timeout)) { in stv0297_set_frontend()
569 if (time_after(jiffies, timeout)) { in stv0297_set_frontend()
578 timeout = jiffies + msecs_to_jiffies(20); in stv0297_set_frontend()
579 while (time_before(jiffies, timeout)) { in stv0297_set_frontend()
[all …]
/linux/sound/soc/tegra/
A Dtegra20_ac97.c50 timeout = jiffies + msecs_to_jiffies(100); in tegra20_ac97_codec_reset()
57 } while (!time_after(jiffies, timeout)); in tegra20_ac97_codec_reset()
79 timeout = jiffies + msecs_to_jiffies(100); in tegra20_ac97_codec_warm_reset()
86 } while (!time_after(jiffies, timeout)); in tegra20_ac97_codec_warm_reset()
100 timeout = jiffies + msecs_to_jiffies(100); in tegra20_ac97_codec_read()
107 } while (!time_after(jiffies, timeout)); in tegra20_ac97_codec_read()
126 timeout = jiffies + msecs_to_jiffies(100); in tegra20_ac97_codec_write()
133 } while (!time_after(jiffies, timeout)); in tegra20_ac97_codec_write()
/linux/drivers/hwmon/
A Dsch5627.c93 if (time_after(jiffies, data->temp_last_updated + HZ) || !data->temp_valid) { in sch5627_update_temp()
104 data->temp_last_updated = jiffies; in sch5627_update_temp()
120 if (time_after(jiffies, data->fan_last_updated + HZ) || !data->fan_valid) { in sch5627_update_fan()
129 data->fan_last_updated = jiffies; in sch5627_update_fan()
145 if (time_after(jiffies, data->last_battery + 300 * HZ)) { in sch5627_update_in()
147 data->last_battery = jiffies; in sch5627_update_in()
151 if (time_after(jiffies, data->in_last_updated + HZ) || !data->in_valid) { in sch5627_update_in()
162 data->in_last_updated = jiffies; in sch5627_update_in()
432 data->last_battery = jiffies; in sch5627_probe()
/linux/drivers/staging/rtl8723bs/core/
A Drtw_pwrctrl.c203 start_time = jiffies; in traffic_check_for_leave_lps()
214 start_time = jiffies; in traffic_check_for_leave_lps()
290 start_time = jiffies; in rtw_set_rpwm()
321 curr_time = jiffies; in PS_RDY_CHECK()
420 start_time = jiffies; in LPS_RF_ON_check()
431 if (jiffies_to_msecs(jiffies - start_time) > delay_ms) { in LPS_RF_ON_check()
577 start_time = jiffies; in LPS_Leave_check()
594 if (jiffies_to_msecs(jiffies - start_time) > 100) in LPS_Leave_check()
1017 pwrpriv->ips_deny_time = jiffies + msecs_to_jiffies(ms); in rtw_set_ips_deny()
1033 unsigned long start = jiffies; in _rtw_pwr_wakeup()
[all …]
/linux/drivers/char/
A Dnwflash.c344 timeout = jiffies + 10 * HZ; in erase_block()
346 while (!(c1 & 0x80) && time_before(jiffies, timeout)) { in erase_block()
420 timeout = jiffies + 30 * HZ; in write_block()
464 timeout1 = jiffies + 1 * HZ; in write_block()
469 while (!(c1 & 0x80) && time_before(jiffies, timeout1)) in write_block()
475 if (time_after_eq(jiffies, timeout1)) { in write_block()
507 if (time_before(jiffies, timeout)) { in write_block()

Completed in 50 milliseconds

12345678910>>...197