Lines Matching refs:assert
71 #include <kern/assert.h>
118 assert(space->is_active);
150 assert(space->is_active);
170 assert(space->is_tree_total > 0);
190 assert((entry == IE_NULL) || IE_BITS_TYPE(entry->ie_bits));
216 assert(space->is_active);
248 assert(MACH_PORT_VALID(new_name));
252 assert(free_entry->ie_object == IO_NULL);
323 assert(MACH_PORT_VALID(name));
355 assert(!IE_BITS_TYPE(entry->ie_bits));
356 assert(!IE_BITS_GEN(entry->ie_bits));
360 assert(!tentry);
383 assert(entry->ie_object == IO_NULL);
385 assert(!tentry);
399 assert(!tentry);
414 assert(tentry2->ite_space == space);
415 assert(IE_BITS_TYPE(tentry2->ite_bits));
451 assert(kr != KERN_NO_SPACE);
517 assert(space->is_active);
518 assert(entry->ie_object == IO_NULL);
519 assert(entry->ie_request == 0);
526 assert(index < size);
527 assert(entry == &table[index]);
528 assert(IE_BITS_GEN(entry->ie_bits) == MACH_PORT_GEN(name));
529 assert(!(entry->ie_bits & IE_BITS_COLLISION));
538 assert(IE_BITS_GEN(entry->ie_bits) == MACH_PORT_GEN(name));
558 assert(pick);
559 assert(MACH_PORT_INDEX(tname) == index);
565 assert(tentry->ite_space == space);
576 assert(space->is_tree_total > 0);
600 assert(tentry->ite_space == space);
604 assert(space->is_tree_total > 0);
610 assert(ientry->ie_bits & IE_BITS_COLLISION);
618 assert(space->is_tree_small > 0);
655 assert(space->is_active);
710 assert((osize < size) && (size <= nsize));
757 assert(space->is_table == otable);
758 assert((space->is_table_next == its) ||
760 assert(space->is_table_size == osize);
800 assert(!is_fast_space(space) || space->is_tree_total == 0);
853 assert(tentry->ite_space == space);
854 assert((osize <= index) && (index < size));
859 assert(IE_BITS_GEN(bits) != gen);
867 assert(type != MACH_PORT_TYPE_NONE);
901 assert(nosmall <= (nsize - size));
902 assert(nosmall <= space->is_tree_total);