1/* Generated by ./xlat/gen.sh from ./xlat/fiemap_extent_flags.in; do not edit. */ 2#if !(defined(FIEMAP_EXTENT_LAST) || (defined(HAVE_DECL_FIEMAP_EXTENT_LAST) && HAVE_DECL_FIEMAP_EXTENT_LAST)) 3# define FIEMAP_EXTENT_LAST 0x00000001 4#endif 5#if !(defined(FIEMAP_EXTENT_UNKNOWN) || (defined(HAVE_DECL_FIEMAP_EXTENT_UNKNOWN) && HAVE_DECL_FIEMAP_EXTENT_UNKNOWN)) 6# define FIEMAP_EXTENT_UNKNOWN 0x00000002 7#endif 8#if !(defined(FIEMAP_EXTENT_DELALLOC) || (defined(HAVE_DECL_FIEMAP_EXTENT_DELALLOC) && HAVE_DECL_FIEMAP_EXTENT_DELALLOC)) 9# define FIEMAP_EXTENT_DELALLOC 0x00000004 10#endif 11#if !(defined(FIEMAP_EXTENT_ENCODED) || (defined(HAVE_DECL_FIEMAP_EXTENT_ENCODED) && HAVE_DECL_FIEMAP_EXTENT_ENCODED)) 12# define FIEMAP_EXTENT_ENCODED 0x00000008 13#endif 14#if !(defined(FIEMAP_EXTENT_DATA_ENCRYPTED) || (defined(HAVE_DECL_FIEMAP_EXTENT_DATA_ENCRYPTED) && HAVE_DECL_FIEMAP_EXTENT_DATA_ENCRYPTED)) 15# define FIEMAP_EXTENT_DATA_ENCRYPTED 0x00000080 16#endif 17#if !(defined(FIEMAP_EXTENT_NOT_ALIGNED) || (defined(HAVE_DECL_FIEMAP_EXTENT_NOT_ALIGNED) && HAVE_DECL_FIEMAP_EXTENT_NOT_ALIGNED)) 18# define FIEMAP_EXTENT_NOT_ALIGNED 0x00000100 19#endif 20#if !(defined(FIEMAP_EXTENT_DATA_INLINE) || (defined(HAVE_DECL_FIEMAP_EXTENT_DATA_INLINE) && HAVE_DECL_FIEMAP_EXTENT_DATA_INLINE)) 21# define FIEMAP_EXTENT_DATA_INLINE 0x00000200 22#endif 23#if !(defined(FIEMAP_EXTENT_DATA_TAIL) || (defined(HAVE_DECL_FIEMAP_EXTENT_DATA_TAIL) && HAVE_DECL_FIEMAP_EXTENT_DATA_TAIL)) 24# define FIEMAP_EXTENT_DATA_TAIL 0x00000400 25#endif 26#if !(defined(FIEMAP_EXTENT_UNWRITTEN) || (defined(HAVE_DECL_FIEMAP_EXTENT_UNWRITTEN) && HAVE_DECL_FIEMAP_EXTENT_UNWRITTEN)) 27# define FIEMAP_EXTENT_UNWRITTEN 0x00000800 28#endif 29#if !(defined(FIEMAP_EXTENT_MERGED) || (defined(HAVE_DECL_FIEMAP_EXTENT_MERGED) && HAVE_DECL_FIEMAP_EXTENT_MERGED)) 30# define FIEMAP_EXTENT_MERGED 0x00001000 31#endif 32#if !(defined(FIEMAP_EXTENT_SHARED) || (defined(HAVE_DECL_FIEMAP_EXTENT_SHARED) && HAVE_DECL_FIEMAP_EXTENT_SHARED)) 33# define FIEMAP_EXTENT_SHARED 0x00002000 34#endif 35 36#ifdef IN_MPERS 37 38# error static const struct xlat fiemap_extent_flags in mpers mode 39 40#else 41 42static 43const struct xlat fiemap_extent_flags[] = { 44 XLAT(FIEMAP_EXTENT_LAST), 45 XLAT(FIEMAP_EXTENT_UNKNOWN), 46 XLAT(FIEMAP_EXTENT_DELALLOC), 47 XLAT(FIEMAP_EXTENT_ENCODED), 48 XLAT(FIEMAP_EXTENT_DATA_ENCRYPTED), 49 XLAT(FIEMAP_EXTENT_NOT_ALIGNED), 50 XLAT(FIEMAP_EXTENT_DATA_INLINE), 51 XLAT(FIEMAP_EXTENT_DATA_TAIL), 52 XLAT(FIEMAP_EXTENT_UNWRITTEN), 53 XLAT(FIEMAP_EXTENT_MERGED), 54 XLAT(FIEMAP_EXTENT_SHARED), 55 XLAT_END 56}; 57 58#endif /* !IN_MPERS */ 59