(root)/
strace-6.5/
src/
xlat/
uring_restriction_opcodes.h
       1  /* Generated by ./src/xlat/gen.sh from ./src/xlat/uring_restriction_opcodes.in; do not edit. */
       2  
       3  #include "gcc_compat.h"
       4  #include "static_assert.h"
       5  
       6  #undef XLAT_PREV_VAL
       7  
       8  #ifndef XLAT_MACROS_ONLY
       9  
      10  # ifdef IN_MPERS
      11  
      12  #  error static const struct xlat uring_restriction_opcodes in mpers mode
      13  
      14  # else
      15  
      16  DIAG_PUSH_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE
      17  static const struct xlat_data uring_restriction_opcodes_xdata[] = {
      18   [IORING_RESTRICTION_REGISTER_OP] = XLAT(IORING_RESTRICTION_REGISTER_OP),
      19   #define XLAT_VAL_0 ((unsigned) (IORING_RESTRICTION_REGISTER_OP))
      20   #define XLAT_STR_0 STRINGIFY(IORING_RESTRICTION_REGISTER_OP)
      21   [IORING_RESTRICTION_SQE_OP] = XLAT(IORING_RESTRICTION_SQE_OP),
      22   #define XLAT_VAL_1 ((unsigned) (IORING_RESTRICTION_SQE_OP))
      23   #define XLAT_STR_1 STRINGIFY(IORING_RESTRICTION_SQE_OP)
      24   [IORING_RESTRICTION_SQE_FLAGS_ALLOWED] = XLAT(IORING_RESTRICTION_SQE_FLAGS_ALLOWED),
      25   #define XLAT_VAL_2 ((unsigned) (IORING_RESTRICTION_SQE_FLAGS_ALLOWED))
      26   #define XLAT_STR_2 STRINGIFY(IORING_RESTRICTION_SQE_FLAGS_ALLOWED)
      27   [IORING_RESTRICTION_SQE_FLAGS_REQUIRED] = XLAT(IORING_RESTRICTION_SQE_FLAGS_REQUIRED),
      28   #define XLAT_VAL_3 ((unsigned) (IORING_RESTRICTION_SQE_FLAGS_REQUIRED))
      29   #define XLAT_STR_3 STRINGIFY(IORING_RESTRICTION_SQE_FLAGS_REQUIRED)
      30  };
      31  static
      32  const struct xlat uring_restriction_opcodes[1] = { {
      33   .data = uring_restriction_opcodes_xdata,
      34   .size = ARRAY_SIZE(uring_restriction_opcodes_xdata),
      35   .type = XT_INDEXED,
      36   .flags_mask = 0
      37  #  ifdef XLAT_VAL_0
      38    | XLAT_VAL_0
      39  #  endif
      40  #  ifdef XLAT_VAL_1
      41    | XLAT_VAL_1
      42  #  endif
      43  #  ifdef XLAT_VAL_2
      44    | XLAT_VAL_2
      45  #  endif
      46  #  ifdef XLAT_VAL_3
      47    | XLAT_VAL_3
      48  #  endif
      49    ,
      50   .flags_strsz = 0
      51  #  ifdef XLAT_STR_0
      52    + sizeof(XLAT_STR_0)
      53  #  endif
      54  #  ifdef XLAT_STR_1
      55    + sizeof(XLAT_STR_1)
      56  #  endif
      57  #  ifdef XLAT_STR_2
      58    + sizeof(XLAT_STR_2)
      59  #  endif
      60  #  ifdef XLAT_STR_3
      61    + sizeof(XLAT_STR_3)
      62  #  endif
      63    ,
      64  } };
      65  DIAG_POP_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE
      66  
      67  #  undef XLAT_STR_0
      68  #  undef XLAT_VAL_0
      69  #  undef XLAT_STR_1
      70  #  undef XLAT_VAL_1
      71  #  undef XLAT_STR_2
      72  #  undef XLAT_VAL_2
      73  #  undef XLAT_STR_3
      74  #  undef XLAT_VAL_3
      75  # endif /* !IN_MPERS */
      76  
      77  #endif /* !XLAT_MACROS_ONLY */