Home
last modified time | relevance | path

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

/linux-2.6.39/drivers/net/wimax/i2400m/
Dusb-tx.c249 struct task_struct *kthread; in i2400mu_tx_setup() local
251 kthread = kthread_run(i2400mu_txd, i2400mu, "%s-tx", in i2400mu_tx_setup()
254 if (IS_ERR(kthread)) { in i2400mu_tx_setup()
255 result = PTR_ERR(kthread); in i2400mu_tx_setup()
266 struct task_struct *kthread; in i2400mu_tx_release() local
269 kthread = i2400mu->tx_kthread; in i2400mu_tx_release()
272 if (kthread) in i2400mu_tx_release()
273 kthread_stop(kthread); in i2400mu_tx_release()
Dusb-rx.c436 struct task_struct *kthread; in i2400mu_rx_setup() local
438 kthread = kthread_run(i2400mu_rxd, i2400mu, "%s-rx", in i2400mu_rx_setup()
441 if (IS_ERR(kthread)) { in i2400mu_rx_setup()
442 result = PTR_ERR(kthread); in i2400mu_rx_setup()
454 struct task_struct *kthread; in i2400mu_rx_release() local
457 kthread = i2400mu->rx_kthread; in i2400mu_rx_release()
460 if (kthread) in i2400mu_rx_release()
461 kthread_stop(kthread); in i2400mu_rx_release()
/linux-2.6.39/kernel/
Dkthread.c39 struct kthread { struct
46 container_of((tsk)->vfork_done, struct kthread, exited) argument
74 static int kthread(void *_create) in kthread() function
80 struct kthread self; in kthread()
120 pid = kernel_thread(kthread, create, CLONE_FS | CLONE_FILES | SIGCHLD); in create_kthread()
228 struct kthread *kthread; in kthread_stop() local
234 kthread = to_kthread(k); in kthread_stop()
237 kthread->should_stop = 1; in kthread_stop()
239 wait_for_completion(&kthread->exited); in kthread_stop()
DMakefile10 kthread.o wait.o kfifo.o sys_ni.o posix-cpu-timers.o mutex.o \
/linux-2.6.39/drivers/misc/sgi-xp/
Dxpc_main.c591 struct task_struct *kthread; in xpc_activate_partition() local
602 kthread = kthread_run(xpc_activating, (void *)((u64)partid), "xpc%02d", in xpc_activate_partition()
604 if (IS_ERR(kthread)) { in xpc_activate_partition()
781 struct task_struct *kthread; in xpc_create_kthreads() local
810 kthread = kthread_run(xpc_kthread_start, (void *)args, in xpc_create_kthreads()
812 if (IS_ERR(kthread)) { in xpc_create_kthreads()
1204 struct task_struct *kthread; in xpc_init() local
1266 kthread = kthread_run(xpc_hb_checker, NULL, XPC_HB_CHECK_THREAD_NAME); in xpc_init()
1267 if (IS_ERR(kthread)) { in xpc_init()
1278 kthread = kthread_run(xpc_initiate_discovery, NULL, in xpc_init()
[all …]
/linux-2.6.39/fs/ecryptfs/
DMakefile7 …de.o main.o super.o mmap.o read_write.o crypto.o keystore.o messaging.o miscdev.o kthread.o debug.o
/linux-2.6.39/drivers/staging/solo6x10/
Dv4l2.c45 struct task_struct *kthread; member
416 fh->kthread = kthread_run(solo_thread, fh, SOLO6X10_NAME "_disp"); in solo_start_thread()
418 if (IS_ERR(fh->kthread)) in solo_start_thread()
419 return PTR_ERR(fh->kthread); in solo_start_thread()
426 if (fh->kthread) { in solo_stop_thread()
427 kthread_stop(fh->kthread); in solo_stop_thread()
428 fh->kthread = NULL; in solo_stop_thread()
Dv4l2-enc.c47 struct task_struct *kthread; member
220 if (fh->kthread) { in solo_enc_off()
221 kthread_stop(fh->kthread); in solo_enc_off()
222 fh->kthread = NULL; in solo_enc_off()
239 fh->kthread = kthread_run(solo_enc_thread, fh, SOLO6X10_NAME "_enc"); in solo_start_fh_thread()
242 if (IS_ERR(fh->kthread)) { in solo_start_fh_thread()
247 return PTR_ERR(fh->kthread); in solo_start_fh_thread()
/linux-2.6.39/drivers/media/dvb/pt1/
Dpt1.c79 struct task_struct *kthread; member
1023 kthread_stop(pt1->kthread); in pt1_remove()
1046 struct task_struct *kthread; in pt1_probe() local
1141 kthread = kthread_run(pt1_thread, pt1, "pt1"); in pt1_probe()
1142 if (IS_ERR(kthread)) { in pt1_probe()
1143 ret = PTR_ERR(kthread); in pt1_probe()
1147 pt1->kthread = kthread; in pt1_probe()
/linux-2.6.39/drivers/media/video/
Dmsp3400-driver.c291 if (NULL == state->kthread) in msp_wake_thread()
816 state->kthread = kthread_run(thread_func, client, "msp34xx"); in msp_probe()
818 if (IS_ERR(state->kthread)) in msp_probe()
831 if (state->kthread) { in msp_remove()
833 kthread_stop(state->kthread); in msp_remove()
Dvivi.c151 struct task_struct *kthread; member
604 dma_q->kthread = kthread_run(vivi_thread, dev, dev->v4l2_dev.name); in vivi_start_generating()
606 if (IS_ERR(dma_q->kthread)) { in vivi_start_generating()
608 return PTR_ERR(dma_q->kthread); in vivi_start_generating()
624 if (dma_q->kthread) { in vivi_stop_generating()
625 kthread_stop(dma_q->kthread); in vivi_stop_generating()
626 dma_q->kthread = NULL; in vivi_stop_generating()
Dmsp3400-driver.h101 struct task_struct *kthread; member
/linux-2.6.39/arch/mn10300/kernel/
DMakefile10 ptrace.o setup.o time.o sys_mn10300.o io.o kthread.o \
/linux-2.6.39/drivers/media/video/saa7164/
Dsaa7164-core.c1387 dev->kthread = kthread_run(saa7164_thread_function, dev, in saa7164_initdev()
1389 if (!dev->kthread) in saa7164_initdev()
1422 if (fw_debug && dev->kthread) { in saa7164_finidev()
1423 kthread_stop(dev->kthread); in saa7164_finidev()
1424 dev->kthread = NULL; in saa7164_finidev()
Dsaa7164.h476 struct task_struct *kthread; member
/linux-2.6.39/drivers/staging/tm6000/
Dtm6000.h88 struct task_struct *kthread; member
/linux-2.6.39/drivers/media/video/cx88/
Dcx88-video.c1981 core->kthread = kthread_run(cx88_audio_thread, core, "cx88 tvaudio"); in cx8800_initdev()
1982 if (IS_ERR(core->kthread)) { in cx8800_initdev()
1983 err = PTR_ERR(core->kthread); in cx8800_initdev()
2009 if (core->kthread) { in cx8800_finidev()
2010 kthread_stop(core->kthread); in cx8800_finidev()
2011 core->kthread = NULL; in cx8800_finidev()
Dcx88.h372 struct task_struct *kthread; member
/linux-2.6.39/drivers/usb/atm/
Dueagle-atm.c163 struct task_struct *kthread; member
2204 sc->kthread = kthread_create(uea_kthread, sc, "ueagle-atm"); in uea_boot()
2205 if (IS_ERR(sc->kthread)) { in uea_boot()
2231 ret = kthread_stop(sc->kthread); in uea_stop()
2644 wake_up_process(sc->kthread); in uea_probe()
/linux-2.6.39/Documentation/scsi/
DChangeLog.lpfc350 * Added use of wait_event to work with kthread interface.
381 kthread patch.
389 moved to kthread. kthread_stop() is not able to wake up thread
409 kthread interface.
/linux-2.6.39/arch/s390/kernel/
Dentry64.S403 stg %r15,SP_R15(%r15) # store stack pointer for new kthread
Dentry.S396 st %r15,SP_R15(%r15) # store stack pointer for new kthread
/linux-2.6.39/Documentation/
Dfeature-removal-schedule.txt190 use the <linux/kthread.h> API instead which shields them from