Lines Matching refs:work_buf
359 struct cpu_stop_work *work_buf) in stop_one_cpu_nowait() argument
361 *work_buf = (struct cpu_stop_work){ .fn = fn, .arg = arg, }; in stop_one_cpu_nowait()
362 return cpu_stop_queue_work(cpu, work_buf); in stop_one_cpu_nowait()
382 struct cpu_stop_work *work_buf, in stop_one_cpu_async() argument
387 work_buf->done = done; in stop_one_cpu_async()
388 work_buf->fn = fn; in stop_one_cpu_async()
389 work_buf->arg = arg; in stop_one_cpu_async()
391 if (cpu_stop_queue_work(cpu, work_buf)) in stop_one_cpu_async()
394 work_buf->done = NULL; in stop_one_cpu_async()
406 void cpu_stop_work_wait(struct cpu_stop_work *work_buf) in cpu_stop_work_wait() argument
408 struct cpu_stop_done *done = work_buf->done; in cpu_stop_work_wait()
411 work_buf->done = NULL; in cpu_stop_work_wait()