Home
last modified time | relevance | path

Searched refs:in_task (Results 1 – 22 of 22) sorted by relevance

/linux/kernel/
A Dkcov.c166 if (!in_task() && !(in_serving_softirq() && t->kcov_softirq)) in check_kcov_mode()
827 if (!in_task() && !in_serving_softirq()) in kcov_remote_start()
837 if (WARN_ON(in_task() && kcov_mode_enabled(mode))) { in kcov_remote_start()
859 in_task() ? "task" : "softirq"); in kcov_remote_start()
869 if (in_task()) { in kcov_remote_start()
969 if (!in_task() && !in_serving_softirq()) in kcov_remote_stop()
1014 if (in_task()) { in kcov_remote_stop()
1030 if (!in_task()) in kcov_common_handle()
A Dworkqueue_internal.h68 if (in_task() && (current->flags & PF_WQ_WORKER)) in current_wq_worker()
A Dsmp.c740 WARN_ON_ONCE(!in_task()); in smp_call_function_single()
894 WARN_ON_ONCE(!in_task()); in smp_call_function_many_cond()
/linux/lib/
A Dfault-inject.c60 return in_task() && task->make_it_fail; in fail_task()
105 if (in_task()) { in should_fail()
/linux/kernel/locking/
A Drtmutex_api.c100 if (IS_ENABLED(CONFIG_DEBUG_RT_MUTEXES) && WARN_ON_ONCE(!in_task())) in rt_mutex_trylock()
572 if (IS_ENABLED(CONFIG_DEBUG_RT_MUTEXES) && WARN_ON_ONCE(!in_task())) in mutex_trylock()
/linux/kernel/kcsan/
A Dcore.c202 return in_task() ? &current->kcsan_ctx : raw_cpu_ptr(&kcsan_cpu_ctx); in get_ctx()
317 unsigned int delay = in_task() ? kcsan_udelay_task : kcsan_udelay_interrupt; in delay_access()
653 BUG_ON(!in_task()); in kcsan_init()
A Dreport.c634 .task_pid = in_task() ? task_pid_nr(current) : -1, in prepare_access_info()
/linux/include/linux/
A Dpreempt.h121 #define in_task() (!(in_nmi() | in_hardirq() | in_serving_softirq())) macro
/linux/fs/
A Dio-wq.h202 return in_task() && (current->flags & PF_IO_WORKER) && in io_wq_current_is_worker()
A Dio_uring.c2690 if (!same_thread_group(req->task, current) || !in_task()) in io_rw_should_reissue()
/linux/include/linux/sched/
A Dmm.h338 if (!in_task()) { in set_active_memcg()
/linux/drivers/input/serio/
A Dps2-gpio.c100 if (in_task()) { in ps2_gpio_write()
/linux/arch/x86/include/asm/
A Duaccess.h47 WARN_ON_ONCE(!in_task() && !pagefault_disabled())
/linux/mm/
A Dmemcontrol.c884 if (!in_task()) in active_memcg()
947 if (!in_task() || !current->mm || (current->flags & PF_KTHREAD)) in memcg_kmem_bypass()
2190 if (in_task()) in drain_local_stock()
2781 if (likely(in_task())) { in get_obj_stock()
2795 if (likely(in_task())) in put_obj_stock()
3195 if (in_task() && stock->task_obj.cached_objcg) { in obj_stock_flush_required()
A Dpage_alloc.c4195 if (!in_task() || !(gfp_mask & __GFP_DIRECT_RECLAIM)) in warn_alloc_show_mem()
4681 } else if (unlikely(rt_task(current)) && in_task()) in gfp_to_alloc_flags()
5135 if (in_task() && !ac->nodemask) in prepare_alloc_pages()
A Dmempolicy.c1828 if (!in_task()) in mempolicy_slab_node()
/linux/arch/s390/crypto/
A Dpaes_s390.c132 if (i > 0 && ret == -EAGAIN && in_task()) in __paes_keyblob2pkey()
/linux/kernel/rcu/
A Dtree_nocb.h31 if (in_task()) in rcu_current_is_nocb_kthread()
A Drcutorture.c583 if (!delay && in_task()) { in srcu_read_delay()
/linux/kernel/printk/
A Dprintk.c2020 return in_task() ? task_pid_nr(current) : in printk_caller_id()
/linux/drivers/gpu/drm/amd/amdgpu/
A Damdgpu_device.c425 if (in_task()) { in amdgpu_device_skip_hw_access()
/linux/net/core/
A Dskbuff.c1174 WARN_ON_ONCE(!in_task()); in msg_zerocopy_alloc()

Completed in 131 milliseconds