1 /* Generated by ./xlat/gen.sh from ./xlat/sync_file_range_flags.in; do not edit. */ 2 #if !(defined(SYNC_FILE_RANGE_WAIT_BEFORE) || (defined(HAVE_DECL_SYNC_FILE_RANGE_WAIT_BEFORE) && HAVE_DECL_SYNC_FILE_RANGE_WAIT_BEFORE)) 3 # define SYNC_FILE_RANGE_WAIT_BEFORE 1 4 #endif 5 #if !(defined(SYNC_FILE_RANGE_WRITE) || (defined(HAVE_DECL_SYNC_FILE_RANGE_WRITE) && HAVE_DECL_SYNC_FILE_RANGE_WRITE)) 6 # define SYNC_FILE_RANGE_WRITE 2 7 #endif 8 #if !(defined(SYNC_FILE_RANGE_WAIT_AFTER) || (defined(HAVE_DECL_SYNC_FILE_RANGE_WAIT_AFTER) && HAVE_DECL_SYNC_FILE_RANGE_WAIT_AFTER)) 9 # define SYNC_FILE_RANGE_WAIT_AFTER 4 10 #endif 11 12 #ifdef IN_MPERS 13 14 # error static const struct xlat sync_file_range_flags in mpers mode 15 16 #else 17 18 static 19 const struct xlat sync_file_range_flags[] = { 20 XLAT(SYNC_FILE_RANGE_WAIT_BEFORE), 21 XLAT(SYNC_FILE_RANGE_WRITE), 22 XLAT(SYNC_FILE_RANGE_WAIT_AFTER), 23 XLAT_END 24 }; 25 26 #endif /* !IN_MPERS */ 27