/linux-6.3-rc2/kernel/ |
A D | kcov.c | 173 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 D | workqueue_internal.h | 68 if (in_task() && (current->flags & PF_WQ_WORKER)) in current_wq_worker()
|
A D | smp.c | 758 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 D | archrandom.h | 30 in_task()) { in arch_get_random_seed_longs()
|
/linux-6.3-rc2/lib/ |
A D | fault-inject.c | 60 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 D | io-wq.h | 80 return in_task() && (current->flags & PF_IO_WORKER) && in io_wq_current_is_worker()
|
A D | rw.c | 208 if (!same_thread_group(req->task, current) || !in_task()) in io_rw_should_reissue()
|
/linux-6.3-rc2/fs/f2fs/ |
A D | compress.c | 730 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 D | data.c | 140 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 D | f2fs.h | 4243 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 D | rtmutex_api.c | 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()
|
/linux-6.3-rc2/mm/kmsan/ |
A D | kmsan.h | 106 return in_task() ? ¤t->kmsan_ctx : raw_cpu_ptr(&kmsan_percpu_ctx); in kmsan_get_context()
|
/linux-6.3-rc2/include/linux/ |
A D | preempt.h | 121 #define in_task() (!(in_nmi() | in_hardirq() | in_serving_softirq())) macro
|
/linux-6.3-rc2/kernel/rcu/ |
A D | srcutiny.c | 102 if (!newval && READ_ONCE(ssp->srcu_gp_waiting) && in_task()) in __srcu_read_unlock()
|
A D | tree_nocb.h | 31 if (in_task()) in rcu_current_is_nocb_kthread()
|
/linux-6.3-rc2/kernel/kcsan/ |
A D | core.c | 206 return in_task() ? ¤t->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 D | report.c | 644 .task_pid = in_task() ? task_pid_nr(current) : -1, in prepare_access_info()
|
/linux-6.3-rc2/include/linux/sched/ |
A D | mm.h | 382 if (!in_task()) { in set_active_memcg()
|
/linux-6.3-rc2/drivers/net/ethernet/intel/ice/ |
A D | ice_idc.c | 39 if (WARN_ON_ONCE(!in_task())) in ice_send_event_to_aux()
|
/linux-6.3-rc2/drivers/input/serio/ |
A D | ps2-gpio.c | 135 if (in_task()) { in ps2_gpio_write()
|
/linux-6.3-rc2/arch/x86/include/asm/ |
A D | uaccess.h | 19 WARN_ON_ONCE(!in_task() && !pagefault_disabled())
|
/linux-6.3-rc2/arch/s390/crypto/ |
A D | paes_s390.c | 132 if (i > 0 && ret == -EAGAIN && in_task()) in __paes_keyblob2pkey()
|
/linux-6.3-rc2/mm/ |
A D | memcontrol.c | 798 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 D | page_alloc.c | 4371 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 D | mempolicy.c | 1908 if (!in_task()) in mempolicy_slab_node()
|