| /linux/kernel/ |
| H A D | kcov.c | 183 if (!in_task() && !(in_softirq_really() && t->kcov_softirq)) in check_kcov_mode() 874 if (!in_task() && !in_softirq_really()) in kcov_remote_start() 884 if (WARN_ON(in_task() && kcov_mode_enabled(mode))) { in kcov_remote_start() 906 in_task() ? "task" : "softirq"); in kcov_remote_start() 918 if (in_task()) { in kcov_remote_start() 1027 if (!in_task() && !in_softirq_really()) in kcov_remote_stop() 1072 if (in_task()) { in kcov_remote_stop() 1088 if (!in_task()) in kcov_common_handle()
|
| H A D | workqueue_internal.h | 70 if (in_task() && (current->flags & PF_WQ_WORKER)) in current_wq_worker()
|
| H A D | smp.c | 669 WARN_ON_ONCE(!in_task()); in smp_call_function_single() 809 WARN_ON_ONCE(!in_task()); in smp_call_function_many_cond()
|
| /linux/arch/arm64/include/asm/ |
| H A D | fpu.h | 16 BUG_ON(!in_task()); in kernel_fpu_begin()
|
| /linux/arch/s390/include/asm/ |
| H A D | archrandom.h | 30 in_task()) { in arch_get_random_seed_longs()
|
| /linux/fs/f2fs/ |
| H A D | compress.c | 732 void f2fs_decompress_cluster(struct decompress_io_ctx *dic, bool in_task) in f2fs_decompress_cluster() argument 790 f2fs_decompress_end_io(dic, ret, in_task); in f2fs_decompress_cluster() 803 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() 1795 static void f2fs_put_dic(struct decompress_io_ctx *dic, bool in_task) in f2fs_put_dic() argument 1798 if (in_task) { in f2fs_put_dic() 1834 bool in_task) in f2fs_decompress_end_io() argument 1868 f2fs_put_dic(dic, in_task); in f2fs_decompress_end_io() 1876 void f2fs_put_folio_dic(struct folio *folio, bool in_task) in f2fs_put_folio_dic() argument [all …]
|
| /linux/io_uring/ |
| H A D | io-wq.h | 83 return in_task() && (current->flags & PF_IO_WORKER) &&
|
| H A D | io_uring.h | 207 lockdep_assert(in_task()); in io_lockdep_assert_cq_locked()
|
| /linux/mm/kmsan/ |
| H A D | kmsan.h | 83 return in_task() ? ¤t->kmsan_ctx : raw_cpu_ptr(&kmsan_percpu_ctx); in kmsan_get_context()
|
| /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 | 649 .task_pid = in_task() ? task_pid_nr(current) : -1, in prepare_access_info()
|
| /linux/kernel/trace/rv/monitors/sleep/ |
| H A D | sleep.c | 102 } else if (in_task()) { in handle_sched_waking()
|
| /linux/include/linux/sched/ |
| H A D | mm.h | 496 if (!in_task()) { in set_active_memcg()
|
| /linux/kernel/rcu/ |
| H A D | srcutiny.c | 109 if (!newval && READ_ONCE(ssp->srcu_gp_waiting) && in_task() && !irqs_disabled()) in __srcu_read_unlock()
|
| H A D | tree_nocb.h | 27 if (in_task()) in rcu_current_is_nocb_kthread()
|
| /linux/arch/x86/kvm/ |
| H A D | kvm_cache_regs.h | 57 lockdep_assert_once(in_task() || kvm_arch_pmi_in_guest(vcpu)) in BUILD_KVM_GPR_ACCESSORS()
|
| /linux/mm/ |
| H A D | swap.h | 111 VM_WARN_ON_ONCE(!in_task()); in __swap_cluster_lock()
|
| H A D | memcontrol.c | 909 if (!in_task()) in active_memcg() 1911 if (WARN_ONCE(!in_task(), "drain in non-task context")) in drain_local_memcg_stock() 1927 if (WARN_ONCE(!in_task(), "drain in non-task context")) in drain_local_obj_stock() 2512 if (!in_task()) { in try_charge_memcg() 2741 if (in_task()) { in current_obj_cgroup() 5048 if (!in_task()) in mem_cgroup_sk_alloc()
|
| H A D | page_alloc.c | 4018 if (!in_task() || !(gfp_mask & __GFP_DIRECT_RECLAIM)) in warn_alloc_show_mem() 4536 } else if (unlikely(rt_or_dl_task(current)) && in_task()) in gfp_to_alloc_flags() 5012 if (in_task() && !ac->nodemask) in prepare_alloc_pages()
|
| H A D | mempolicy.c | 2142 if (!in_task()) in mempolicy_slab_node()
|
| /linux/drivers/net/ethernet/intel/ice/ |
| H A D | ice_idc.c | 43 if (WARN_ON_ONCE(!in_task())) in ice_send_event_to_aux()
|
| /linux/drivers/input/serio/ |
| H A D | ps2-gpio.c | 135 if (in_task()) { in ps2_gpio_write()
|
| /linux/fs/btrfs/ |
| H A D | bio.c | 114 ASSERT(in_task()); in btrfs_bio_end_io() 411 ASSERT(in_task()); in btrfs_raid56_end_io()
|
| /linux/kernel/printk/ |
| H A D | printk.c | 2140 return in_task() ? task_pid_nr(current) : in printk_caller_id() 2148 return !in_task() ? task_pid_nr(current) : in printk_caller_id2()
|
| /linux/block/ |
| H A D | bio.c | 824 if (in_task()) { in bio_put_percpu_cache()
|