Lines Matching refs:task_struct
11 struct task_struct *kthread_create_on_node(int (*threadfn)(void *data),
31 struct task_struct *kthread_create_on_cpu(int (*threadfn)(void *data),
36 void get_kthread_comm(char *buf, size_t buf_size, struct task_struct *tsk);
37 bool set_kthread_struct(struct task_struct *p);
39 void kthread_set_per_cpu(struct task_struct *k, int cpu);
40 bool kthread_is_per_cpu(struct task_struct *k);
53 struct task_struct *__k \
72 static inline struct task_struct *
76 struct task_struct *p; in kthread_run_on_cpu()
85 void free_kthread_struct(struct task_struct *k);
86 void kthread_bind(struct task_struct *k, unsigned int cpu);
87 void kthread_bind_mask(struct task_struct *k, const struct cpumask *mask);
88 int kthread_stop(struct task_struct *k);
91 bool __kthread_should_park(struct task_struct *k);
93 void *kthread_func(struct task_struct *k);
94 void *kthread_data(struct task_struct *k);
95 void *kthread_probe_data(struct task_struct *k);
96 int kthread_park(struct task_struct *k);
97 void kthread_unpark(struct task_struct *k);
103 extern struct task_struct *kthreadd_task;
104 extern int tsk_fork_get_node(struct task_struct *tsk);
127 struct task_struct *task;