Lines Matching refs:low
261 y = uh->low - 1; in next_iter_unrl()
272 iter->upos_first_item = uh->low; in next_iter_unrl()
282 if (y + 1 < uh->low + uh->first) { in next_iter_unrl()
287 iter->upos_first_item = uh->low + uh->first; in next_iter_unrl()
459 init_unrhdr(struct unrhdr *uh, int low, int high, struct mtx *mutex) in init_unrhdr() argument
462 KASSERT(low >= 0 && low <= high, in init_unrhdr()
463 ("UNR: use error: new_unrhdr(%d, %d)", low, high)); in init_unrhdr()
472 uh->low = low; in init_unrhdr()
475 uh->last = 1 + (high - low); in init_unrhdr()
488 new_unrhdr(int low, int high, struct mtx *mutex) in new_unrhdr() argument
493 init_unrhdr(uh, low, high, mutex); in new_unrhdr()
524 init_unrhdr(uh, uh->low, uh->high, uh->mtx); in clear_unrhdr()
734 x = uh->low + uh->first; in alloc_unrl()
796 if (item < uh->low + uh->first || item > uh->high) in alloc_unr_specificl()
801 if (up == NULL && item - uh->low == uh->first) { in alloc_unr_specificl()
809 i = item - uh->low - uh->first; in alloc_unr_specificl()
820 uh->last = uh->high - uh->low - i; in alloc_unr_specificl()
880 last = uh->high - uh->low - (item - uh->low); in alloc_unr_specificl()
926 KASSERT(item >= uh->low && item <= uh->high, in free_unrl()
928 item, uh->low, uh->high)); in free_unrl()
930 item -= uh->low; in free_unrl()
1092 uh, uh->low, uh->high, uh->first, uh->last, uh->busy, uh->alloc); in print_unrhdr()
1093 x = uh->low + uh->first; in print_unrhdr()