/* Generated by ./types/gen.sh from ./types/io_uring.h; do not edit. */
#include "defs.h"
#include "static_assert.h"
#include "types/io_uring.h"

#ifdef HAVE_STRUCT_IO_SQRING_OFFSETS
# ifdef HAVE_STRUCT_IO_SQRING_OFFSETS_RESV2
static_assert(sizeof(struct io_sqring_offsets) == sizeof(struct_io_sqring_offsets),
      "struct io_sqring_offsets size mismatch, please update the decoder or fix the kernel");
# else
static_assert(sizeof(struct io_sqring_offsets) <= offsetof(struct_io_sqring_offsets, resv2),
"struct io_sqring_offsets size mismatch, please update the decoder or fix the kernel");
# endif /* HAVE_STRUCT_IO_SQRING_OFFSETS_RESV2 */
#endif /* HAVE_STRUCT_IO_SQRING_OFFSETS */

#ifdef HAVE_STRUCT_IO_CQRING_OFFSETS
# ifdef HAVE_STRUCT_IO_CQRING_OFFSETS_CQES
static_assert(sizeof(struct io_cqring_offsets) == sizeof(struct_io_cqring_offsets),
      "struct io_cqring_offsets size mismatch, please update the decoder or fix the kernel");
# else
static_assert(sizeof(struct io_cqring_offsets) <= offsetof(struct_io_cqring_offsets, cqes),
"struct io_cqring_offsets size mismatch, please update the decoder or fix the kernel");
# endif /* HAVE_STRUCT_IO_CQRING_OFFSETS_CQES */
#endif /* HAVE_STRUCT_IO_CQRING_OFFSETS */

#ifdef HAVE_STRUCT_IO_URING_PARAMS
# ifdef HAVE_STRUCT_IO_URING_PARAMS_CQ_OFF
static_assert(sizeof(struct io_uring_params) == sizeof(struct_io_uring_params),
      "struct io_uring_params size mismatch, please update the decoder or fix the kernel");
# else
static_assert(sizeof(struct io_uring_params) <= offsetof(struct_io_uring_params, cq_off),
"struct io_uring_params size mismatch, please update the decoder or fix the kernel");
# endif /* HAVE_STRUCT_IO_URING_PARAMS_CQ_OFF */
#endif /* HAVE_STRUCT_IO_URING_PARAMS */

#ifdef HAVE_STRUCT_IO_URING_FILES_UPDATE
# ifdef HAVE_STRUCT_IO_URING_FILES_UPDATE_FDS
static_assert(sizeof(struct io_uring_files_update) == sizeof(struct_io_uring_files_update),
      "struct io_uring_files_update size mismatch, please update the decoder or fix the kernel");
# else
static_assert(sizeof(struct io_uring_files_update) <= offsetof(struct_io_uring_files_update, fds),
"struct io_uring_files_update size mismatch, please update the decoder or fix the kernel");
# endif /* HAVE_STRUCT_IO_URING_FILES_UPDATE_FDS */
#endif /* HAVE_STRUCT_IO_URING_FILES_UPDATE */

#ifdef HAVE_STRUCT_IO_URING_PROBE_OP
# ifdef HAVE_STRUCT_IO_URING_PROBE_OP_RESV2
static_assert(sizeof(struct io_uring_probe_op) == sizeof(struct_io_uring_probe_op),
      "struct io_uring_probe_op size mismatch, please update the decoder or fix the kernel");
# else
static_assert(sizeof(struct io_uring_probe_op) <= offsetof(struct_io_uring_probe_op, resv2),
"struct io_uring_probe_op size mismatch, please update the decoder or fix the kernel");
# endif /* HAVE_STRUCT_IO_URING_PROBE_OP_RESV2 */
#endif /* HAVE_STRUCT_IO_URING_PROBE_OP */

#ifdef HAVE_STRUCT_IO_URING_PROBE
# ifdef HAVE_STRUCT_IO_URING_PROBE_OPS
static_assert(sizeof(struct io_uring_probe) == sizeof(struct_io_uring_probe),
      "struct io_uring_probe size mismatch, please update the decoder or fix the kernel");
# else
static_assert(sizeof(struct io_uring_probe) <= offsetof(struct_io_uring_probe, ops),
"struct io_uring_probe size mismatch, please update the decoder or fix the kernel");
# endif /* HAVE_STRUCT_IO_URING_PROBE_OPS */
#endif /* HAVE_STRUCT_IO_URING_PROBE */
