Home
last modified time | relevance | path

Searched refs:to_kthread (Results 1 – 1 of 1) sorted by relevance

/Linux-v5.10/kernel/
Dkthread.c81 static inline struct kthread *to_kthread(struct task_struct *k) in to_kthread() function
95 kthread = to_kthread(k); in free_kthread_struct()
111 return test_bit(KTHREAD_SHOULD_STOP, &to_kthread(current)->flags); in kthread_should_stop()
117 return test_bit(KTHREAD_SHOULD_PARK, &to_kthread(k)->flags); in __kthread_should_park()
172 return to_kthread(task)->threadfn; in kthread_func()
187 return to_kthread(task)->data; in kthread_data()
202 struct kthread *kthread = to_kthread(task); in kthread_probe_data()
240 __kthread_parkme(to_kthread(current)); in kthread_parkme()
496 set_bit(KTHREAD_IS_PER_CPU, &to_kthread(p)->flags); in kthread_create_on_cpu()
497 to_kthread(p)->cpu = cpu; in kthread_create_on_cpu()
[all …]