Home
last modified time | relevance | path

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

12

/linux-6.3-rc2/kernel/
A Dkcov.c173 if (!in_task() && !(in_serving_softirq() && t->kcov_softirq)) in check_kcov_mode()
849 if (!in_task() && !in_serving_softirq()) in kcov_remote_start()
859 if (WARN_ON(in_task() && kcov_mode_enabled(mode))) { in kcov_remote_start()
881 in_task() ? "task" : "softirq"); in kcov_remote_start()
891 if (in_task()) { in kcov_remote_start()
991 if (!in_task() && !in_serving_softirq()) in kcov_remote_stop()
1036 if (in_task()) { in kcov_remote_stop()
1052 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.c758 WARN_ON_ONCE(!in_task()); in smp_call_function_single()
912 WARN_ON_ONCE(!in_task()); in smp_call_function_many_cond()
/linux-6.3-rc2/arch/s390/include/asm/
A Darchrandom.h30 in_task()) { in arch_get_random_seed_longs()
/linux-6.3-rc2/lib/
A Dfault-inject.c60 return in_task() && task->make_it_fail; in fail_task()
107 if (in_task()) { in should_fail_ex()
/linux-6.3-rc2/io_uring/
A Dio-wq.h80 return in_task() && (current->flags & PF_IO_WORKER) && in io_wq_current_is_worker()
A Drw.c208 if (!same_thread_group(req->task, current) || !in_task()) in io_rw_should_reissue()
/linux-6.3-rc2/fs/f2fs/
A Dcompress.c730 void f2fs_decompress_cluster(struct decompress_io_ctx *dic, bool in_task) in f2fs_decompress_cluster() argument
786 f2fs_decompress_end_io(dic, ret, in_task); in f2fs_decompress_cluster()
796 block_t blkaddr, bool in_task) in f2fs_end_read_compressed_page() argument
806 else if (blkaddr && in_task) in f2fs_end_read_compressed_page()
811 f2fs_decompress_cluster(dic, in_task); in f2fs_end_read_compressed_page()
1695 static void f2fs_put_dic(struct decompress_io_ctx *dic, bool in_task) in f2fs_put_dic() argument
1698 if (in_task) { in f2fs_put_dic()
1736 bool in_task) in f2fs_decompress_end_io() argument
1770 f2fs_put_dic(dic, in_task); in f2fs_decompress_end_io()
1778 void f2fs_put_page_dic(struct page *page, bool in_task) in f2fs_put_page_dic() argument
[all …]
A Ddata.c140 static void f2fs_finish_read_bio(struct bio *bio, bool in_task) in f2fs_finish_read_bio() argument
152 in_task); in f2fs_finish_read_bio()
153 f2fs_put_page_dic(page, in_task); in f2fs_finish_read_bio()
220 static void f2fs_verify_and_finish_bio(struct bio *bio, bool in_task) in f2fs_verify_and_finish_bio() argument
228 f2fs_finish_read_bio(bio, in_task); in f2fs_verify_and_finish_bio()
242 bool in_task) in f2fs_handle_step_decompress() argument
254 in_task); in f2fs_handle_step_decompress()
293 bool intask = in_task(); in f2fs_read_end_io()
A Df2fs.h4243 void f2fs_decompress_cluster(struct decompress_io_ctx *dic, bool in_task);
4245 block_t blkaddr, bool in_task);
4265 bool in_task);
4266 void f2fs_put_page_dic(struct page *page, bool in_task);
4313 bool in_task) { } in f2fs_decompress_cluster() argument
4315 bool failed, block_t blkaddr, bool in_task) in f2fs_end_read_compressed_page() argument
4319 static inline void f2fs_put_page_dic(struct page *page, bool in_task) in f2fs_put_page_dic() argument
/linux-6.3-rc2/kernel/locking/
A 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-6.3-rc2/mm/kmsan/
A Dkmsan.h106 return in_task() ? &current->kmsan_ctx : raw_cpu_ptr(&kmsan_percpu_ctx); in kmsan_get_context()
/linux-6.3-rc2/include/linux/
A Dpreempt.h121 #define in_task() (!(in_nmi() | in_hardirq() | in_serving_softirq())) macro
/linux-6.3-rc2/kernel/rcu/
A Dsrcutiny.c102 if (!newval && READ_ONCE(ssp->srcu_gp_waiting) && in_task()) in __srcu_read_unlock()
A Dtree_nocb.h31 if (in_task()) in rcu_current_is_nocb_kthread()
/linux-6.3-rc2/kernel/kcsan/
A Dcore.c206 return in_task() ? &current->kcsan_ctx : raw_cpu_ptr(&kcsan_cpu_ctx); in get_ctx()
323 unsigned int delay = in_task() ? kcsan_udelay_task : kcsan_udelay_interrupt; in delay_access()
789 BUG_ON(!in_task()); in kcsan_init()
A Dreport.c644 .task_pid = in_task() ? task_pid_nr(current) : -1, in prepare_access_info()
/linux-6.3-rc2/include/linux/sched/
A Dmm.h382 if (!in_task()) { in set_active_memcg()
/linux-6.3-rc2/drivers/net/ethernet/intel/ice/
A Dice_idc.c39 if (WARN_ON_ONCE(!in_task())) in ice_send_event_to_aux()
/linux-6.3-rc2/drivers/input/serio/
A Dps2-gpio.c135 if (in_task()) { in ps2_gpio_write()
/linux-6.3-rc2/arch/x86/include/asm/
A Duaccess.h19 WARN_ON_ONCE(!in_task() && !pagefault_disabled())
/linux-6.3-rc2/arch/s390/crypto/
A Dpaes_s390.c132 if (i > 0 && ret == -EAGAIN && in_task()) in __paes_keyblob2pkey()
/linux-6.3-rc2/mm/
A Dmemcontrol.c798 WARN_ON_ONCE(!in_task()); in __mod_memcg_lruvec_state()
1003 if (!in_task()) in active_memcg()
1066 if (!in_task() || !current->mm || (current->flags & PF_KTHREAD)) in memcg_kmem_bypass()
2799 if (!in_task()) { in try_charge_memcg()
7242 if (!in_task()) in mem_cgroup_sk_alloc()
A Dpage_alloc.c4371 if (!in_task() || !(gfp_mask & __GFP_DIRECT_RECLAIM)) in warn_alloc_show_mem()
4898 } else if (unlikely(rt_task(current)) && in_task()) in gfp_to_alloc_flags()
5356 if (in_task() && !ac->nodemask) in prepare_alloc_pages()
A Dmempolicy.c1908 if (!in_task()) in mempolicy_slab_node()

Completed in 282 milliseconds

12