Lines Matching refs:KASSERT

98 	KASSERT(type >= OSD_FIRST && type <= OSD_LAST, ("Invalid type."));  in osd_register()
154 KASSERT(type >= OSD_FIRST && type <= OSD_LAST, ("Invalid type.")); in osd_deregister()
155 KASSERT(slot > 0, ("Invalid slot.")); in osd_deregister()
159 KASSERT(osdm[type].osd_destructors[slot - 1] != NULL, ("Unused slot.")); in osd_deregister()
195 KASSERT(slot > 0, ("Invalid slot.")); in osd_reserve()
207 KASSERT(type >= OSD_FIRST && type <= OSD_LAST, ("Invalid type.")); in osd_set_reserved()
208 KASSERT(slot > 0, ("Invalid slot.")); in osd_set_reserved()
211 KASSERT(osdm[type].osd_destructors[slot - 1] != NULL, ("Unused slot.")); in osd_set_reserved()
285 KASSERT(osdm[type].osd_destructors[slot - 1] != NULL, ("Unused slot.")); in osd_get_unlocked()
304 KASSERT(type >= OSD_FIRST && type <= OSD_LAST, ("Invalid type.")); in osd_get()
305 KASSERT(slot > 0, ("Invalid slot.")); in osd_get()
328 KASSERT(type >= OSD_FIRST && type <= OSD_LAST, ("Invalid type.")); in do_osd_del()
329 KASSERT(slot > 0, ("Invalid slot.")); in do_osd_del()
330 KASSERT(osdm[type].osd_destructors[slot - 1] != NULL, ("Unused slot.")); in do_osd_del()
368 KASSERT(osd->osd_slots != NULL, ("realloc() failed")); in do_osd_del()
381 KASSERT(type >= OSD_FIRST && type <= OSD_LAST, ("Invalid type.")); in osd_call()
382 KASSERT(method < osdm[type].osd_nmethods, ("Invalid method.")); in osd_call()
409 KASSERT(type >= OSD_FIRST && type <= OSD_LAST, ("Invalid type.")); in osd_exit()
412 KASSERT(osd->osd_slots == NULL, ("Non-null osd_slots.")); in osd_exit()