Home
last modified time | relevance | path

Searched refs:task_work (Results 1 – 9 of 9) sorted by relevance

/linux/io_uring/
H A Dtw.c59 * Run queued task_work, processing no more than max_entries, with the number
102 * bound task_work run, and also protects the regular in tctx_task_work_run()
103 * task_work addition. in tctx_task_work_run()
132 tctx = container_of(cb, struct io_uring_task, task_work); in tctx_task_work()
261 /* SQPOLL doesn't need the task_work added, it'll run it itself */ in io_cancel_local_task_work()
267 if (likely(!task_work_add(tctx->task, &tctx->task_work, ctx->notify_method))) in io_cancel_local_task_work()
288 * task_work running, as the task may be exiting. The ring is going in __io_run_local_work_loop()
H A Dtctx.c113 init_task_work(&tctx->task_work, tctx_task_work); in io_uring_alloc_task_context()
H A Dio_uring.c56 #include <linux/task_work.h>
911 * Must be called from inline task_work so we know a flush will happen later,
929 * Should only be used from a task_work including IO_URING_F_MULTISHOT. in io_req_complete_post()
961 * Should only be used from a task_work including IO_URING_F_MULTISHOT. in io_req_defer_failed()
1015 * Handle special CQ sync cases via task_work. DEFER_TASKRUN requires in io_req_find_next()
1320 * Also let task_work, etc. to progress by releasing the mutex in io_file_get_flags()
2461 struct callback_head task_work; in io_get_ext_arg_reg()
2472 work = container_of(cb, struct io_tctx_exit, task_work); in io_validate_ext_arg()
2476 * tctx can be NULL if the queueing of this task_work raced with in io_validate_ext_arg()
2533 * Run task_work completion in io_get_ext_arg()
2290 struct callback_head task_work; global() member
[all...]
/linux/kernel/
H A DMakefile9 signal.o sys.o umh.o workqueue.o pid.o task_work.o \
/linux/include/linux/
H A Dio_uring_types.h6 #include <linux/task_work.h>
27 * Set when task_work is queued from a waitqueue wakeup handler, where
151 * or by ->fallback_work once the task can no longer run task_work.
162 /* drains ->task_list once the task can no longer run task_work */
168 struct { /* task_work */
170 struct callback_head task_work;
293 /* inline/task_work completion list, under ->uring_lock */
451 * task_work and async notification delivery cacheline. Expected to
528 /* deferred ->poll_wq wake up for local task_work */
166 struct callback_head task_work; global() member
/linux/sound/core/
H A Dtimer.c911 struct snd_timer *timer = container_of(work, struct snd_timer, task_work); in snd_timer_interrupt()
1012 queue_work(system_highpri_wq, &timer->task_work); in snd_timer_new()
1056 INIT_WORK(&timer->task_work, snd_timer_work); in snd_timer_free()
1101 disable_work_sync(&timer->task_work); in snd_timer_dev_register()
/linux/drivers/scsi/qla4xxx/
H A Dql4_def.h844 struct work_struct task_work; member
H A Dql4_isr.c401 queue_work(ha->task_wq, &task_data->task_work);
H A Dql4_os.c3365 task_data = container_of(wdata, struct ql4_task_data, task_work); in qla4xxx_task_work()
3449 INIT_WORK(&task_data->task_work, qla4xxx_task_work); in qla4xxx_alloc_pdu()