Lines Matching defs:thread
52 * Here the io threads are per cpu but the l2 thread is just one
638 * bnx2fc_percpu_io_thread - thread per cpu for ios
1615 /* Free queued packets for the receive thread */
2602 * bnx2fc_cpu_online - Create a receive thread for an online CPU
2609 struct task_struct *thread;
2613 thread = kthread_create_on_node(bnx2fc_percpu_io_thread,
2616 if (IS_ERR(thread))
2617 return PTR_ERR(thread);
2619 /* bind thread to the cpu */
2620 kthread_bind(thread, cpu);
2621 p->iothread = thread;
2622 wake_up_process(thread);
2629 struct task_struct *thread;
2632 BNX2FC_MISC_DBG("destroying io thread for CPU %d\n", cpu);
2637 thread = p->iothread;
2650 if (thread)
2651 kthread_stop(thread);
2780 /* Destroy global thread */