Lines Matching refs:notif
12 static void io_notif_complete_tw_ext(struct io_kiocb *notif, bool *locked) in io_notif_complete_tw_ext() argument
14 struct io_notif_data *nd = io_notif_to_data(notif); in io_notif_complete_tw_ext()
15 struct io_ring_ctx *ctx = notif->ctx; in io_notif_complete_tw_ext()
18 notif->cqe.res |= IORING_NOTIF_USAGE_ZC_COPIED; in io_notif_complete_tw_ext()
24 io_req_task_complete(notif, locked); in io_notif_complete_tw_ext()
31 struct io_kiocb *notif = cmd_to_io_kiocb(nd); in io_tx_ubuf_callback() local
34 io_req_task_work_add(notif); in io_tx_ubuf_callback()
51 void io_notif_set_extended(struct io_kiocb *notif) in io_notif_set_extended() argument
53 struct io_notif_data *nd = io_notif_to_data(notif); in io_notif_set_extended()
61 notif->io_task_work.func = io_notif_complete_tw_ext; in io_notif_set_extended()
68 struct io_kiocb *notif; in io_alloc_notif() local
71 if (unlikely(!io_alloc_req(ctx, ¬if))) in io_alloc_notif()
73 notif->opcode = IORING_OP_NOP; in io_alloc_notif()
74 notif->flags = 0; in io_alloc_notif()
75 notif->file = NULL; in io_alloc_notif()
76 notif->task = current; in io_alloc_notif()
78 notif->rsrc_node = NULL; in io_alloc_notif()
79 notif->io_task_work.func = io_req_task_complete; in io_alloc_notif()
81 nd = io_notif_to_data(notif); in io_alloc_notif()
85 return notif; in io_alloc_notif()