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