Lines Matching defs:task_work
69 #include <linux/task_work.h>
939 * Should only be used from a task_work including IO_URING_F_MULTISHOT.
1175 * Run queued task_work, returning the number of entries processed in *count.
1287 tctx = container_of(cb, struct io_uring_task, task_work);
1366 /* task_work already pending, we're done */
1373 /* SQPOLL doesn't need the task_work added, it'll run it itself */
1382 if (likely(!task_work_add(req->task, &tctx->task_work, ctx->notify_method)))
1629 * Also let task_work, etc. to progress by releasing the mutex
2656 * Run task_work after scheduling and before io_should_wake().
2657 * If we got woken because of task_work being processed, run it
2665 * Non-local task_work will be run on exit to userspace, but
2669 * this break is _after_ we have run task_work, to avoid
3015 struct callback_head task_work;
3025 work = container_of(cb, struct io_tctx_exit, task_work);
3029 * tctx can be NULL if the queueing of this task_work raced with
3096 * a task that needs to finish task_work to make this loop
3104 init_task_work(&exit.task_work, io_tctx_exit_cb);
3115 ret = task_work_add(node->task, &exit.task_work, TWA_SIGNAL);