Lines Matching defs:KASSERT
110 #define KASSERT(cond, arg) \
124 KASSERT(no_alloc == 0, ("malloc in wrong place() line %d", line));
139 KASSERT(mp->state == 0, ("mutex already locked"));
146 KASSERT(mp->state == 1, ("mutex not locked"));
156 KASSERT(mp->state == 1, ("mtx_assert(MA_OWNED) not true"));
236 KASSERT (up->len <= NBITS,
246 KASSERT (y == uh->busy,
249 KASSERT (z == uh->alloc,
276 KASSERT(*p1 != NULL || *p2 != NULL, ("Out of cached memory"));
326 KASSERT(low >= 0 && low <= high,
362 KASSERT(uh->busy == 0, ("unrhdr has %u allocations", uh->busy));
363 KASSERT(uh->alloc == 0, ("UNR memory leak in delete_unrhdr"));
364 KASSERT(TAILQ_FIRST(&uh->ppfree) == NULL,
600 KASSERT(up->ptr != uh, ("UNR first element is allocated"));
608 KASSERT(y != -1, ("UNR corruption: No clear bit in bitmap."));
699 KASSERT(up->ptr == NULL,
766 KASSERT(item >= uh->low && item <= uh->high,
807 KASSERT(bit_test(ub->map, item) != 0,
815 KASSERT(up->ptr == uh, ("UNR Freeing free item %d (run))\n", item));