Lines Matching defs:state
101 * Generally speaking we will have two cases for each state, a "nice" state
102 * and a "ALL THE THINGS" state. In btrfs we delay a lot of work in order to
703 * Try to flush some data based on policy set by @state. This is only advisory
705 * state of @space_info to detect the outcome.
709 enum btrfs_flush_state state, bool for_preempt)
716 switch (state) {
719 if (state == FLUSH_DELAYED_ITEMS_NR)
737 if (state == FLUSH_DELALLOC_FULL)
740 state != FLUSH_DELALLOC, for_preempt);
751 if (state == FLUSH_DELAYED_REFS_NR)
767 (state == ALLOC_CHUNK) ? CHUNK_ALLOC_NO_FORCE :
790 * (only for it to be unblocked, state TRANS_STATE_UNBLOCKED).
806 trace_btrfs_flush_space(fs_info, space_info->flags, num_bytes, state,
829 * appropriate pressure on the flushing state machine.
1101 * through the flushing state machine skip ALLOC_CHUNK_FORCE and
1549 * This returns true if this flush state will go through the ordinary flushing