void
workqueue_enqueue(
struct workqueue *wq
, struct work *wk
, struct cpu_info *ci
)
wk
into the workqueue
wq
.
If the
WQ_PERCPU
flag was set on workqueue creation, the
ci
argument may be used to specify the CPU on which the work should
be enqueued.
Also it may be
NULL
,
then work will be enqueued on the current CPU.
If
WQ_PERCPU
flag was not set,
ci
must be
NULL
.
The enqueued work will be processed in a thread context. A work must not be enqueued again until the callback is called by the workqueue(9) framework.