Lines Matching defs:task_work
70 #include <linux/task_work.h>
935 * Should only be used from a task_work including IO_URING_F_MULTISHOT.
1250 task_work);
1328 /* task_work already pending, we're done */
1335 if (likely(!task_work_add(req->task, &tctx->task_work, ctx->notify_method)))
1583 * Also let task_work, etc. to progress by releasing the mutex
2602 * Run task_work after scheduling and before io_should_wake().
2603 * If we got woken because of task_work being processed, run it
2611 * Non-local task_work will be run on exit to userspace, but
2615 * this break is _after_ we have run task_work, to avoid
3031 struct callback_head task_work;
3041 work = container_of(cb, struct io_tctx_exit, task_work);
3045 * tctx can be NULL if the queueing of this task_work raced with
3112 * a task that needs to finish task_work to make this loop
3120 init_task_work(&exit.task_work, io_tctx_exit_cb);
3131 ret = task_work_add(node->task, &exit.task_work, TWA_SIGNAL);