Home
last modified time | relevance | path

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

12345678910>>...98

/linux-6.1.9/drivers/staging/rtl8712/
Drtl8712_led.c246 mod_timer(&pLed->BlinkTimer, jiffies + in SwLedBlink()
251 mod_timer(&pLed->BlinkTimer, jiffies + in SwLedBlink()
255 mod_timer(&pLed->BlinkTimer, jiffies + in SwLedBlink()
259 mod_timer(&pLed->BlinkTimer, jiffies + in SwLedBlink()
305 mod_timer(&pLed->BlinkTimer, jiffies + in SwLedBlink1()
313 mod_timer(&pLed->BlinkTimer, jiffies + in SwLedBlink1()
328 mod_timer(&pLed->BlinkTimer, jiffies + in SwLedBlink1()
337 mod_timer(&pLed->BlinkTimer, jiffies + in SwLedBlink1()
346 mod_timer(&pLed->BlinkTimer, jiffies + in SwLedBlink1()
362 mod_timer(&pLed->BlinkTimer, jiffies + in SwLedBlink1()
[all …]
/linux-6.1.9/net/netfilter/
Dnft_last.c12 unsigned long jiffies; member
45 last->jiffies = jiffies - (unsigned long)last_jiffies; in nft_last_init()
62 if (READ_ONCE(last->jiffies) != jiffies) in nft_last_eval()
63 WRITE_ONCE(last->jiffies, jiffies); in nft_last_eval()
72 unsigned long last_jiffies = READ_ONCE(last->jiffies); in nft_last_dump()
76 if (time_before(jiffies, last_jiffies)) { in nft_last_dump()
82 msecs = nf_jiffies64_to_msecs(jiffies - last_jiffies); in nft_last_dump()
/linux-6.1.9/init/
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-6.1.9/kernel/rcu/
Dtree_stall.h92 unsigned long j = jiffies; in rcu_gp_might_be_stalled()
157 jiffies + rcu_jiffies_till_stall_check()); in rcu_cpu_stall_reset()
167 unsigned long j = jiffies; in record_gp_stall_check_time()
183 WRITE_ONCE(rdp->last_fqs_resched, jiffies); in zero_cpu_stall_ticks()
197 if (time_after(jiffies, j) && rcu_state.gp_kthread && in rcu_stall_kick_kthreads()
403 unsigned long j = jiffies - READ_ONCE(rcu_state.gp_activity); in rcu_is_gp_kthread_starving()
424 j = jiffies - READ_ONCE(rdp->rcuc_activity); in rcu_is_rcuc_kthread_starving()
538 time_after(jiffies, jiffies_fqs + RCU_STALL_MIGHT_MIN) && in rcu_check_gp_kthread_expired_fqs_timer()
542 rcu_state.name, (jiffies - jiffies_fqs), in rcu_check_gp_kthread_expired_fqs_timer()
592 smp_processor_id(), (long)(jiffies - gps), in print_other_cpu_stall()
[all …]
/linux-6.1.9/kernel/sched/
Dloadavg.c222 if (!time_before(jiffies, READ_ONCE(calc_load_update))) in calc_load_write_idx()
271 if (time_before(jiffies, this_rq->calc_load_update)) in calc_load_nohz_stop()
279 if (time_before(jiffies, this_rq->calc_load_update + 10)) in calc_load_nohz_stop()
309 if (!time_before(jiffies, sample_window + 10)) { in calc_global_nohz()
313 delta = jiffies - sample_window - 10; in calc_global_nohz()
355 if (time_before(jiffies, sample_window + 10)) in calc_global_load()
389 if (time_before(jiffies, this_rq->calc_load_update)) in calc_global_load_tick()
/linux-6.1.9/drivers/char/tpm/
Dtpm_tis_spi_cr50.c82 unsigned long time_now = jiffies; in cr50_ensure_access_delay()
128 return !time_in_range_open(jiffies, phy->last_access, in cr50_needs_waking()
152 phy->wake_after = jiffies + msecs_to_jiffies(CR50_SLEEP_DELAY_MSEC); in cr50_wake_if_needed()
166 unsigned long timeout = jiffies + CR50_FLOW_CONTROL; in cr50_spi_flow_control()
179 if (time_after(jiffies, timeout)) { in cr50_spi_flow_control()
218 cr50_phy->last_access = jiffies; in tpm_tis_spi_cr50_transfer()
279 phy->wake_after = jiffies; in cr50_spi_probe()
284 cr50_phy->last_access = jiffies; in cr50_spi_probe()
338 phy->wake_after = jiffies; in tpm_tis_spi_resume()
/linux-6.1.9/net/x25/
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-6.1.9/kernel/
Dhung_task.c111 t->last_switch_time = jiffies; in check_hung_task()
133 t->comm, t->pid, (jiffies - t->last_switch_time) / HZ); in check_hung_task()
181 unsigned long last_break = jiffies; in check_hung_uninterruptible_tasks()
198 if (time_after(jiffies, last_break + HUNG_TASK_LOCK_BREAK)) { in check_hung_uninterruptible_tasks()
201 last_break = jiffies; in check_hung_uninterruptible_tasks()
231 return timeout ? last_checked - jiffies + timeout * HZ : in hung_timeout_jiffies()
361 unsigned long hung_last_checked = jiffies; in watchdog()
378 hung_last_checked = jiffies; in watchdog()
/linux-6.1.9/drivers/net/wireguard/
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-6.1.9/drivers/md/
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-6.1.9/net/ax25/
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()
111 long delta = timer->expires - jiffies; in ax25_display_timer()
/linux-6.1.9/include/linux/
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-6.1.9/drivers/mtd/chips/
Dcfi_cmdset_0020.c265 timeo = jiffies + HZ; in do_read_onechip()
292 if (time_after(jiffies, timeo)) { in do_read_onechip()
337 if (time_after(jiffies, timeo)) { in do_read_onechip()
357 timeo = jiffies + HZ; in do_read_onechip()
440 timeo = jiffies + HZ; in do_write_buffer()
470 if (time_after(jiffies, timeo)) { in do_write_buffer()
490 timeo = jiffies + HZ; in do_write_buffer()
537 timeo = jiffies + (HZ/2); in do_write_buffer()
547 timeo = jiffies + (HZ / 2); /* FIXME */ in do_write_buffer()
557 if (time_after(jiffies, timeo)) { in do_write_buffer()
[all …]
/linux-6.1.9/net/tipc/
Ddiscover.c152 bool trial = time_before(jiffies, tn->addr_trial_end) && !self; in tipc_disc_addr_trial_msg()
165 tn->addr_trial_end = jiffies + msecs_to_jiffies(1000); in tipc_disc_addr_trial_msg()
282 mod_timer(&d->timer, jiffies + d->timer_intv); in tipc_disc_remove_dest()
311 if (!time_before(jiffies, tn->addr_trial_end) && !tipc_own_addr(net)) { in tipc_disc_timeout()
312 mod_timer(&d->timer, jiffies + TIPC_DISC_INIT); in tipc_disc_timeout()
319 if (time_before(jiffies, tn->addr_trial_end)) { in tipc_disc_timeout()
331 mod_timer(&d->timer, jiffies + d->timer_intv); in tipc_disc_timeout()
368 tn->addr_trial_end = jiffies + msecs_to_jiffies(1000); in tipc_disc_create()
379 mod_timer(&d->timer, jiffies + d->timer_intv); in tipc_disc_create()
415 mod_timer(&d->timer, jiffies + d->timer_intv); in tipc_disc_reset()
/linux-6.1.9/lib/raid6/
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()
208 j0 = jiffies; in raid6_choose_gen()
209 while ((j1 = jiffies) == j0) in raid6_choose_gen()
211 while (time_before(jiffies, in raid6_choose_gen()
/linux-6.1.9/drivers/watchdog/
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-6.1.9/drivers/cdrom/
Dgdrom.c135 unsigned long timeout = jiffies + GDROM_DEFAULT_TIMEOUT; in gdrom_wait_clrbusy()
137 (time_before(jiffies, timeout))) in gdrom_wait_clrbusy()
139 return time_before(jiffies, timeout + 1); in gdrom_wait_clrbusy()
146 timeout = jiffies + GDROM_DEFAULT_TIMEOUT; in gdrom_wait_busy_sleeps()
147 while (!gdrom_is_busy() && time_before(jiffies, timeout)) in gdrom_wait_busy_sleeps()
193 timeout = jiffies + GDROM_DEFAULT_TIMEOUT; in gdrom_spicommand()
195 while (!gdrom_data_request() && time_before(jiffies, timeout)) in gdrom_spicommand()
197 if (!time_before(jiffies, timeout + 1)) { in gdrom_spicommand()
605 timeout = jiffies + HZ / 2; in gdrom_readdisk_dma()
606 while (gdrom_is_busy() && time_before(jiffies, timeout)) in gdrom_readdisk_dma()
[all …]
/linux-6.1.9/tools/lib/traceevent/plugins/
Dplugin_jbd2.c30 unsigned long long jiffies = args[0]; in process_jiffies_to_msecs() local
32 trace_seq_printf(s, "%lld", jiffies); in process_jiffies_to_msecs()
33 return jiffies; in process_jiffies_to_msecs()
/linux-6.1.9/samples/livepatch/
Dlivepatch-shadow-mod.c104 d->jiffies_expire = jiffies + in dummy_alloc()
129 unsigned long jiffies) in dummy_check() argument
131 return time_after(jiffies, d->jiffies_expire); in dummy_check()
173 j = jiffies; in cleanup_work_func()
/linux-6.1.9/block/
Dblk-throttle.c140 if (td->scale < 4096 && time_after_eq(jiffies, in throtl_adjusted_limit()
142 td->scale = (jiffies - td->low_upgrade_time) / td->throtl_slice; in throtl_adjusted_limit()
580 unsigned long max_expire = jiffies + 8 * sq_to_td(sq)->throtl_slice; in throtl_schedule_pending_timer()
593 expires - jiffies, jiffies); in throtl_schedule_pending_timer()
624 if (force || time_after(sq->first_pending_disptime, jiffies)) { in throtl_schedule_next_dispatch()
650 tg->slice_end[rw] = jiffies + tg->td->throtl_slice; in throtl_start_new_slice_with_credit()
654 tg->slice_end[rw], jiffies); in throtl_start_new_slice_with_credit()
662 tg->slice_start[rw] = jiffies; in throtl_start_new_slice()
663 tg->slice_end[rw] = jiffies + tg->td->throtl_slice; in throtl_start_new_slice()
672 tg->slice_end[rw], jiffies); in throtl_start_new_slice()
[all …]
/linux-6.1.9/net/rose/
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-6.1.9/sound/soc/tegra/
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-6.1.9/drivers/media/dvb-frontends/
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()
561 timeout = jiffies + msecs_to_jiffies(delay); 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()
[all …]
/linux-6.1.9/drivers/char/
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()
/linux-6.1.9/drivers/net/ethernet/netronome/nfp/nfpcore/
Dnfp_resource.c152 unsigned long warn_at = jiffies + NFP_MUTEX_WAIT_FIRST_WARN * HZ; in nfp_resource_acquire()
153 unsigned long err_at = jiffies + NFP_MUTEX_WAIT_ERROR * HZ; in nfp_resource_acquire()
186 warn_at = jiffies + NFP_MUTEX_WAIT_NEXT_WARN * HZ; in nfp_resource_acquire()
233 unsigned long warn_at = jiffies + NFP_MUTEX_WAIT_FIRST_WARN * HZ; in nfp_resource_wait()
234 unsigned long err_at = jiffies + secs * HZ; in nfp_resource_wait()
254 warn_at = jiffies + NFP_MUTEX_WAIT_NEXT_WARN * HZ; in nfp_resource_wait()

12345678910>>...98