Home
last modified time | relevance | path

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

/linux-6.12.1/kernel/
Dkthread.c74 static inline struct kthread *to_kthread(struct task_struct *k) in to_kthread() function
101 struct kthread *kthread = to_kthread(tsk); in get_kthread_comm()
115 if (WARN_ON_ONCE(to_kthread(p))) in set_kthread_struct()
137 kthread = to_kthread(k); in free_kthread_struct()
158 return test_bit(KTHREAD_SHOULD_STOP, &to_kthread(current)->flags); in kthread_should_stop()
164 return test_bit(KTHREAD_SHOULD_PARK, &to_kthread(k)->flags); in __kthread_should_park()
244 return to_kthread(task)->data; in kthread_data()
298 __kthread_parkme(to_kthread(current)); in kthread_parkme()
314 struct kthread *kthread = to_kthread(current); in kthread_exit()
352 self = to_kthread(current); in kthread()
[all …]