#include <linux/kernel.h> #include <linux/errno.h> #include <linux/file.h> #include <linux/slab.h> #include <linux/net.h> #include <linux/io_uring.h> #include "io_uring.h" #include "notif.h" #include "rsrc.h" static const struct ubuf_info_ops io_ubuf_ops; static void io_notif_tw_complete(struct io_kiocb *notif, struct io_tw_state *ts) { … } void io_tx_ubuf_complete(struct sk_buff *skb, struct ubuf_info *uarg, bool success) { … } static int io_link_skb(struct sk_buff *skb, struct ubuf_info *uarg) { … } static const struct ubuf_info_ops io_ubuf_ops = …; struct io_kiocb *io_alloc_notif(struct io_ring_ctx *ctx) __must_hold(&ctx->uring_lock) { … }