drm/edid/firmware: Add built-in edid/1280x720.bin firmware
[platform/kernel/linux-starfive.git] / io_uring / opdef.h
index ece8ed4..df7e13d 100644 (file)
@@ -25,6 +25,10 @@ struct io_op_def {
        unsigned                ioprio : 1;
        /* supports iopoll */
        unsigned                iopoll : 1;
+       /* have to be put into the iopoll list */
+       unsigned                iopoll_queue : 1;
+       /* opcode specific path will handle ->async_data allocation if needed */
+       unsigned                manual_alloc : 1;
        /* size of async data needed, if any */
        unsigned short          async_size;
 
@@ -34,6 +38,7 @@ struct io_op_def {
        int (*issue)(struct io_kiocb *, unsigned int);
        int (*prep_async)(struct io_kiocb *);
        void (*cleanup)(struct io_kiocb *);
+       void (*fail)(struct io_kiocb *);
 };
 
 extern const struct io_op_def io_op_defs[];