1 /* Generated by ./xlat/gen.sh from ./xlat/btrfs_balance_state.in; do not edit. */ 2 #if !(defined(BTRFS_BALANCE_STATE_RUNNING) || (defined(HAVE_DECL_BTRFS_BALANCE_STATE_RUNNING) && HAVE_DECL_BTRFS_BALANCE_STATE_RUNNING)) 3 # define BTRFS_BALANCE_STATE_RUNNING (1ULL << 0) 4 #endif 5 #if !(defined(BTRFS_BALANCE_STATE_PAUSE_REQ) || (defined(HAVE_DECL_BTRFS_BALANCE_STATE_PAUSE_REQ) && HAVE_DECL_BTRFS_BALANCE_STATE_PAUSE_REQ)) 6 # define BTRFS_BALANCE_STATE_PAUSE_REQ (1ULL << 1) 7 #endif 8 #if !(defined(BTRFS_BALANCE_STATE_CANCEL_REQ) || (defined(HAVE_DECL_BTRFS_BALANCE_STATE_CANCEL_REQ) && HAVE_DECL_BTRFS_BALANCE_STATE_CANCEL_REQ)) 9 # define BTRFS_BALANCE_STATE_CANCEL_REQ (1ULL << 2) 10 #endif 11 12 #ifdef IN_MPERS 13 14 extern const struct xlat btrfs_balance_state[]; 15 16 #else 17 18 # if !(defined HAVE_M32_MPERS || defined HAVE_MX32_MPERS) 19 static 20 # endif 21 const struct xlat btrfs_balance_state[] = { 22 XLAT(BTRFS_BALANCE_STATE_RUNNING), 23 XLAT(BTRFS_BALANCE_STATE_PAUSE_REQ), 24 XLAT(BTRFS_BALANCE_STATE_CANCEL_REQ), 25 XLAT_END 26 }; 27 28 #endif /* !IN_MPERS */ 29