Lines Matching defs:thread
50 * Here the io threads are per cpu but the l2 thread is just one
644 * bnx2fc_percpu_io_thread - thread per cpu for ios
1623 /* Free queued packets for the receive thread */
2610 * bnx2fc_cpu_online - Create a receive thread for an online CPU
2617 struct task_struct *thread;
2621 thread = kthread_create_on_node(bnx2fc_percpu_io_thread,
2624 if (IS_ERR(thread))
2625 return PTR_ERR(thread);
2627 /* bind thread to the cpu */
2628 kthread_bind(thread, cpu);
2629 p->iothread = thread;
2630 wake_up_process(thread);
2637 struct task_struct *thread;
2640 BNX2FC_MISC_DBG("destroying io thread for CPU %d\n", cpu);
2645 thread = p->iothread;
2658 if (thread)
2659 kthread_stop(thread);
2789 /* Destroy global thread */