return mas->status == ma_underflow;
 }
 
-static inline bool mas_searchable(struct ma_state *mas)
-{
-       if (mas_is_none(mas))
-               return false;
-
-       if (mas_is_ptr(mas))
-               return false;
-
-       return true;
-}
-
 static __always_inline struct maple_node *mte_to_node(
                const struct maple_enode *entry)
 {
 
        }
 
-       if (unlikely(!mas_searchable(mas))) {
-               if (unlikely(mas_is_ptr(mas)))
-                       goto ptr_out_of_range;
+       if (unlikely(mas_is_ptr(mas)))
+               goto ptr_out_of_range;
 
+       if (unlikely(mas_is_none(mas)))
                return true;
-       }
 
        if (mas->index == max)
                return true;
                        return true;
        }
 
-       if (unlikely(!mas_searchable(mas))) {
-               if (mas_is_ptr(mas))
-                       goto none;
+       if (unlikely(mas_is_ptr(mas)))
+               goto none;
 
-               if (mas_is_none(mas)) {
-                       /*
-                        * Walked to the location, and there was nothing so the
-                        * previous location is 0.
-                        */
-                       mas->last = mas->index = 0;
-                       mas->status = ma_root;
-                       *entry = mas_root(mas);
-                       return true;
-               }
+       if (unlikely(mas_is_none(mas))) {
+               /*
+                * Walked to the location, and there was nothing so the previous
+                * location is 0.
+                */
+               mas->last = mas->index = 0;
+               mas->status = ma_root;
+               *entry = mas_root(mas);
+               return true;
        }
 
 active:
        if (entry)
                goto unlock;
 
-       while (mas_searchable(&mas) && (mas.last < max)) {
+       while (mas_is_active(&mas) && (mas.last < max)) {
                entry = mas_next_entry(&mas, max);
                if (likely(entry && !xa_is_zero(entry)))
                        break;
        return kmem_cache_nr_allocated(maple_node_cache);
 }
 
-/*
- * mas_dead_node() - Check if the maple state is pointing to a dead node.
- * @mas: The maple state
- * @index: The index to restore in @mas.
- *
- * Used in test code.
- * Return: 1 if @mas has been reset to MAS_START, 0 otherwise.
- */
-static inline int mas_dead_node(struct ma_state *mas, unsigned long index)
-{
-       if (unlikely(!mas_searchable(mas) || mas_is_start(mas)))
-               return 0;
-
-       if (likely(!mte_dead_node(mas->node)))
-               return 0;
-
-       mas_rewalk(mas, index);
-       return 1;
-}
-
 void mt_cache_shrink(void)
 {
 }
        MA_STATE(mas, mt, 0, 0);
        rcu_read_lock();
        mas_start(&mas);
-       if (!mas_searchable(&mas))
+       if (!mas_is_active(&mas))
                goto done;
 
        while (!mte_is_leaf(mas.node))