/Linux-v5.10/drivers/staging/rtl8712/ |
D | rtl8712_led.c | 246 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-v5.10/init/ |
D | calibrate.c | 73 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-v5.10/drivers/staging/rtl8188eu/core/ |
D | rtw_led.c | 117 mod_timer(&pLed->BlinkTimer, jiffies + in SwLedBlink1() 125 mod_timer(&pLed->BlinkTimer, jiffies + in SwLedBlink1() 138 mod_timer(&pLed->BlinkTimer, jiffies + in SwLedBlink1() 148 mod_timer(&pLed->BlinkTimer, jiffies + in SwLedBlink1() 158 mod_timer(&pLed->BlinkTimer, jiffies + in SwLedBlink1() 172 mod_timer(&pLed->BlinkTimer, jiffies + in SwLedBlink1() 182 mod_timer(&pLed->BlinkTimer, jiffies + in SwLedBlink1() 192 mod_timer(&pLed->BlinkTimer, jiffies + in SwLedBlink1() 201 mod_timer(&pLed->BlinkTimer, jiffies + in SwLedBlink1() 212 mod_timer(&pLed->BlinkTimer, jiffies + in SwLedBlink1() [all …]
|
/Linux-v5.10/kernel/rcu/ |
D | tree_stall.h | 61 unsigned long j = jiffies; in rcu_gp_might_be_stalled() 124 WRITE_ONCE(rcu_state.jiffies_stall, jiffies + ULONG_MAX / 2); in rcu_cpu_stall_reset() 134 unsigned long j = jiffies; in record_gp_stall_check_time() 150 WRITE_ONCE(rdp->last_fqs_resched, jiffies); in zero_cpu_stall_ticks() 164 if (time_after(jiffies, j) && rcu_state.gp_kthread && in rcu_stall_kick_kthreads() 344 rdp->last_accelerate & 0xffff, jiffies & 0xffff, in print_cpu_stall_fast_no_hz() 382 unsigned long j = jiffies - READ_ONCE(rcu_state.gp_activity); in rcu_is_gp_kthread_starving() 501 smp_processor_id(), (long)(jiffies - gps), in print_other_cpu_stall() 513 j = jiffies; in print_other_cpu_stall() 522 if (ULONG_CMP_GE(jiffies, READ_ONCE(rcu_state.jiffies_stall))) in print_other_cpu_stall() [all …]
|
/Linux-v5.10/kernel/ |
D | hung_task.c | 108 t->last_switch_time = jiffies; in check_hung_task() 130 t->comm, t->pid, (jiffies - t->last_switch_time) / HZ); in check_hung_task() 178 unsigned long last_break = jiffies; in check_hung_uninterruptible_tasks() 193 if (time_after(jiffies, last_break + HUNG_TASK_LOCK_BREAK)) { in check_hung_uninterruptible_tasks() 196 last_break = jiffies; in check_hung_uninterruptible_tasks() 220 return timeout ? last_checked - jiffies + timeout * HZ : in hung_timeout_jiffies() 278 unsigned long hung_last_checked = jiffies; in watchdog() 295 hung_last_checked = jiffies; in watchdog()
|
/Linux-v5.10/kernel/sched/ |
D | loadavg.c | 223 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-v5.10/net/x25/ |
D | x25_timer.c | 39 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-v5.10/drivers/char/tpm/ |
D | tpm_tis_spi_cr50.c | 79 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-v5.10/drivers/net/wireguard/ |
D | timers.c | 62 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-v5.10/net/decnet/ |
D | dn_timer.c | 42 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-v5.10/net/ax25/ |
D | ax25_timer.c | 50 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-v5.10/net/rose/ |
D | rose_timer.c | 37 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-v5.10/drivers/gpu/drm/gma500/ |
D | blitter.c | 17 unsigned long stop = jiffies + HZ; in gma_blt_wait_idle() 31 } while (busy && !time_after_eq(jiffies, stop)); in gma_blt_wait_idle() 39 } while (busy && !time_after_eq(jiffies, stop)); in gma_blt_wait_idle()
|
/Linux-v5.10/include/linux/ |
D | jiffies.h | 80 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-v5.10/drivers/mtd/chips/ |
D | cfi_cmdset_0020.c | 265 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-v5.10/lib/raid6/ |
D | algos.c | 166 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-v5.10/net/tipc/ |
D | discover.c | 150 bool trial = time_before(jiffies, tn->addr_trial_end); in tipc_disc_addr_trial_msg() 164 tn->addr_trial_end = jiffies + msecs_to_jiffies(1000); in tipc_disc_addr_trial_msg() 278 mod_timer(&d->timer, jiffies + d->timer_intv); in tipc_disc_remove_dest() 307 if (!time_before(jiffies, tn->addr_trial_end) && !tipc_own_addr(net)) { in tipc_disc_timeout() 308 mod_timer(&d->timer, jiffies + TIPC_DISC_INIT); in tipc_disc_timeout() 315 if (time_before(jiffies, tn->addr_trial_end)) { in tipc_disc_timeout() 327 mod_timer(&d->timer, jiffies + d->timer_intv); in tipc_disc_timeout() 364 tn->addr_trial_end = jiffies + msecs_to_jiffies(1000); in tipc_disc_create() 375 mod_timer(&d->timer, jiffies + d->timer_intv); in tipc_disc_create() 411 mod_timer(&d->timer, jiffies + d->timer_intv); in tipc_disc_reset()
|
/Linux-v5.10/drivers/watchdog/ |
D | machzwd.c | 220 next_heartbeat = jiffies + ZF_USER_TIMEO; in zf_timer_on() 223 mod_timer(&zf_timer, jiffies + ZF_HW_TIMEO); in zf_timer_on() 242 if (time_before(jiffies, next_heartbeat)) { in zf_ping() 243 dprintk("time_before: %ld\n", next_heartbeat - jiffies); in zf_ping() 259 mod_timer(&zf_timer, jiffies + ZF_HW_TIMEO); in zf_ping() 297 next_heartbeat = jiffies + ZF_USER_TIMEO; in zf_write() 298 dprintk("user ping at %ld\n", jiffies); in zf_write()
|
/Linux-v5.10/drivers/cdrom/ |
D | gdrom.c | 136 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() 196 while (!gdrom_data_request() && time_before(jiffies, timeout)) in gdrom_spicommand() 198 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-v5.10/tools/lib/traceevent/plugins/ |
D | plugin_jbd2.c | 30 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-v5.10/samples/livepatch/ |
D | livepatch-shadow-mod.c | 104 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-v5.10/block/ |
D | blk-throttle.c | 289 if (td->scale < 4096 && time_after_eq(jiffies, in throtl_adjusted_limit() 291 td->scale = (jiffies - td->low_upgrade_time) / td->throtl_slice; in throtl_adjusted_limit() 715 unsigned long max_expire = jiffies + 8 * sq_to_td(sq)->throtl_slice; in throtl_schedule_pending_timer() 728 expires - jiffies, jiffies); in throtl_schedule_pending_timer() 759 if (force || time_after(sq->first_pending_disptime, jiffies)) { in throtl_schedule_next_dispatch() 783 tg->slice_end[rw] = jiffies + tg->td->throtl_slice; in throtl_start_new_slice_with_credit() 787 tg->slice_end[rw], jiffies); in throtl_start_new_slice_with_credit() 794 tg->slice_start[rw] = jiffies; in throtl_start_new_slice() 795 tg->slice_end[rw] = jiffies + tg->td->throtl_slice; in throtl_start_new_slice() 799 tg->slice_end[rw], jiffies); in throtl_start_new_slice() [all …]
|
/Linux-v5.10/sound/soc/tegra/ |
D | tegra20_ac97.c | 49 timeout = jiffies + msecs_to_jiffies(100); in tegra20_ac97_codec_reset() 56 } while (!time_after(jiffies, timeout)); in tegra20_ac97_codec_reset() 78 timeout = jiffies + msecs_to_jiffies(100); in tegra20_ac97_codec_warm_reset() 85 } while (!time_after(jiffies, timeout)); in tegra20_ac97_codec_warm_reset() 99 timeout = jiffies + msecs_to_jiffies(100); in tegra20_ac97_codec_read() 106 } while (!time_after(jiffies, timeout)); in tegra20_ac97_codec_read() 125 timeout = jiffies + msecs_to_jiffies(100); in tegra20_ac97_codec_write() 132 } while (!time_after(jiffies, timeout)); in tegra20_ac97_codec_write()
|
/Linux-v5.10/drivers/media/dvb-frontends/ |
D | stv0297.c | 536 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-v5.10/net/core/ |
D | link_watch.c | 120 unsigned long delay = linkwatch_nextevent - jiffies; in linkwatch_schedule_work() 192 linkwatch_nextevent = jiffies + HZ; in __linkwatch_run_queue() 194 else if (time_after(linkwatch_nextevent, jiffies + HZ)) in __linkwatch_run_queue() 195 linkwatch_nextevent = jiffies; in __linkwatch_run_queue() 251 __linkwatch_run_queue(time_after(linkwatch_nextevent, jiffies)); in linkwatch_event()
|