Lines Matching refs:notif

17 	struct io_kiocb *notif = tw_req.req;  in io_notif_tw_complete()  local
18 struct io_notif_data *nd = io_notif_to_data(notif); in io_notif_tw_complete()
19 struct io_ring_ctx *ctx = notif->ctx; in io_notif_tw_complete()
24 notif = cmd_to_io_kiocb(nd); in io_notif_tw_complete()
26 if (WARN_ON_ONCE(ctx != notif->ctx)) in io_notif_tw_complete()
31 notif->cqe.res |= IORING_NOTIF_USAGE_ZC_COPIED; in io_notif_tw_complete()
33 if (nd->account_pages && notif->ctx->user) { in io_notif_tw_complete()
34 __io_unaccount_mem(notif->ctx->user, nd->account_pages); in io_notif_tw_complete()
39 io_req_task_complete((struct io_tw_req){notif}, tw); in io_notif_tw_complete()
47 struct io_kiocb *notif = cmd_to_io_kiocb(nd); in io_tx_ubuf_complete() local
66 notif->io_task_work.func = io_notif_tw_complete; in io_tx_ubuf_complete()
67 __io_req_task_work_add(notif, tw_flags); in io_tx_ubuf_complete()
73 struct io_kiocb *prev_notif, *notif; in io_link_skb() local
77 notif = cmd_to_io_kiocb(nd); in io_link_skb()
98 if (unlikely(notif->ctx != prev_notif->ctx || in io_link_skb()
99 notif->tctx != prev_notif->tctx)) in io_link_skb()
117 struct io_kiocb *notif; in io_alloc_notif() local
120 if (unlikely(!io_alloc_req(ctx, &notif))) in io_alloc_notif()
122 notif->ctx = ctx; in io_alloc_notif()
123 notif->opcode = IORING_OP_NOP; in io_alloc_notif()
124 notif->flags = 0; in io_alloc_notif()
125 notif->file = NULL; in io_alloc_notif()
126 notif->tctx = current->io_uring; in io_alloc_notif()
128 notif->file_node = NULL; in io_alloc_notif()
129 notif->buf_node = NULL; in io_alloc_notif()
131 nd = io_notif_to_data(notif); in io_alloc_notif()
140 return notif; in io_alloc_notif()