Home
last modified time | relevance | path

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

/linux-6.1.9/kernel/
Dkthread.c73 static inline struct kthread *to_kthread(struct task_struct *k) in to_kthread() function
100 struct kthread *kthread = to_kthread(tsk); in get_kthread_comm()
114 if (WARN_ON_ONCE(to_kthread(p))) in set_kthread_struct()
136 kthread = to_kthread(k); in free_kthread_struct()
157 return test_bit(KTHREAD_SHOULD_STOP, &to_kthread(current)->flags); in kthread_should_stop()
163 return test_bit(KTHREAD_SHOULD_PARK, &to_kthread(k)->flags); in __kthread_should_park()
234 return to_kthread(task)->data; in kthread_data()
288 __kthread_parkme(to_kthread(current)); in kthread_parkme()
304 struct kthread *kthread = to_kthread(current); in kthread_exit()
341 self = to_kthread(current); in kthread()
[all …]