Searched refs:in_serving_softirq (Results 1 – 13 of 13) sorted by relevance
76 * the BH workqueue, which runs with in_serving_softirq() > 0).87 if (in_serving_softirq()) { in kcov_remote_start_usb_softirq() 97 if (in_serving_softirq()) { in kcov_remote_stop_softirq()
123 * in_serving_softirq() - We're in softirq context128 #define in_serving_softirq() (softirq_count() & SOFTIRQ_OFFSET) macro 130 # define in_task() (!((preempt_count() & (NMI_MASK | HARDIRQ_MASK)) | in_serving_softirq()))
166 * Unlike in_serving_softirq(), this function returns false when called during171 return in_serving_softirq() && !in_hardirq() && !in_nmi(); in in_softirq_really() 881 if (WARN_ON(in_serving_softirq() && t->kcov_softirq)) { in kcov_remote_start() 927 if (in_serving_softirq()) { in kcov_remote_start() 1019 if (in_serving_softirq() && !t->kcov_softirq) { in kcov_remote_stop() 1024 if (WARN_ON(!in_serving_softirq() && t->kcov_softirq)) { in kcov_remote_stop() 1035 if (in_serving_softirq()) { in kcov_remote_stop()
66 if (in_serving_softirq()) { in task_get_classid()
153 if (in_serving_softirq()) in time_bench_page_pool() 154 pr_warn("%s(): in_serving_softirq fast-path\n", func); in time_bench_page_pool() 161 /* Common fast-path alloc that depend on in_serving_softirq() */ in time_bench_page_pool()
1847 BUG_ON(IS_ENABLED(CONFIG_PREEMPT_RT) || !in_serving_softirq()); in kernel_neon_begin() 1869 if (IS_ENABLED(CONFIG_PREEMPT_RT) || !in_serving_softirq()) in kernel_neon_begin() 1899 if (!IS_ENABLED(CONFIG_PREEMPT_RT) && in_serving_softirq() && in kernel_neon_end()
357 WARN_ON_ONCE(!in_serving_softirq()); in hash_irq_test_bh_work_func()
200 else if (in_serving_softirq()) in account_system_time()
1122 if ((current == t && !in_hardirq() && !in_serving_softirq()) || in rcu_gp_kthread_wake() 2570 if ((in_serving_softirq() || rdp->rcu_cpu_kthread_status == RCU_KTHREAD_RUNNING) && in rcu_do_batch() 2612 if (in_serving_softirq()) { in rcu_do_batch()
680 } else if (in_serving_softirq()) { in __alloc_object()
4458 if (in_serving_softirq() && (current->flags & PF_MEMALLOC)) in __gfp_pfmemalloc_flags()
874 if (in_hardirq() || in_serving_softirq() || in_nmi()) { in restricted_pointer()
2589 if (in_serving_softirq()) in tracing_gen_ctx_irq_test()