/linux-6.6.21/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-6.6.21/net/netfilter/ |
D | nft_last.c | 12 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() 73 unsigned long last_jiffies = READ_ONCE(last->jiffies); in nft_last_dump() 77 if (time_before(jiffies, last_jiffies)) { in nft_last_dump() 83 msecs = nf_jiffies64_to_msecs(jiffies - last_jiffies); in nft_last_dump() 115 priv_dst->last->jiffies = priv_src->last->jiffies; in nft_last_clone()
|
/linux-6.6.21/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-6.6.21/kernel/rcu/ |
D | tree_stall.h | 92 unsigned long j = jiffies; in rcu_gp_might_be_stalled() 172 unsigned long j = jiffies; in record_gp_stall_check_time() 189 WRITE_ONCE(rdp->last_fqs_resched, jiffies); in zero_cpu_stall_ticks() 203 if (time_after(jiffies, j) && rcu_state.gp_kthread && in rcu_stall_kick_kthreads() 409 unsigned long j = jiffies - READ_ONCE(rcu_state.gp_activity); in rcu_is_gp_kthread_starving() 430 j = jiffies - READ_ONCE(rdp->rcuc_activity); in rcu_is_rcuc_kthread_starving() 463 jiffies_to_msecs(jiffies - rsrp->jiffies)); in print_cpu_stat_info() 575 time_after(jiffies, jiffies_fqs + RCU_STALL_MIGHT_MIN) && in rcu_check_gp_kthread_expired_fqs_timer() 579 rcu_state.name, (jiffies - jiffies_fqs), in rcu_check_gp_kthread_expired_fqs_timer() 629 smp_processor_id(), (long)(jiffies - gps), in print_other_cpu_stall() [all …]
|
/linux-6.6.21/kernel/sched/ |
D | loadavg.c | 222 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.6.21/drivers/char/tpm/ |
D | tpm_tis_spi_cr50.c | 82 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.6.21/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-6.6.21/kernel/ |
D | hung_task.c | 111 t->last_switch_time = jiffies; in check_hung_task() 133 t->comm, t->pid, (jiffies - t->last_switch_time) / HZ); in check_hung_task() 183 unsigned long last_break = jiffies; in check_hung_uninterruptible_tasks() 200 if (time_after(jiffies, last_break + HUNG_TASK_LOCK_BREAK)) { in check_hung_uninterruptible_tasks() 203 last_break = jiffies; in check_hung_uninterruptible_tasks() 233 return timeout ? last_checked - jiffies + timeout * HZ : in hung_timeout_jiffies() 363 unsigned long hung_last_checked = jiffies; in watchdog() 380 hung_last_checked = jiffies; in watchdog()
|
/linux-6.6.21/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-6.6.21/drivers/md/ |
D | dm-io-tracker.h | 34 iot->last_update_time = jiffies; in dm_iot_init() 43 r = time_after(jiffies, iot->idle_time + j); in dm_iot_idle_for() 55 r = jiffies - iot->idle_time; in dm_iot_idle_time() 78 iot->idle_time = jiffies; in dm_iot_io_end()
|
/linux-6.6.21/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() 111 long delta = timer->expires - jiffies; in ax25_display_timer()
|
/linux-6.6.21/include/linux/ |
D | jiffies.h | 86 extern unsigned long volatile __cacheline_aligned_in_smp __jiffy_arch_data jiffies; 101 return (u64)jiffies; in get_jiffies_64() 259 #define time_is_before_jiffies(a) time_after(jiffies, a) 274 #define time_is_after_jiffies(a) time_before(jiffies, a) 289 #define time_is_before_eq_jiffies(a) time_after_eq(jiffies, a) 304 #define time_is_after_eq_jiffies(a) time_before_eq(jiffies, a) 576 extern void jiffies_to_timespec64(const unsigned long jiffies,
|
/linux-6.6.21/drivers/mtd/chips/ |
D | cfi_cmdset_0020.c | 266 timeo = jiffies + HZ; in do_read_onechip() 293 if (time_after(jiffies, timeo)) { in do_read_onechip() 338 if (time_after(jiffies, timeo)) { in do_read_onechip() 358 timeo = jiffies + HZ; in do_read_onechip() 441 timeo = jiffies + HZ; in do_write_buffer() 471 if (time_after(jiffies, timeo)) { in do_write_buffer() 491 timeo = jiffies + HZ; in do_write_buffer() 538 timeo = jiffies + (HZ/2); in do_write_buffer() 548 timeo = jiffies + (HZ / 2); /* FIXME */ in do_write_buffer() 558 if (time_after(jiffies, timeo)) { in do_write_buffer() [all …]
|
/linux-6.6.21/net/tipc/ |
D | discover.c | 152 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.6.21/lib/raid6/ |
D | algos.c | 180 j0 = jiffies; in raid6_choose_gen() 181 while ((j1 = jiffies) == j0) in raid6_choose_gen() 183 while (time_before(jiffies, in raid6_choose_gen() 222 j0 = jiffies; in raid6_choose_gen() 223 while ((j1 = jiffies) == j0) in raid6_choose_gen() 225 while (time_before(jiffies, in raid6_choose_gen()
|
/linux-6.6.21/drivers/watchdog/ |
D | machzwd.c | 221 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()
|
D | via_wdt.c | 93 if (time_before(jiffies, next_heartbeat) || in wdt_timer_tick() 96 mod_timer(&timer, jiffies + WDT_HEARTBEAT); in wdt_timer_tick() 104 next_heartbeat = jiffies + wdd->timeout * HZ; in wdt_ping() 115 mod_timer(&timer, jiffies + WDT_HEARTBEAT); in wdt_start() 219 mod_timer(&timer, jiffies + WDT_HEARTBEAT); in wdt_probe()
|
/linux-6.6.21/drivers/cdrom/ |
D | gdrom.c | 135 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.6.21/block/ |
D | blk-throttle.c | 140 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.6.21/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-6.6.21/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-6.6.21/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-6.6.21/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-6.6.21/drivers/char/ |
D | nwflash.c | 344 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.6.21/drivers/net/ethernet/netronome/nfp/nfpcore/ |
D | nfp_resource.c | 152 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()
|