Lines Matching defs:worker
53 lwp_t * worker[];
63 #define WFLAG_INITED 0x02 // worker setup the instance
72 const size_t len = offsetof(npf_workerinfo_t, worker[nworkers]);
91 NULL, npf_worker, winfo, &winfo->worker[i], "npfgc%u", i)) {
118 lwp_t *worker;
120 if ((worker = winfo->worker[i]) != NULL) {
121 kthread_join(worker);
127 kmem_free(winfo, offsetof(npf_workerinfo_t, worker[nworkers]));
162 * npf_worker_enlist: add the NPF instance for worker(s) to process.
183 * => May block waiting for a worker to finish processing the instance.
196 * Notify the worker(s) that we are removing this instance.
203 /* Wait for a worker to process this request. */
220 * - Release any structures owned by the worker.
261 * npf_worker: the main worker loop, processing enlisted NPF instances.
264 * so there is no point to have more than one worker; but there might