Searched refs:in_task (Results 1 – 25 of 26) sorted by relevance
12
37 in_task()) { in arch_get_random_seed_long()48 in_task()) { in arch_get_random_seed_int()
166 if (!in_task() && !(in_serving_softirq() && t->kcov_softirq)) in check_kcov_mode()842 if (!in_task() && !in_serving_softirq()) in kcov_remote_start()852 if (WARN_ON(in_task() && kcov_mode_enabled(mode))) { in kcov_remote_start()874 in_task() ? "task" : "softirq"); in kcov_remote_start()884 if (in_task()) { in kcov_remote_start()984 if (!in_task() && !in_serving_softirq()) in kcov_remote_stop()1029 if (in_task()) { in kcov_remote_stop()1045 if (!in_task()) in kcov_common_handle()
68 if (in_task() && (current->flags & PF_WQ_WORKER)) in current_wq_worker()
759 WARN_ON_ONCE(!in_task()); in smp_call_function_single()913 WARN_ON_ONCE(!in_task()); in smp_call_function_many_cond()
63 return in_task() && task->make_it_fail; in fail_task()108 if (in_task()) { in should_fail()
122 if (IS_ENABLED(CONFIG_DEBUG_RT_MUTEXES) && WARN_ON_ONCE(!in_task())) in rt_mutex_trylock()594 if (IS_ENABLED(CONFIG_DEBUG_RT_MUTEXES) && WARN_ON_ONCE(!in_task())) in mutex_trylock()
121 #define in_task() (!(in_nmi() | in_hardirq() | in_serving_softirq())) macro
225 return in_task() && (current->flags & PF_IO_WORKER) && in io_wq_current_is_worker()
204 return in_task() ? ¤t->kcsan_ctx : raw_cpu_ptr(&kcsan_cpu_ctx); in get_ctx()321 unsigned int delay = in_task() ? kcsan_udelay_task : kcsan_udelay_interrupt; in delay_access()787 BUG_ON(!in_task()); in kcsan_init()
645 .task_pid = in_task() ? task_pid_nr(current) : -1, in prepare_access_info()
102 if (!newval && READ_ONCE(ssp->srcu_gp_waiting) && in_task()) in __srcu_read_unlock()
31 if (in_task()) in rcu_current_is_nocb_kthread()
591 if (!delay && in_task()) { in srcu_read_delay()
382 if (!in_task()) { in set_active_memcg()
37 if (WARN_ON_ONCE(!in_task())) in ice_send_event_to_aux()
135 if (in_task()) { in ps2_gpio_write()
18 WARN_ON_ONCE(!in_task() && !pagefault_disabled())
132 if (i > 0 && ret == -EAGAIN && in_task()) in __paes_keyblob2pkey()
718 WARN_ON_ONCE(!in_task()); in __mod_memcg_lruvec_state()913 if (!in_task()) in active_memcg()976 if (!in_task() || !current->mm || (current->flags & PF_KTHREAD)) in memcg_kmem_bypass()2719 if (!in_task()) { in try_charge_memcg()7003 if (!in_task()) in mem_cgroup_sk_alloc()
4244 if (!in_task() || !(gfp_mask & __GFP_DIRECT_RECLAIM)) in warn_alloc_show_mem()4740 } else if (unlikely(rt_task(current)) && in_task()) in gfp_to_alloc_flags()5194 if (in_task() && !ac->nodemask) in prepare_alloc_pages()
1897 if (!in_task()) in mempolicy_slab_node()
2036 return in_task() ? task_pid_nr(current) : in printk_caller_id()
423 if (in_task()) { in amdgpu_device_skip_hw_access()
1176 WARN_ON_ONCE(!in_task()); in msg_zerocopy_alloc()
6511 in_task() && in select_idle_sibling()