Lines Matching refs:low
323 init_unrhdr(struct unrhdr *uh, int low, int high, struct mtx *mutex)
326 KASSERT(low >= 0 && low <= high,
327 ("UNR: use error: new_unrhdr(%d, %d)", low, high));
334 uh->low = low;
337 uh->last = 1 + (high - low);
348 new_unrhdr(int low, int high, struct mtx *mutex)
353 init_unrhdr(uh, low, high, mutex);
579 x = uh->low + uh->first;
638 if (item < uh->low + uh->first || item > uh->high)
643 if (up == NULL && item - uh->low == uh->first) {
651 i = item - uh->low - uh->first;
662 uh->last = uh->high - uh->low - i;
722 last = uh->high - uh->low - (item - uh->low);
766 KASSERT(item >= uh->low && item <= uh->high,
768 item, uh->low, uh->high));
770 item -= uh->low;
926 "%p low = %u high = %u first = %u last = %u busy %u chunks = %u\n",
927 uh, uh->low, uh->high, uh->first, uh->last, uh->busy, uh->alloc);
928 x = uh->low + uh->first;