/linux/drivers/staging/rtl8712/ |
H A D | rtl8712_led.c | 1043 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/net/netfilter/ |
H A 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/rust/kernel/sync/ |
H A D | condvar.rs | 172 jiffies: Jiffies, in wait_interruptible_timeout() 174 let jiffies = jiffies.try_into().unwrap_or(MAX_SCHEDULE_TIMEOUT); in wait_interruptible_timeout() localVariable 175 let res = self.wait_internal(TASK_INTERRUPTIBLE, guard, jiffies); in wait_interruptible_timeout() 178 (jiffies, true) => CondVarTimeoutResult::Signal { jiffies }, in wait_interruptible_timeout() 180 (jiffies, false) => CondVarTimeoutResult::Woken { jiffies }, in wait_interruptible_timeout() 231 jiffies: Jiffies, 236 jiffies: Jiffies,
|
/linux/init/ |
H A 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/kernel/rcu/ |
H A D | tree_stall.h | 93 unsigned long j = jiffies; in rcu_gp_might_be_stalled() 173 unsigned long j = jiffies; in record_gp_stall_check_time() 190 WRITE_ONCE(rdp->last_fqs_resched, jiffies); in zero_cpu_stall_ticks() 464 jiffies_to_msecs(jiffies - rsrp->jiffies)); in print_cpu_stat_info() 644 j = jiffies; in print_other_cpu_stall() 693 jiffies - gps, in print_cpu_stall() 748 j = jiffies; in check_cpu_stall() 780 jn = jiffies + ULONG_MAX / 2; in check_cpu_stall() 890 j = jiffies; in show_rcu_gp_kthreads() 966 j = jiffies; in rcu_check_gp_start_stall() [all …]
|
/linux/kernel/sched/ |
H A 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/drivers/char/tpm/ |
H A 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/net/x25/ |
H A 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/kernel/ |
H A D | hung_task.c | 112 t->last_switch_time = jiffies; in check_hung_task() 134 t->comm, t->pid, (jiffies - t->last_switch_time) / HZ); in check_hung_task() 184 unsigned long last_break = jiffies; in check_hung_uninterruptible_tasks() 201 if (time_after(jiffies, last_break + HUNG_TASK_LOCK_BREAK)) { in check_hung_uninterruptible_tasks() 204 last_break = jiffies; in check_hung_uninterruptible_tasks() 234 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/lib/ |
H A D | dynamic_queue_limits.c | 25 now = jiffies; in dql_check_stall() 127 dql->slack_start_time = jiffies; in dql_completed() 164 if (time_after(jiffies, in dql_completed() 167 dql->slack_start_time = jiffies; in dql_completed() 201 dql->slack_start_time = jiffies; in dql_reset() 203 dql->last_reap = jiffies; in dql_reset() 204 dql->history_head = jiffies / BITS_PER_LONG; in dql_reset()
|
/linux/drivers/net/wireguard/ |
H A 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/drivers/md/ |
H A 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/net/ax25/ |
H A 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/arch/riscv/kernel/ |
H A D | unaligned_access_speed.c | 51 start_jiffies = jiffies; in check_unaligned_access() 52 while ((now = jiffies) == start_jiffies) in check_unaligned_access() 59 while (time_before(jiffies, now + (1 << MISALIGNED_ACCESS_JIFFIES_LG2))) { in check_unaligned_access() 73 start_jiffies = jiffies; in check_unaligned_access() 74 while ((now = jiffies) == start_jiffies) in check_unaligned_access() 77 while (time_before(jiffies, now + (1 << MISALIGNED_ACCESS_JIFFIES_LG2))) { in check_unaligned_access()
|
/linux/include/linux/ |
H A D | jiffies.h | 86 extern unsigned long volatile __cacheline_aligned_in_smp __jiffy_arch_data jiffies; 101 return (u64)jiffies; in get_jiffies_64() 262 #define time_is_before_jiffies(a) time_after(jiffies, a) 277 #define time_is_after_jiffies(a) time_before(jiffies, a) 292 #define time_is_before_eq_jiffies(a) time_after_eq(jiffies, a) 307 #define time_is_after_eq_jiffies(a) time_before_eq(jiffies, a) 579 extern void jiffies_to_timespec64(const unsigned long jiffies,
|
/linux/drivers/mtd/chips/ |
H A D | cfi_cmdset_0020.c | 266 timeo = jiffies + HZ; in do_read_onechip() 358 timeo = jiffies + HZ; in do_read_onechip() 441 timeo = jiffies + HZ; in do_write_buffer() 491 timeo = jiffies + HZ; in do_write_buffer() 747 timeo = jiffies + HZ; in do_erase_oneblock() 784 timeo = jiffies + HZ; in do_erase_oneblock() 876 timeo = jiffies + HZ; in do_erase_oneblock() 1044 timeo = jiffies + HZ; in do_lock_oneblock() 1081 timeo = jiffies + HZ; in do_lock_oneblock() 1190 timeo = jiffies + HZ; in do_unlock_oneblock() [all …]
|
/linux/net/tipc/ |
H A 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/lib/raid6/ |
H A D | algos.c | 176 j0 = jiffies; in raid6_choose_gen() 177 while ((j1 = jiffies) == j0) in raid6_choose_gen() 179 while (time_before(jiffies, in raid6_choose_gen() 218 j0 = jiffies; in raid6_choose_gen() 219 while ((j1 = jiffies) == j0) in raid6_choose_gen() 221 while (time_before(jiffies, in raid6_choose_gen()
|
/linux/drivers/watchdog/ |
H A 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()
|
/linux/drivers/cdrom/ |
H A 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() 197 if (!time_before(jiffies, timeout + 1)) { in gdrom_spicommand() 605 timeout = jiffies + HZ / 2; in gdrom_readdisk_dma() 609 timeout = jiffies + HZ / 2; in gdrom_readdisk_dma() 616 timeout = jiffies + HZ / 2; in gdrom_readdisk_dma() [all …]
|
/linux/samples/livepatch/ |
H A 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/block/ |
H A D | blk-throttle.c | 447 expires - jiffies, jiffies); in throtl_schedule_pending_timer() 508 tg->slice_end[rw], jiffies); in throtl_start_new_slice_with_credit() 516 tg->slice_start[rw] = jiffies; in throtl_start_new_slice() 526 tg->slice_end[rw], jiffies); in throtl_start_new_slice() 542 tg->slice_end[rw], jiffies); in throtl_extend_slice() 647 jiffies); in throtl_trim_slice() 791 jiffies + tg->td->throtl_slice)) in tg_may_dispatch() 793 jiffies + tg->td->throtl_slice); in tg_may_dispatch() 878 disptime = jiffies + min_wait; in tg_update_disptime() 990 if (time_before(jiffies, tg->disptime)) in throtl_select_dispatch() [all …]
|
/linux/net/rose/ |
H A 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/sound/soc/tegra/ |
H A D | tegra20_ac97.c | 52 timeout = jiffies + msecs_to_jiffies(100); in tegra20_ac97_codec_reset() 59 } while (!time_after(jiffies, timeout)); in tegra20_ac97_codec_reset() 77 timeout = jiffies + msecs_to_jiffies(100); in tegra20_ac97_codec_warm_reset() 84 } while (!time_after(jiffies, timeout)); in tegra20_ac97_codec_warm_reset() 98 timeout = jiffies + msecs_to_jiffies(100); in tegra20_ac97_codec_read() 105 } while (!time_after(jiffies, timeout)); in tegra20_ac97_codec_read() 124 timeout = jiffies + msecs_to_jiffies(100); in tegra20_ac97_codec_write() 131 } while (!time_after(jiffies, timeout)); in tegra20_ac97_codec_write()
|
/linux/drivers/media/dvb-frontends/ |
H A 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() 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 …]
|