Searched refs:kthread (Results 1 – 8 of 8) sorted by relevance
/kernel/ |
D | kthread.c | 52 struct kthread { struct 73 static inline struct kthread *to_kthread(struct task_struct *k) in to_kthread() argument 90 static inline struct kthread *__to_kthread(struct task_struct *p) in __to_kthread() 92 void *kthread = p->worker_private; in __to_kthread() local 93 if (kthread && !(p->flags & PF_KTHREAD)) in __to_kthread() 94 kthread = NULL; in __to_kthread() 95 return kthread; in __to_kthread() 100 struct kthread *kthread = to_kthread(tsk); in get_kthread_comm() local 102 if (!kthread || !kthread->full_name) { in get_kthread_comm() 107 strscpy_pad(buf, kthread->full_name, buf_size); in get_kthread_comm() [all …]
|
D | Makefile | 11 kthread.o sys_ni.o nsproxy.o \
|
D | fork.c | 2203 if (args->kthread) in copy_process() 2296 if (args->kthread) { in copy_process() 2702 .kthread = 1, in fork_idle() 2845 .kthread = 1, in kernel_thread()
|
/kernel/trace/ |
D | trace_hwlat.c | 74 struct task_struct *kthread; member 167 if (!kdata->kthread) in trace_hwlat_callback() 399 struct task_struct *kthread; in stop_single_kthread() local 402 kthread = kdata->kthread; in stop_single_kthread() 404 if (!kthread) in stop_single_kthread() 407 kthread_stop(kthread); in stop_single_kthread() 408 kdata->kthread = NULL; in stop_single_kthread() 425 struct task_struct *kthread; in start_single_kthread() local 429 if (kdata->kthread) in start_single_kthread() 432 kthread = kthread_create(kthread_fn, NULL, "hwlatd"); in start_single_kthread() [all …]
|
D | trace_osnoise.c | 185 struct task_struct *kthread; member 213 struct task_struct *kthread; member 1598 wake_up_process(tlat->kthread); in timerlat_irq() 1604 wake_up_process(tlat->kthread); in timerlat_irq() 1665 tlat->kthread = current; in timerlat_main() 1713 struct task_struct *kthread; in stop_kthread() local 1715 kthread = per_cpu(per_cpu_osnoise_var, cpu).kthread; in stop_kthread() 1716 if (kthread) in stop_kthread() 1717 kthread_stop(kthread); in stop_kthread() 1718 per_cpu(per_cpu_osnoise_var, cpu).kthread = NULL; in stop_kthread() [all …]
|
/kernel/bpf/ |
D | cpumap.c | 66 struct task_struct *kthread; member 178 kthread_stop(rcpu->kthread); in cpu_map_kthread_stop() 476 rcpu->kthread = kthread_create_on_node(cpu_map_kthread_run, rcpu, numa, in __cpu_map_entry_alloc() 479 if (IS_ERR(rcpu->kthread)) in __cpu_map_entry_alloc() 486 kthread_bind(rcpu->kthread, cpu); in __cpu_map_entry_alloc() 487 wake_up_process(rcpu->kthread); in __cpu_map_entry_alloc() 789 wake_up_process(rcpu->kthread); in cpu_map_generic_redirect() 804 wake_up_process(bq->obj->kthread); in __cpu_map_flush()
|
/kernel/rcu/ |
D | Kconfig | 226 bool "Perform RCU expedited work in a real-time kthread" 255 such CPU, a kthread ("rcuox/N") will be created to invoke 258 RCU-sched (!PREEMPTION kernels). Nothing prevents this kthread 281 bool "Offload RCU callback from real-time kthread"
|
/kernel/sched/ |
D | core.c | 3107 bool kthread = p->flags & PF_KTHREAD; in __set_cpus_allowed_ptr_locked() local 3114 if (kthread || is_migration_disabled(p)) { in __set_cpus_allowed_ptr_locked() 3128 if (!kthread && !cpumask_subset(new_mask, cpu_allowed_mask)) { in __set_cpus_allowed_ptr_locked()
|