1 /* Generated by ./xlat/gen.sh from ./xlat/fan_init_flags.in; do not edit. */ 2 #if !(defined(FAN_CLOEXEC) || (defined(HAVE_DECL_FAN_CLOEXEC) && HAVE_DECL_FAN_CLOEXEC)) 3 # define FAN_CLOEXEC 0x00000001 4 #endif 5 #if !(defined(FAN_NONBLOCK) || (defined(HAVE_DECL_FAN_NONBLOCK) && HAVE_DECL_FAN_NONBLOCK)) 6 # define FAN_NONBLOCK 0x00000002 7 #endif 8 #if !(defined(FAN_UNLIMITED_QUEUE) || (defined(HAVE_DECL_FAN_UNLIMITED_QUEUE) && HAVE_DECL_FAN_UNLIMITED_QUEUE)) 9 # define FAN_UNLIMITED_QUEUE 0x00000010 10 #endif 11 #if !(defined(FAN_UNLIMITED_MARKS) || (defined(HAVE_DECL_FAN_UNLIMITED_MARKS) && HAVE_DECL_FAN_UNLIMITED_MARKS)) 12 # define FAN_UNLIMITED_MARKS 0x00000020 13 #endif 14 15 #ifdef IN_MPERS 16 17 # error static const struct xlat fan_init_flags in mpers mode 18 19 #else 20 21 static 22 const struct xlat fan_init_flags[] = { 23 XLAT(FAN_CLOEXEC), 24 XLAT(FAN_NONBLOCK), 25 XLAT(FAN_UNLIMITED_QUEUE), 26 XLAT(FAN_UNLIMITED_MARKS), 27 XLAT_END 28 }; 29 30 #endif /* !IN_MPERS */ 31