Lines Matching defs:task_work
67 #include <linux/task_work.h>
869 * Must be called from inline task_work so we now a flush will happen later,
887 * Should only be used from a task_work including IO_URING_F_MULTISHOT.
919 * Should only be used from a task_work including IO_URING_F_MULTISHOT.
955 * Handle special CQ sync cases via task_work. DEFER_TASKRUN requires
1080 * Run queued task_work, returning the number of entries processed in *count.
1184 tctx = container_of(cb, struct io_uring_task, task_work);
1265 /* task_work already pending, we're done */
1272 /* SQPOLL doesn't need the task_work added, it'll run it itself */
1278 if (likely(!task_work_add(tctx->task, &tctx->task_work, ctx->notify_method)))
1552 * Also let task_work, etc. to progress by releasing the mutex
2491 * If using deferred task_work running and application is waiting on
2673 * Run task_work after scheduling and before io_should_wake().
2674 * If we got woken because of task_work being processed, run it
2682 * Non-local task_work will be run on exit to userspace, but
2686 * this break is _after_ we have run task_work, to avoid
2905 struct callback_head task_work;
2915 work = container_of(cb, struct io_tctx_exit, task_work);
2919 * tctx can be NULL if the queueing of this task_work raced with
2992 * a task that needs to finish task_work to make this loop
3000 init_task_work(&exit.task_work, io_tctx_exit_cb);
3011 ret = task_work_add(node->task, &exit.task_work, TWA_SIGNAL);