Home
last modified time | relevance | path

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

12

/linux-5.19.10/arch/s390/include/asm/
Darchrandom.h37 in_task()) { in arch_get_random_seed_long()
48 in_task()) { in arch_get_random_seed_int()
/linux-5.19.10/kernel/
Dkcov.c166 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()
Dworkqueue_internal.h68 if (in_task() && (current->flags & PF_WQ_WORKER)) in current_wq_worker()
Dsmp.c759 WARN_ON_ONCE(!in_task()); in smp_call_function_single()
913 WARN_ON_ONCE(!in_task()); in smp_call_function_many_cond()
/linux-5.19.10/lib/
Dfault-inject.c63 return in_task() && task->make_it_fail; in fail_task()
108 if (in_task()) { in should_fail()
/linux-5.19.10/kernel/locking/
Drtmutex_api.c122 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()
/linux-5.19.10/include/linux/
Dpreempt.h121 #define in_task() (!(in_nmi() | in_hardirq() | in_serving_softirq())) macro
/linux-5.19.10/io_uring/
Dio-wq.h225 return in_task() && (current->flags & PF_IO_WORKER) && in io_wq_current_is_worker()
/linux-5.19.10/kernel/kcsan/
Dcore.c204 return in_task() ? &current->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()
Dreport.c645 .task_pid = in_task() ? task_pid_nr(current) : -1, in prepare_access_info()
/linux-5.19.10/kernel/rcu/
Dsrcutiny.c102 if (!newval && READ_ONCE(ssp->srcu_gp_waiting) && in_task()) in __srcu_read_unlock()
Dtree_nocb.h31 if (in_task()) in rcu_current_is_nocb_kthread()
Drcutorture.c591 if (!delay && in_task()) { in srcu_read_delay()
/linux-5.19.10/include/linux/sched/
Dmm.h382 if (!in_task()) { in set_active_memcg()
/linux-5.19.10/drivers/net/ethernet/intel/ice/
Dice_idc.c37 if (WARN_ON_ONCE(!in_task())) in ice_send_event_to_aux()
/linux-5.19.10/drivers/input/serio/
Dps2-gpio.c135 if (in_task()) { in ps2_gpio_write()
/linux-5.19.10/arch/x86/include/asm/
Duaccess.h18 WARN_ON_ONCE(!in_task() && !pagefault_disabled())
/linux-5.19.10/arch/s390/crypto/
Dpaes_s390.c132 if (i > 0 && ret == -EAGAIN && in_task()) in __paes_keyblob2pkey()
/linux-5.19.10/mm/
Dmemcontrol.c718 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()
Dpage_alloc.c4244 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()
Dmempolicy.c1897 if (!in_task()) in mempolicy_slab_node()
/linux-5.19.10/kernel/printk/
Dprintk.c2036 return in_task() ? task_pid_nr(current) : in printk_caller_id()
/linux-5.19.10/drivers/gpu/drm/amd/amdgpu/
Damdgpu_device.c423 if (in_task()) { in amdgpu_device_skip_hw_access()
/linux-5.19.10/net/core/
Dskbuff.c1176 WARN_ON_ONCE(!in_task()); in msg_zerocopy_alloc()
/linux-5.19.10/kernel/sched/
Dfair.c6511 in_task() && in select_idle_sibling()

12