Lines Matching defs:thread
407 * bnx2i_cpu_online - Create a receive thread for an online CPU
414 struct task_struct *thread;
418 thread = kthread_create_on_node(bnx2i_percpu_io_thread, (void *)p,
421 if (IS_ERR(thread))
422 return PTR_ERR(thread);
424 /* bind thread to the cpu */
425 kthread_bind(thread, cpu);
426 p->iothread = thread;
427 wake_up_process(thread);
434 struct task_struct *thread;
440 thread = p->iothread;
452 if (thread)
453 kthread_stop(thread);