Lines Matching defs:mas
203 static void mas_cur_span(struct ma_state *mas, struct interval_tree_span_iter *state)
209 if (mas->status == ma_overflow)
213 state->is_hole = mas_walk(mas) ? 0 : 1;
215 cur_start = mas->index < state->first_index ?
216 state->first_index : mas->index;
221 cur_last = mas->last > state->last_index ?
222 state->last_index : mas->last;
224 is_hole = mas_next_range(mas, state->last_index) ? 0 : 1;
226 } while (mas->status != ma_overflow && is_hole == state->is_hole);
237 if (mas->status != ma_overflow)
238 mas_set(mas, cur_last + 1);
249 MA_STATE(mas, &tree, 0, 0);
281 mas_set(&mas, start);
284 mas_cur_span(&mas, &mas_span);
299 WARN_ON_ONCE(mas.status != ma_overflow);