Home
last modified time | relevance | path

Searched refs:jiffies (Results 1 - 25 of 5755) sorted by relevance

12345678910>>...231

/kernel/linux/linux-6.6/net/netfilter/
H A 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()
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 in nft_last_dump()
[all...]
/kernel/linux/linux-5.10/init/
H A Dcalibrate.c8 #include <linux/jiffies.h>
53 * while ( jiffies < start_jiffies+1) in calibrate_delay_direct()
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()
[all...]
/kernel/linux/linux-6.6/init/
H A Dcalibrate.c8 #include <linux/jiffies.h>
53 * while ( jiffies < start_jiffies+1) in calibrate_delay_direct()
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()
[all...]
/kernel/linux/linux-5.10/drivers/staging/rtl8712/
H A 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...]
/kernel/linux/linux-6.6/drivers/staging/rtl8712/
H A 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...]
/kernel/linux/linux-5.10/drivers/staging/rtl8188eu/core/
H A Drtw_led.c117 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...]
/kernel/linux/linux-5.10/kernel/rcu/
H A Dtree_stall.h63 unsigned long j = jiffies; in rcu_gp_might_be_stalled()
67 smp_mb(); // jiffies before .gp_seq to avoid false positives. in rcu_gp_might_be_stalled()
71 // of ULONG_MAX/4 jiffies voids your no-false-positive warranty. in rcu_gp_might_be_stalled()
126 WRITE_ONCE(rcu_state.jiffies_stall, jiffies + ULONG_MAX / 2); in rcu_cpu_stall_reset()
136 unsigned long j = jiffies; in record_gp_stall_check_time()
152 WRITE_ONCE(rdp->last_fqs_resched, jiffies); in zero_cpu_stall_ticks()
166 if (time_after(jiffies, j) && rcu_state.gp_kthread && in rcu_stall_kick_kthreads()
350 rdp->last_accelerate & 0xffff, jiffies & 0xffff, in print_cpu_stall_fast_no_hz()
388 unsigned long j = jiffies - READ_ONCE(rcu_state.gp_activity); in rcu_is_gp_kthread_starving()
456 pr_err("%s kthread starved for %ld jiffies! in rcu_check_gp_kthread_starvation()
[all...]
/kernel/linux/linux-5.10/net/x25/
H A Dx25_timer.c18 #include <linux/jiffies.h>
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()
/kernel/linux/linux-6.6/net/x25/
H A Dx25_timer.c18 #include <linux/jiffies.h>
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()
/kernel/linux/linux-6.6/drivers/md/
H A Ddm-io-tracker.h11 #include <linux/jiffies.h>
22 * The time, in jiffies, when this device became idle
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()
/kernel/linux/linux-5.10/drivers/char/tpm/
H A Dtpm_tis_spi_cr50.c79 unsigned long time_now = jiffies; in cr50_ensure_access_delay()
85 * around for jiffies. In this case, we'll have an unneeded short delay, in cr50_ensure_access_delay()
122 * around for jiffies. In this case, we'll probably timeout or read in cr50_needs_waking()
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()
[all...]
/kernel/linux/linux-6.6/drivers/char/tpm/
H A Dtpm_tis_spi_cr50.c82 unsigned long time_now = jiffies; in cr50_ensure_access_delay()
88 * around for jiffies. In this case, we'll have an unneeded short delay, in cr50_ensure_access_delay()
125 * around for jiffies. In this case, we'll probably timeout or read in cr50_needs_waking()
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()
[all...]
/kernel/linux/linux-6.6/kernel/rcu/
H A Dtree_stall.h92 unsigned long j = jiffies; in rcu_gp_might_be_stalled()
96 smp_mb(); // jiffies before .gp_seq to avoid false positives. in rcu_gp_might_be_stalled()
100 // of ULONG_MAX/4 jiffies voids your no-false-positive warranty. in rcu_gp_might_be_stalled()
153 * 3 fqs loops have passed. This is required to ensure a fresh jiffies is
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 in print_cpu_stat_info()
[all...]
/kernel/linux/linux-5.10/kernel/sched/
H 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()
/kernel/linux/linux-5.10/net/ax25/
H A Dax25_timer.c18 #include <linux/jiffies.h>
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()
/kernel/linux/linux-6.6/kernel/sched/
H A 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()
/kernel/linux/linux-6.6/net/ax25/
H A Dax25_timer.c18 #include <linux/jiffies.h>
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()
/kernel/linux/linux-5.10/kernel/
H A Dhung_task.c117 t->last_switch_time = jiffies; in check_hung_task()
139 t->comm, t->pid, (jiffies - t->last_switch_time) / HZ); in check_hung_task()
187 unsigned long last_break = jiffies; in check_hung_uninterruptible_tasks()
202 if (time_after(jiffies, last_break + HUNG_TASK_LOCK_BREAK)) { in check_hung_uninterruptible_tasks()
205 last_break = jiffies; in check_hung_uninterruptible_tasks()
230 return timeout ? last_checked - jiffies + timeout * HZ : in hung_timeout_jiffies()
290 unsigned long hung_last_checked = jiffies; in watchdog()
315 hung_last_checked = jiffies; in watchdog()
/kernel/linux/linux-5.10/include/linux/
H A Djiffies.h12 #include <vdso/jiffies.h>
80 extern unsigned long volatile __cacheline_aligned_in_smp __jiffy_arch_data jiffies;
87 return (u64)jiffies; in get_jiffies_64()
150 * These four macros compare jiffies and 'a' for convenience.
153 /* time_is_before_jiffies(a) return true if a is before jiffies */
154 #define time_is_before_jiffies(a) time_after(jiffies, a)
157 /* time_is_after_jiffies(a) return true if a is after jiffies */
158 #define time_is_after_jiffies(a) time_before(jiffies, a)
161 /* time_is_before_eq_jiffies(a) return true if a is before or equal to jiffies*/
162 #define time_is_before_eq_jiffies(a) time_after_eq(jiffies,
[all...]
/kernel/linux/linux-6.6/include/linux/
H A Djiffies.h12 #include <vdso/jiffies.h>
79 * jiffies and jiffies_64 are at the same address for little-endian systems
81 * On 32-bit big-endian systems, jiffies is the lower 32 bits of jiffies_64
86 extern unsigned long volatile __cacheline_aligned_in_smp __jiffy_arch_data jiffies;
97 * Return: current 64-bit jiffies value
101 return (u64)jiffies; in get_jiffies_64()
250 * These eight macros compare jiffies[_64] and 'a' for convenience.
254 * time_is_before_jiffies - return true if a is before jiffies
255 * @a: time (unsigned long) to compare to jiffies
257 * Return: %true is time a is before jiffies, otherwis
[all...]
/kernel/linux/linux-6.6/kernel/
H A Dhung_task.c120 t->last_switch_time = jiffies; in check_hung_task()
142 t->comm, t->pid, (jiffies - t->last_switch_time) / HZ); in check_hung_task()
192 unsigned long last_break = jiffies; in check_hung_uninterruptible_tasks()
209 if (time_after(jiffies, last_break + HUNG_TASK_LOCK_BREAK)) { in check_hung_uninterruptible_tasks()
212 last_break = jiffies; in check_hung_uninterruptible_tasks()
243 return timeout ? last_checked - jiffies + timeout * HZ : in hung_timeout_jiffies()
375 unsigned long hung_last_checked = jiffies; in watchdog()
400 hung_last_checked = jiffies; in watchdog()
/kernel/linux/linux-5.10/net/core/
H A Dlink_watch.c15 #include <linux/jiffies.h>
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()
252 __linkwatch_run_queue(time_after(linkwatch_nextevent, jiffies)); in linkwatch_event()
/kernel/linux/linux-6.6/net/core/
H A Dlink_watch.c15 #include <linux/jiffies.h>
135 unsigned long delay = linkwatch_nextevent - jiffies; in linkwatch_schedule_work()
210 linkwatch_nextevent = jiffies + HZ; in __linkwatch_run_queue()
212 else if (time_after(linkwatch_nextevent, jiffies + HZ)) in __linkwatch_run_queue()
213 linkwatch_nextevent = jiffies; in __linkwatch_run_queue()
278 __linkwatch_run_queue(time_after(linkwatch_nextevent, jiffies)); in linkwatch_event()
/kernel/linux/linux-5.10/drivers/mtd/chips/
H A 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, time in do_write_buffer()
[all...]
/kernel/linux/linux-6.6/drivers/mtd/chips/
H A Dcfi_cmdset_0020.c266 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, time in do_write_buffer()
[all...]

Completed in 14 milliseconds

12345678910>>...231