Lines Matching defs:task_work
78 #include <linux/task_work.h>
324 /* inline/task_work completion list, under ->uring_lock */
477 struct callback_head task_work;
2186 task_work);
2250 /* task_work already pending, we're done */
2257 * processing task_work. There's no reliable way to tell if TWA_RESUME
2261 if (!task_work_add(tsk, &tctx->task_work, notify)) {
2613 * Also let task_work, etc. to progress by releasing the mutex
3515 * queue a task_work based retry of the operation, attempting to copy the data
3545 * that callback, io_uring uses task_work to setup a retry of the operation.
5381 * owning it, that prevents from races for enqueueing task_work's and b/w
5542 * task_work while we were executing it.
7661 /* make sure we run task_work before checking for signals */
8698 init_task_work(&tctx->task_work, tctx_task_work);
9470 struct callback_head task_work;
9480 work = container_of(cb, struct io_tctx_exit, task_work);
9484 * tctx can be NULL if the queueing of this task_work raced with
9538 * a task that needs to finish task_work to make this loop
9546 init_task_work(&exit.task_work, io_tctx_exit_cb);
9562 ret = task_work_add(node->task, &exit.task_work, TWA_SIGNAL);