Home
last modified time | relevance | path

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

/drivers/misc/sgi-xp/
Dxpc_main.c653 struct task_struct *kthread; in xpc_activate_partition() local
664 kthread = kthread_run(xpc_activating, (void *)((u64)partid), "xpc%02d", in xpc_activate_partition()
666 if (IS_ERR(kthread)) { in xpc_activate_partition()
838 struct task_struct *kthread; in xpc_create_kthreads() local
865 kthread = kthread_run(xpc_kthread_start, (void *)args, in xpc_create_kthreads()
867 if (IS_ERR(kthread)) { in xpc_create_kthreads()
1259 struct task_struct *kthread; in xpc_init() local
1321 kthread = kthread_run(xpc_hb_checker, NULL, XPC_HB_CHECK_THREAD_NAME); in xpc_init()
1322 if (IS_ERR(kthread)) { in xpc_init()
1333 kthread = kthread_run(xpc_initiate_discovery, NULL, in xpc_init()
[all …]
/drivers/hwmon/
Dlis3lv02d.c303 adev.kthread = kthread_run(lis3lv02d_joystick_kthread, NULL, "klis3lv02d"); in lis3lv02d_joystick_open()
304 if (IS_ERR(adev.kthread)) { in lis3lv02d_joystick_open()
306 return PTR_ERR(adev.kthread); in lis3lv02d_joystick_open()
314 kthread_stop(adev.kthread); in lis3lv02d_joystick_close()
Dlis3lv02d.h173 struct task_struct *kthread; /* kthread for input */ member
/drivers/media/video/
Dvivi.c198 struct task_struct *kthread; member
577 dma_q->kthread = kthread_run(vivi_thread, fh, "vivi"); in vivi_start_thread()
579 if (IS_ERR(dma_q->kthread)) { in vivi_start_thread()
581 return PTR_ERR(dma_q->kthread); in vivi_start_thread()
596 if (dma_q->kthread) { in vivi_stop_thread()
597 kthread_stop(dma_q->kthread); in vivi_stop_thread()
598 dma_q->kthread = NULL; in vivi_stop_thread()
Dmsp3400-driver.c341 if (NULL == state->kthread) in msp_wake_thread()
1007 state->kthread = kthread_run(thread_func, client, "msp34xx"); in msp_probe()
1009 if (IS_ERR(state->kthread)) in msp_probe()
1022 if (state->kthread) { in msp_remove()
1024 kthread_stop(state->kthread); in msp_remove()
Dmsp3400-driver.h95 struct task_struct *kthread; member
Ds2255drv.c182 struct task_struct *kthread; member
1820 dev->vidq[i].kthread = NULL; in s2255_probe_v4l()
/drivers/media/video/cx88/
Dcx88-video.c1957 core->kthread = kthread_run(cx88_audio_thread, core, "cx88 tvaudio"); in cx8800_initdev()
1958 if (IS_ERR(core->kthread)) { in cx8800_initdev()
1959 err = PTR_ERR(core->kthread); in cx8800_initdev()
1982 if (core->kthread) { in cx8800_finidev()
1983 kthread_stop(core->kthread); in cx8800_finidev()
1984 core->kthread = NULL; in cx8800_finidev()
Dcx88.h343 struct task_struct *kthread; member
/drivers/usb/atm/
Dueagle-atm.c161 struct task_struct *kthread; member
2166 sc->kthread = kthread_run(uea_kthread, sc, "ueagle-atm"); in uea_boot()
2167 if (sc->kthread == ERR_PTR(-ENOMEM)) { in uea_boot()
2194 ret = kthread_stop(sc->kthread); in uea_stop()