/kernel/trace/ |
D | preemptirq_delay_test.c | 21 static ulong delay = 100; variable 26 module_param_named(delay, delay, ulong, 0444); 30 MODULE_PARM_DESC(delay, "Period in microseconds (100 us default)"); 57 busy_wait(delay); in irqoff_test() 64 busy_wait(delay); in preemptoff_test()
|
D | Kconfig | 472 path that can cause thread delay. 1051 tristate "Test module to create a preempt / IRQ disable delay thread to test latency tracers" 1056 configurable delay. The module busy waits for the duration of the 1061 modprobe preemptirq_delay_test test_mode=irq delay=500 burst_size=3
|
/kernel/rcu/ |
D | srcutree.c | 76 static void srcu_reschedule(struct srcu_struct *ssp, unsigned long delay); 694 unsigned long delay) in srcu_queue_delayed_work_on() argument 696 if (!delay) { in srcu_queue_delayed_work_on() 701 timer_reduce(&sdp->delay_work, jiffies + delay); in srcu_queue_delayed_work_on() 708 static void srcu_schedule_cbs_sdp(struct srcu_data *sdp, unsigned long delay) in srcu_schedule_cbs_sdp() argument 710 srcu_queue_delayed_work_on(sdp, delay); in srcu_schedule_cbs_sdp() 720 unsigned long mask, unsigned long delay) in srcu_schedule_cbs_snp() argument 727 srcu_schedule_cbs_sdp(per_cpu_ptr(ssp->sda, cpu), delay); in srcu_schedule_cbs_snp() 1619 static void srcu_reschedule(struct srcu_struct *ssp, unsigned long delay) in srcu_reschedule() argument 1636 queue_delayed_work(rcu_gp_wq, &ssp->work, delay); in srcu_reschedule()
|
D | Kconfig | 213 int "Milliseconds to delay boosting after RCU grace-period start" 319 To save power, batch RCU callbacks and flush after delay, memory 346 also be used to extend the delay to be larger than the default, assuming 349 The actual delay for RCU's view of the system to be marked as booted can be
|
D | tree.c | 1352 static void rcu_gp_slow(int delay) in rcu_gp_slow() argument 1354 if (!rcu_gp_slow_is_suppressed() && delay > 0 && in rcu_gp_slow() 1355 !(rcu_seq_ctr(rcu_state.gp_seq) % (rcu_num_nodes * PER_RCU_NODE_PERIOD * delay))) in rcu_gp_slow() 1356 schedule_timeout_idle(delay); in rcu_gp_slow() 3206 long delay, delay_left; in schedule_delayed_monitor_work() local 3208 delay = READ_ONCE(krcp->count) >= KVFREE_BULK_MAX_ENTR ? 1:KFREE_DRAIN_JIFFIES; in schedule_delayed_monitor_work() 3211 if (delay < delay_left) in schedule_delayed_monitor_work() 3212 mod_delayed_work(system_wq, &krcp->monitor_work, delay); in schedule_delayed_monitor_work() 3215 queue_delayed_work(system_wq, &krcp->monitor_work, delay); in schedule_delayed_monitor_work()
|
D | rcutorture.c | 627 long delay; in srcu_read_delay() local 633 delay = torture_random(rrsp) % in srcu_read_delay() 635 if (!delay && in_task()) { in srcu_read_delay()
|
/kernel/ |
D | kthread.c | 1061 unsigned long delay) in __kthread_queue_delayed_work() argument 1074 if (!delay) { in __kthread_queue_delayed_work() 1084 timer->expires = jiffies + delay; in __kthread_queue_delayed_work() 1105 unsigned long delay) in kthread_queue_delayed_work() argument 1114 __kthread_queue_delayed_work(worker, dwork, delay); in kthread_queue_delayed_work() 1252 unsigned long delay) in kthread_mod_delayed_work() argument 1290 __kthread_queue_delayed_work(worker, dwork, delay); in kthread_mod_delayed_work()
|
D | workqueue.c | 1658 struct delayed_work *dwork, unsigned long delay) in __queue_delayed_work() argument 1674 if (!delay) { in __queue_delayed_work() 1681 timer->expires = jiffies + delay; in __queue_delayed_work() 1701 struct delayed_work *dwork, unsigned long delay) in queue_delayed_work_on() argument 1711 __queue_delayed_work(cpu, wq, dwork, delay); in queue_delayed_work_on() 1739 struct delayed_work *dwork, unsigned long delay) in mod_delayed_work_on() argument 1749 __queue_delayed_work(cpu, wq, dwork, delay); in mod_delayed_work_on()
|
/kernel/kcsan/ |
D | core.c | 323 unsigned int delay = in_task() ? kcsan_udelay_task : kcsan_udelay_interrupt; in delay_access() local 328 delay -= IS_ENABLED(CONFIG_KCSAN_DELAY_RANDOMIZE) ? in delay_access() 329 kcsan_prandom_u32_max(delay >> skew_delay_order) : in delay_access() 331 udelay(delay); in delay_access()
|
/kernel/time/ |
D | ntp.c | 549 struct timespec64 delay = {.tv_sec = -1, in rtc_tv_nsec_ok() local 552 *to_set = timespec64_add(*now, delay); in rtc_tv_nsec_ok()
|
/kernel/sched/ |
D | psi.c | 570 static void psi_schedule_poll_work(struct psi_group *group, unsigned long delay, in psi_schedule_poll_work() argument 590 mod_timer(&group->poll_timer, jiffies + delay); in psi_schedule_poll_work()
|
D | core.c | 829 void hrtick_start(struct rq *rq, u64 delay) in hrtick_start() argument 838 delta = max_t(s64, delay, 10000LL); in hrtick_start() 853 void hrtick_start(struct rq *rq, u64 delay) in hrtick_start() argument 859 delay = max_t(u64, delay, 10000LL); in hrtick_start() 860 hrtimer_start(&rq->hrtick_timer, ns_to_ktime(delay), in hrtick_start()
|
D | fair.c | 3119 unsigned int delay; in init_numa_balancing() local 3121 delay = min_t(unsigned int, task_scan_max(current), in init_numa_balancing() 3123 delay += 2 * TICK_NSEC; in init_numa_balancing() 3124 p->node_stamp = delay; in init_numa_balancing()
|
D | sched.h | 2536 void hrtick_start(struct rq *rq, u64 delay);
|