Home | History | Annotate | Download | only in xlat
      1 /* Generated by ./xlat/gen.sh from ./xlat/sg_io_flags.in; do not edit. */
      2 #if !(defined(SG_FLAG_DIRECT_IO) || (defined(HAVE_DECL_SG_FLAG_DIRECT_IO) && HAVE_DECL_SG_FLAG_DIRECT_IO))
      3 # define SG_FLAG_DIRECT_IO 1
      4 #endif
      5 #if !(defined(SG_FLAG_UNUSED_LUN_INHIBIT) || (defined(HAVE_DECL_SG_FLAG_UNUSED_LUN_INHIBIT) && HAVE_DECL_SG_FLAG_UNUSED_LUN_INHIBIT))
      6 # define SG_FLAG_UNUSED_LUN_INHIBIT 2
      7 #endif
      8 #if !(defined(SG_FLAG_MMAP_IO) || (defined(HAVE_DECL_SG_FLAG_MMAP_IO) && HAVE_DECL_SG_FLAG_MMAP_IO))
      9 # define SG_FLAG_MMAP_IO 4
     10 #endif
     11 #if !(defined(SG_FLAG_NO_DXFER) || (defined(HAVE_DECL_SG_FLAG_NO_DXFER) && HAVE_DECL_SG_FLAG_NO_DXFER))
     12 # define SG_FLAG_NO_DXFER 0x10000
     13 #endif
     14 #if !(defined(SG_FLAG_Q_AT_TAIL) || (defined(HAVE_DECL_SG_FLAG_Q_AT_TAIL) && HAVE_DECL_SG_FLAG_Q_AT_TAIL))
     15 # define SG_FLAG_Q_AT_TAIL 0x10
     16 #endif
     17 #if !(defined(SG_FLAG_Q_AT_HEAD) || (defined(HAVE_DECL_SG_FLAG_Q_AT_HEAD) && HAVE_DECL_SG_FLAG_Q_AT_HEAD))
     18 # define SG_FLAG_Q_AT_HEAD 0x20
     19 #endif
     20 
     21 #ifdef IN_MPERS
     22 
     23 extern const struct xlat sg_io_flags[];
     24 
     25 #else
     26 
     27 # if !(defined HAVE_M32_MPERS || defined HAVE_MX32_MPERS)
     28 static
     29 # endif
     30 const struct xlat sg_io_flags[] = {
     31  XLAT(SG_FLAG_DIRECT_IO),
     32  XLAT(SG_FLAG_UNUSED_LUN_INHIBIT),
     33  XLAT(SG_FLAG_MMAP_IO),
     34  XLAT(SG_FLAG_NO_DXFER),
     35  XLAT(SG_FLAG_Q_AT_TAIL),
     36  XLAT(SG_FLAG_Q_AT_HEAD),
     37  XLAT_END
     38 };
     39 
     40 #endif /* !IN_MPERS */
     41