(root)/
strace-6.5/
src/
xlat/
mtd_otp_options.h
       1  /* Generated by ./src/xlat/gen.sh from ./src/xlat/mtd_otp_options.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  extern const struct xlat mtd_otp_options[];
      13  
      14  # else
      15  
      16  DIAG_PUSH_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE
      17  static const struct xlat_data mtd_otp_options_xdata[] = {
      18   [MTD_OTP_OFF] = XLAT(MTD_OTP_OFF),
      19   #define XLAT_VAL_0 ((unsigned) (MTD_OTP_OFF))
      20   #define XLAT_STR_0 STRINGIFY(MTD_OTP_OFF)
      21   [MTD_OTP_FACTORY] = XLAT(MTD_OTP_FACTORY),
      22   #define XLAT_VAL_1 ((unsigned) (MTD_OTP_FACTORY))
      23   #define XLAT_STR_1 STRINGIFY(MTD_OTP_FACTORY)
      24   [MTD_OTP_USER] = XLAT(MTD_OTP_USER),
      25   #define XLAT_VAL_2 ((unsigned) (MTD_OTP_USER))
      26   #define XLAT_STR_2 STRINGIFY(MTD_OTP_USER)
      27  };
      28  #  if !(defined HAVE_M32_MPERS || defined HAVE_MX32_MPERS)
      29  static
      30  #  endif
      31  const struct xlat mtd_otp_options[1] = { {
      32   .data = mtd_otp_options_xdata,
      33   .size = ARRAY_SIZE(mtd_otp_options_xdata),
      34   .type = XT_INDEXED,
      35   .flags_mask = 0
      36  #  ifdef XLAT_VAL_0
      37    | XLAT_VAL_0
      38  #  endif
      39  #  ifdef XLAT_VAL_1
      40    | XLAT_VAL_1
      41  #  endif
      42  #  ifdef XLAT_VAL_2
      43    | XLAT_VAL_2
      44  #  endif
      45    ,
      46   .flags_strsz = 0
      47  #  ifdef XLAT_STR_0
      48    + sizeof(XLAT_STR_0)
      49  #  endif
      50  #  ifdef XLAT_STR_1
      51    + sizeof(XLAT_STR_1)
      52  #  endif
      53  #  ifdef XLAT_STR_2
      54    + sizeof(XLAT_STR_2)
      55  #  endif
      56    ,
      57  } };
      58  DIAG_POP_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE
      59  
      60  #  undef XLAT_STR_0
      61  #  undef XLAT_VAL_0
      62  #  undef XLAT_STR_1
      63  #  undef XLAT_VAL_1
      64  #  undef XLAT_STR_2
      65  #  undef XLAT_VAL_2
      66  # endif /* !IN_MPERS */
      67  
      68  #endif /* !XLAT_MACROS_ONLY */