Searched refs:is_idle_task (Results 1 – 18 of 18) sorted by relevance
194 if (unlikely(is_idle_task(current))) { in call_rcu()229 if (unlikely(is_idle_task(current))) { in start_poll_synchronize_rcu()
818 if (t != current && READ_ONCE(t->on_rq) && !is_idle_task(t)) { in rcu_tasks_pertask()849 !is_idle_task(t) && t->rcu_tasks_idle_cpu >= 0)) { in check_holdout_task()864 t, ".I"[is_idle_task(t)], in check_holdout_task()1372 WARN_ON_ONCE(ofl && task_curr(t) && !is_idle_task(t)); in trc_inspect_reader()1567 bool is_idle_tsk = is_idle_task(t); in show_stalled_task_trace()
395 WARN_ON_ONCE(!nesting && !is_idle_task(current)); in rcu_is_cpu_rrupt_from_idle()2204 need_resched(), is_idle_task(current), in rcu_do_batch()2258 if (count >= bl && (need_resched() || !is_idle_task(current))) in rcu_do_batch()2283 is_idle_task(current), rcu_is_callbacks_kthread(rdp)); in rcu_do_batch()2536 if (t && (status != RCU_KTHREAD_YIELDING || is_idle_task(current))) in rcu_wake_cond()
141 WARN_ON_ONCE(IS_ENABLED(CONFIG_RCU_EQS_DEBUG) && !user && !is_idle_task(current)); in ct_kernel_exit()186 WARN_ON_ONCE(IS_ENABLED(CONFIG_RCU_EQS_DEBUG) && !user && !is_idle_task(current)); in ct_kernel_enter()
612 (is_idle_task(current) && (irq_count() == HARDIRQ_OFFSET))) in irq_enter_rcu()
150 (is_idle_task(current) && !in_nmi() && !in_hardirq() && !in_serving_softirq())
1919 static __always_inline bool is_idle_task(const struct task_struct *p) in is_idle_task() function
76 if (!is_idle_task(task)) { in arch_stack_walk_reliable()
97 if (unlikely(is_idle_task(rq->curr))) { in update_rq_clock_pelt()
426 if (is_idle_task(prev)) in vtime_task_switch()445 is_idle_task(tsk)) { in vtime_account_irq()795 if (is_idle_task(current)) in vtime_task_switch_generic()
3807 if (!is_idle_task(rcu_dereference(rq->curr))) in wake_up_if_idle()3811 if (is_idle_task(rq->curr)) in wake_up_if_idle()5595 if (!is_idle_task(curr)) { in sched_tick_remote()9903 !is_idle_task(current) && !current->non_block_count) || in __might_resched()
1922 if (cur && ((cur->flags & PF_EXITING) || is_idle_task(cur))) in task_numa_compare()3932 is_idle = is_idle_task(rcu_dereference(rq->curr)); in migrate_se_pelt_lag()
87 if (!is_idle_task(current)) { in prom_sync_me()
348 if (!IS_ENABLED(CONFIG_TINY_RCU) && is_idle_task(current)) { in irqentry_enter()
497 if (is_idle_task(p)) { in kdb_task_state_char()
42 if (!IS_ENABLED(CONFIG_TINY_RCU) && is_idle_task(current)) { in __enter_from_kernel_mode()
233 if (is_idle_task(current)) in tick_sched_handle()
10774 if (!(event->attr.exclude_idle && is_idle_task(current))) in perf_swevent_hrtimer()