Lines Matching refs:thread
128 void qdf_set_user_nice(qdf_thread_t *thread, long nice) in qdf_set_user_nice() argument
130 set_user_nice(thread, nice); in qdf_set_user_nice()
152 struct task_struct *thread; in qdf_thread_run() local
154 thread = kthread_create((qdf_thread_os_func)callback, context, in qdf_thread_run()
156 if (IS_ERR(thread)) in qdf_thread_run()
159 get_task_struct(thread); in qdf_thread_run()
160 wake_up_process(thread); in qdf_thread_run()
162 return thread; in qdf_thread_run()
166 QDF_STATUS qdf_thread_join(qdf_thread_t *thread) in qdf_thread_join() argument
170 QDF_BUG(thread); in qdf_thread_join()
172 status = (QDF_STATUS)kthread_stop(thread); in qdf_thread_join()
173 put_task_struct(thread); in qdf_thread_join()
185 int qdf_wake_up_process(qdf_thread_t *thread) in qdf_wake_up_process() argument
187 return wake_up_process(thread); in qdf_wake_up_process()
203 void qdf_print_thread_trace(qdf_thread_t *thread) in qdf_print_thread_trace() argument
206 struct task_struct *task = thread; in qdf_print_thread_trace()
216 void qdf_print_thread_trace(qdf_thread_t *thread) in qdf_print_thread_trace() argument
219 struct task_struct *task = thread; in qdf_print_thread_trace()
232 void qdf_print_thread_trace(qdf_thread_t *thread) in qdf_print_thread_trace() argument
235 struct task_struct *task = thread; in qdf_print_thread_trace()
250 void qdf_print_thread_trace(qdf_thread_t *thread) { } in qdf_print_thread_trace() argument
273 qdf_thread_set_cpus_allowed_mask(qdf_thread_t *thread, qdf_cpu_mask *new_mask) in qdf_thread_set_cpus_allowed_mask() argument
275 set_cpus_allowed_ptr(thread, new_mask); in qdf_thread_set_cpus_allowed_mask()