Searched defs:thread (Results 1 - 25 of 41) sorted by relevance

12

/drivers/staging/iio/
H A Dtrigger_consumer.h15 * @thread: threaded interrupt part
27 irqreturn_t (*thread)(int irq, void *p); member in struct:iio_poll_func
37 irqreturn_t (*thread)(int irq, void *p),
/drivers/acpi/acpica/
H A Dexmutex.c56 struct acpi_thread_state *thread);
72 struct acpi_thread_state *thread = obj_desc->mutex.owner_thread; local
74 if (!thread) {
96 thread->acquired_mutex_list = obj_desc->mutex.next;
105 * Thread - Current executing thread object
115 struct acpi_thread_state *thread)
119 list_head = thread->acquired_mutex_list;
134 thread->acquired_mutex_list = obj_desc;
143 * thread_id - Current thread state
148 * path that supports multiple acquires by the same thread
114 acpi_ex_link_mutex(union acpi_operand_object *obj_desc, struct acpi_thread_state *thread) argument
460 acpi_ex_release_all_mutexes(struct acpi_thread_state *thread) argument
[all...]
H A Dpsparse.c439 struct acpi_thread_state *thread; local
454 /* Create and initialize a new thread state */
456 thread = acpi_ut_create_thread_state();
457 if (!thread) {
470 walk_state->thread = thread;
477 walk_state->thread->current_sync_level =
481 acpi_ds_push_walk_state(walk_state, thread);
487 acpi_gbl_current_walk_list = thread;
515 acpi_ds_call_control_method(thread, walk_stat
[all...]
H A Ddsmethod.c174 * increments the thread count, and waits at the method semaphore
192 /* Prevent wraparound of thread count */
217 * The current_sync_level (per-thread) must be less than or equal to
224 (walk_state->thread->current_sync_level >
229 walk_state->thread->current_sync_level));
240 (walk_state->thread->thread_id !=
259 walk_state->thread->current_sync_level;
262 walk_state->thread->thread_id;
263 walk_state->thread->current_sync_level =
278 * Allocate an Owner ID for this method, only if this is the first thread
320 acpi_ds_call_control_method(struct acpi_thread_state *thread, struct acpi_walk_state *this_walk_state, union acpi_parse_object *op) argument
[all...]
H A Ddswstate.c446 *thread)
450 if (!thread) {
455 thread->walk_state_list));
457 return (thread->walk_state_list);
475 struct acpi_thread_state *thread)
479 walk_state->next = thread->walk_state_list;
480 thread->walk_state_list = walk_state;
489 * PARAMETERS: Thread - Current thread state
491 * RETURN: A walk_state object popped from the thread's stack
499 struct acpi_walk_state *acpi_ds_pop_walk_state(struct acpi_thread_state *thread) argument
445 acpi_ds_get_current_walk_state(struct acpi_thread_state *thread) argument
474 acpi_ds_push_walk_state(struct acpi_walk_state *walk_state, struct acpi_thread_state *thread) argument
539 acpi_ds_create_walk_state(acpi_owner_id owner_id, union acpi_parse_object *origin, union acpi_operand_object *method_desc, struct acpi_thread_state *thread) argument
[all...]
H A Dacstruct.h125 struct acpi_thread_state *thread; member in struct:acpi_walk_state
/drivers/media/video/pvrusb2/
H A Dpvrusb2-dvb.h25 struct task_struct *thread; member in struct:pvr2_dvb_adapter
/drivers/mmc/card/
H A Dqueue.h27 struct task_struct *thread; member in struct:mmc_queue
/drivers/bluetooth/
H A Dbtmrvl_main.c33 * thread.
466 struct btmrvl_thread *thread = data; local
467 struct btmrvl_private *priv = thread->priv;
476 add_wait_queue(&thread->wait_q, &wait);
490 remove_wait_queue(&thread->wait_q, &wait);
495 BT_DBG("main_thread: break from main thread");
575 /* Stop the thread servicing the interrupts */
/drivers/base/
H A Ddevtmpfs.c28 static struct task_struct *thread; variable in typeref:struct:task_struct
84 if (!thread)
108 wake_up_process(thread);
121 if (!thread)
138 wake_up_process(thread);
158 dentry->d_inode->i_private = &thread;
219 dentry->d_inode->i_private = &thread;
242 if (dentry->d_inode->i_private == &thread)
288 if (inode->i_private != &thread)
368 if (!thread)
[all...]
/drivers/infiniband/core/
H A Dfmr_pool.c99 struct task_struct *thread; member in struct:ib_fmr_pool
290 pool->thread = kthread_run(ib_fmr_cleanup_thread,
294 if (IS_ERR(pool->thread)) {
295 printk(KERN_WARNING PFX "couldn't start cleanup thread\n");
296 ret = PTR_ERR(pool->thread);
366 kthread_stop(pool->thread);
406 * thread will reap them too.
416 wake_up_process(pool->thread);
530 wake_up_process(pool->thread);
/drivers/md/
H A Draid1.h94 * the new thread here until we fully activate the array.
96 struct md_thread *thread; member in struct:r1conf
H A Draid10.h69 * the new thread here until we fully activate the array.
71 struct md_thread *thread; member in struct:r10conf
/drivers/scsi/bnx2i/
H A Dbnx2i_init.c384 * bnx2i_percpu_thread_create - Create a receive thread for an
392 struct task_struct *thread; local
396 thread = kthread_create_on_node(bnx2i_percpu_io_thread, (void *)p,
399 /* bind thread to the cpu */
400 if (likely(!IS_ERR(thread))) {
401 kthread_bind(thread, cpu);
402 p->iothread = thread;
403 wake_up_process(thread);
411 struct task_struct *thread; local
417 thread
[all...]
/drivers/block/
H A Dnbd.c649 struct task_struct *thread; local
660 thread = kthread_create(nbd_thread, nbd, nbd->disk->disk_name);
661 if (IS_ERR(thread)) {
663 return PTR_ERR(thread);
665 wake_up_process(thread);
667 kthread_stop(thread);
/drivers/media/rc/
H A Drc-core-priv.h36 struct task_struct *thread; member in struct:ir_raw_event_ctrl
/drivers/usb/atm/
H A Dusbatm.h184 struct task_struct *thread; member in struct:usbatm_data
/drivers/virtio/
H A Dvirtio_balloon.c43 /* Where the ballooning thread waits for config to change. */
46 /* The thread servicing the balloon. */
47 struct task_struct *thread; member in struct:virtio_balloon
368 vb->thread = kthread_run(balloon, vb, "vballoon");
369 if (IS_ERR(vb->thread)) {
370 err = PTR_ERR(vb->thread);
388 kthread_stop(vb->thread);
/drivers/w1/
H A Dw1.h181 struct task_struct *thread; member in struct:w1_master
/drivers/dma/
H A Ddmatest.c248 struct dmatest_thread *thread = data; local
271 chan = thread->chan;
272 if (thread->type == DMA_MEMCPY)
274 else if (thread->type == DMA_XOR) {
277 } else if (thread->type == DMA_PQ) {
285 thread->srcs = kcalloc(src_cnt+1, sizeof(u8 *), GFP_KERNEL);
286 if (!thread->srcs)
289 thread->srcs[i] = kmalloc(test_buf_size, GFP_KERNEL);
290 if (!thread->srcs[i])
293 thread
514 struct dmatest_thread *thread; local
534 struct dmatest_thread *thread; local
[all...]
/drivers/infiniband/ulp/srpt/
H A Dib_srpt.h272 * @wait_queue: Allows the kernel thread to wait for more work.
273 * @thread: Kernel thread that processes the IB queues associated with
305 struct task_struct *thread; member in struct:srpt_rdma_ch
/drivers/media/dvb/dvb-core/
H A Ddvb_ca_en50221.c145 /* PID of the monitoring thread */
146 struct task_struct *thread; member in struct:dvb_ca_private
151 /* Flag indicating the thread should wake up now */
154 /* Delay the main thread should use */
723 already in progress, we do nothing but awake the kernel thread to
894 /* EN50221 thread functions */
897 * Wake up the DVB CA thread
908 wake_up_process(ca->thread);
912 * Update the delay used by the thread.
969 * Kernel thread whic
[all...]
/drivers/net/irda/
H A Dstir4200.c171 struct task_struct *thread; /* transmit thread */ member in struct:stir_cb
574 wake_up_process(stir->thread);
734 * Transmit state machine thread
831 /* kernel thread is stopping receiver don't resubmit */
838 /* in case of error, the kernel thread will restart us */
843 wake_up_process(stir->thread);
911 /** Start kernel thread for transmit. */
912 stir->thread = kthread_run(stir_transmit_thread, stir,
914 if (IS_ERR(stir->thread)) {
[all...]
/drivers/ps3/
H A Dps3-lpm.c1055 void ps3_enable_pm_interrupts(u32 cpu, u32 thread, u32 mask) argument
/drivers/s390/scsi/
H A Dzfcp_erp.c1365 * zfcp_erp_thread_setup - Start ERP thread for adapter
1366 * @adapter: Adapter to start the ERP thread for
1372 struct task_struct *thread; local
1374 thread = kthread_run(zfcp_erp_thread, adapter, "zfcperp%s",
1376 if (IS_ERR(thread)) {
1378 "Creating an ERP thread for the FCP device failed.\n");
1379 return PTR_ERR(thread);
1382 adapter->erp_thread = thread;
1387 * zfcp_erp_thread_kill - Stop ERP thread.
1388 * @adapter: Adapter where the ERP thread shoul
[all...]

Completed in 1521 milliseconds

12