Searched refs:thread_task (Results 1 – 5 of 5) sorted by relevance
/drivers/staging/csr/ |
D | bh.c | 38 if (thread->thread_task != NULL) { in uf_start_thread() 44 thread->thread_task = kthread_run(func, priv, "%s", thread->name); in uf_start_thread() 45 if (IS_ERR(thread->thread_task)) in uf_start_thread() 46 return PTR_ERR(thread->thread_task); in uf_start_thread() 57 sched_setscheduler(thread->thread_task, in uf_start_thread() 65 set_user_nice(thread->thread_task, in uf_start_thread() 97 if (!thread->thread_task) { in uf_stop_thread() 105 kthread_stop(thread->thread_task); in uf_stop_thread() 106 thread->thread_task = NULL; in uf_stop_thread() 141 thread->thread_task = NULL; in uf_wait_for_thread_to_stop()
|
D | unifi_sme.c | 1106 sched_setscheduler(priv->bh_thread.thread_task, SCHED_FIFO, ¶m); in uf_ta_sample_ind_wq() 1114 sched_setscheduler(priv->bh_thread.thread_task, SCHED_NORMAL, ¶m); in uf_ta_sample_ind_wq() 1118 set_user_nice(priv->bh_thread.thread_task, PRIO_TO_NICE(priv->bh_thread.prio)); in uf_ta_sample_ind_wq()
|
D | unifi_priv.h | 217 struct task_struct *thread_task; member
|
D | netdev.c | 304 priv->bh_thread.thread_task = NULL; in uf_alloc_netdevice()
|
/drivers/usb/gadget/ |
D | f_mass_storage.c | 300 struct task_struct *thread_task; member 418 if (common->thread_task) in wakeup_thread() 419 wake_up_process(common->thread_task); in wakeup_thread() 435 if (common->thread_task) in raise_exception() 437 common->thread_task); in raise_exception() 2553 common->thread_task = NULL; in fsg_main_thread() 2764 common->thread_task = in fsg_common_init() 2766 if (IS_ERR(common->thread_task)) { in fsg_common_init() 2767 rc = PTR_ERR(common->thread_task); in fsg_common_init() 2799 DBG(common, "I/O thread pid: %d\n", task_pid_nr(common->thread_task)); in fsg_common_init() [all …]
|