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