/openbmc/linux/kernel/ |
H A D | kcov.c | 182 if (!in_task() && !(in_softirq_really() && t->kcov_softirq)) in check_kcov_mode() 860 if (!in_task() && !in_softirq_really()) in kcov_remote_start() 870 if (WARN_ON(in_task() && kcov_mode_enabled(mode))) { in kcov_remote_start() 892 in_task() ? "task" : "softirq"); in kcov_remote_start() 902 if (in_task()) { in kcov_remote_start() 1002 if (!in_task() && !in_softirq_really()) in kcov_remote_stop() 1047 if (in_task()) { in kcov_remote_stop() 1063 if (!in_task()) in kcov_common_handle()
|
H A D | workqueue_internal.h | 69 if (in_task() && (current->flags & PF_WQ_WORKER)) in current_wq_worker()
|
H A D | smp.c | 632 WARN_ON_ONCE(!in_task()); in smp_call_function_single() 786 WARN_ON_ONCE(!in_task()); in smp_call_function_many_cond()
|
/openbmc/linux/include/linux/ |
H A D | preempt.h | 130 # define in_task() (!((preempt_count() & (NMI_MASK | HARDIRQ_MASK)) | in_serving_softirq())) macro 132 # define in_task() (!(preempt_count() & (NMI_MASK | HARDIRQ_MASK | SOFTIRQ_OFFSET))) macro
|
/openbmc/linux/arch/s390/include/asm/ |
H A D | archrandom.h | 30 in_task()) { in arch_get_random_seed_longs()
|
/openbmc/linux/fs/f2fs/ |
H A D | compress.c | 731 void f2fs_decompress_cluster(struct decompress_io_ctx *dic, bool in_task) in f2fs_decompress_cluster() argument 761 if (!in_task) in f2fs_decompress_cluster() 792 f2fs_decompress_end_io(dic, ret, in_task); in f2fs_decompress_cluster() 802 block_t blkaddr, bool in_task) in f2fs_end_read_compressed_page() argument 812 else if (blkaddr && in_task) in f2fs_end_read_compressed_page() 817 f2fs_decompress_cluster(dic, in_task); in f2fs_end_read_compressed_page() 1739 static void f2fs_put_dic(struct decompress_io_ctx *dic, bool in_task) in f2fs_put_dic() argument 1742 if (in_task) { in f2fs_put_dic() 1780 bool in_task) in f2fs_decompress_end_io() argument 1814 f2fs_put_dic(dic, in_task); in f2fs_decompress_end_io() [all …]
|
H A D | data.c | 138 static void f2fs_finish_read_bio(struct bio *bio, bool in_task) in f2fs_finish_read_bio() argument 150 in_task); in f2fs_finish_read_bio() 151 f2fs_put_page_dic(page, in_task); in f2fs_finish_read_bio() 218 static void f2fs_verify_and_finish_bio(struct bio *bio, bool in_task) in f2fs_verify_and_finish_bio() argument 226 f2fs_finish_read_bio(bio, in_task); in f2fs_verify_and_finish_bio() 240 bool in_task) in f2fs_handle_step_decompress() argument 252 in_task); in f2fs_handle_step_decompress() 291 bool intask = in_task(); in f2fs_read_end_io()
|
H A D | f2fs.h | 4281 void f2fs_decompress_cluster(struct decompress_io_ctx *dic, bool in_task); 4283 block_t blkaddr, bool in_task); 4304 bool in_task); 4305 void f2fs_put_page_dic(struct page *page, bool in_task); 4354 bool in_task) { } in f2fs_decompress_cluster() argument 4356 bool failed, block_t blkaddr, bool in_task) in f2fs_end_read_compressed_page() argument 4360 static inline void f2fs_put_page_dic(struct page *page, bool in_task) in f2fs_put_page_dic() argument
|
/openbmc/linux/io_uring/ |
H A D | io-wq.h | 81 return in_task() && (current->flags & PF_IO_WORKER) && in io_wq_current_is_worker()
|
H A D | io_uring.h | 100 lockdep_assert(in_task()); in io_lockdep_assert_cq_locked()
|
H A D | rw.c | 203 if (!same_thread_group(req->task, current) || !in_task()) in io_rw_should_reissue()
|
/openbmc/linux/kernel/locking/ |
H 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()
|
/openbmc/linux/mm/kmsan/ |
H A D | kmsan.h | 106 return in_task() ? ¤t->kmsan_ctx : raw_cpu_ptr(&kmsan_percpu_ctx); in kmsan_get_context()
|
/openbmc/linux/lib/ |
H A D | fault-inject.c | 60 return in_task() && task->make_it_fail; in fail_task() 107 if (in_task()) { in should_fail_ex()
|
/openbmc/linux/kernel/kcsan/ |
H 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() 798 BUG_ON(!in_task()); in kcsan_init()
|
H A D | report.c | 644 .task_pid = in_task() ? task_pid_nr(current) : -1, in prepare_access_info()
|
/openbmc/linux/kernel/rcu/ |
H A D | srcutiny.c | 102 if (!newval && READ_ONCE(ssp->srcu_gp_waiting) && in_task()) in __srcu_read_unlock()
|
H A D | tree_nocb.h | 31 if (in_task()) in rcu_current_is_nocb_kthread()
|
/openbmc/linux/include/linux/sched/ |
H A D | mm.h | 414 if (!in_task()) { in set_active_memcg()
|
/openbmc/linux/drivers/net/ethernet/intel/ice/ |
H A D | ice_idc.c | 39 if (WARN_ON_ONCE(!in_task())) in ice_send_event_to_aux()
|
/openbmc/linux/drivers/input/serio/ |
H A D | ps2-gpio.c | 135 if (in_task()) { in ps2_gpio_write()
|
/openbmc/linux/arch/s390/crypto/ |
H A D | paes_s390.c | 132 if (i > 0 && ret == -EAGAIN && in_task()) in __paes_keyblob2pkey()
|
/openbmc/linux/mm/ |
H A D | memcontrol.c | 814 WARN_ON_ONCE(!in_task()); in __mod_memcg_lruvec_state() 1015 if (!in_task()) in active_memcg() 1078 if (!in_task() || !current->mm || (current->flags & PF_KTHREAD)) in memcg_kmem_bypass() 2795 if (!in_task()) { in try_charge_memcg() 7328 if (!in_task()) in mem_cgroup_sk_alloc()
|
H A D | page_alloc.c | 3241 if (!in_task() || !(gfp_mask & __GFP_DIRECT_RECLAIM)) in warn_alloc_show_mem() 3753 } else if (unlikely(rt_task(current)) && in_task()) in gfp_to_alloc_flags() 4213 if (in_task() && !ac->nodemask) in prepare_alloc_pages()
|
/openbmc/linux/fs/erofs/ |
H A D | zdata.c | 1413 if (!in_task() || irqs_disabled() || rcu_read_lock_any_held()) { in z_erofs_decompress_kickoff()
|