Lines Matching defs:delay
26 #include <linux/delay.h>
77 static void srcu_reschedule(struct srcu_struct *ssp, unsigned long delay);
616 #define SRCU_INTERVAL 1 // Base delay if no expedited GPs pending.
617 #define SRCU_MAX_INTERVAL 10 // Maximum incremental delay from slow readers.
620 // no-delay instances.
622 // no-delay instances.
627 // per-GP-phase no-delay instances adjusted to allow non-sleeping poll upto
633 // Maximum per-GP-phase consecutive no-delay instances.
642 // Maximum consecutive no-delay instances.
650 * Return grace-period delay, zero if there are expedited grace
688 unsigned long delay;
692 delay = srcu_get_delay(ssp);
694 if (WARN_ON(!delay))
851 unsigned long delay)
853 if (!delay) {
858 timer_reduce(&sdp->delay_work, jiffies + delay);
865 static void srcu_schedule_cbs_sdp(struct srcu_data *sdp, unsigned long delay)
867 srcu_queue_delayed_work_on(sdp, delay);
877 unsigned long mask, unsigned long delay)
883 srcu_schedule_cbs_sdp(per_cpu_ptr(ssp->sda, cpu), delay);
1921 static void srcu_reschedule(struct srcu_struct *ssp, unsigned long delay)
1938 queue_delayed_work(rcu_gp_wq, &ssp->srcu_sup->work, delay);
1979 unsigned long delay;
1986 delay = srcu_get_delay(ssp);
1989 queue_delayed_work(rcu_gp_wq, &sup->work, !!delay);
2072 pr_info("\tNon-default retry check delay of %lu us.\n", srcu_retry_check_delay);
2074 pr_info("\tNon-default max no-delay of %lu.\n", srcu_max_nodelay);
2075 pr_info("\tMax phase no-delay instances is %lu.\n", srcu_max_nodelay_phase);