Searched refs:to_kthread (Results 1 – 1 of 1) sorted by relevance
73 static inline struct kthread *to_kthread(struct task_struct *k) in to_kthread() function87 kthread = to_kthread(k); in free_kthread_struct()103 return test_bit(KTHREAD_SHOULD_STOP, &to_kthread(current)->flags); in kthread_should_stop()109 return test_bit(KTHREAD_SHOULD_PARK, &to_kthread(k)->flags); in __kthread_should_park()165 return to_kthread(task)->data; in kthread_data()179 struct kthread *kthread = to_kthread(task); in kthread_probe_data()210 __kthread_parkme(to_kthread(current)); in kthread_parkme()459 set_bit(KTHREAD_IS_PER_CPU, &to_kthread(p)->flags); in kthread_create_on_cpu()460 to_kthread(p)->cpu = cpu; in kthread_create_on_cpu()474 struct kthread *kthread = to_kthread(k); in kthread_unpark()[all …]