Lines Matching refs:KASSERT

52 	KASSERT(PMAP_HAS_DMAP, ("direct-map required"));  in phys_copyback()
76 KASSERT(sglist_cnt > 1, ("out of sglist entries")); in vlist_copyback()
85 KASSERT(sglist_cnt >= 1, ("out of sglist entries")); in vlist_copyback()
108 KASSERT(sglist_cnt > 1, ("out of sglist entries")); in plist_copyback()
117 KASSERT(sglist_cnt >= 1, ("out of sglist entries")); in plist_copyback()
148 KASSERT(error == 0 && uio.uio_resid == 0, ("copy failed")); in vmpages_copyback()
154 KASSERT(off >= 0, ("%s: invalid offset %d", __func__, off)); in memdesc_copyback()
155 KASSERT(size >= 0, ("%s: invalid size %d", __func__, off)); in memdesc_copyback()
159 KASSERT(off + size <= mem->md_len, ("copy out of bounds")); in memdesc_copyback()
163 KASSERT(off + size <= mem->md_len, ("copy out of bounds")); in memdesc_copyback()
179 KASSERT(off + size <= mem->md_len, ("copy out of bounds")); in memdesc_copyback()
200 KASSERT(PMAP_HAS_DMAP, ("direct-map required")); in phys_copydata()
224 KASSERT(sglist_cnt > 1, ("out of sglist entries")); in vlist_copydata()
233 KASSERT(sglist_cnt >= 1, ("out of sglist entries")); in vlist_copydata()
256 KASSERT(sglist_cnt > 1, ("out of sglist entries")); in plist_copydata()
265 KASSERT(sglist_cnt >= 1, ("out of sglist entries")); in plist_copydata()
296 KASSERT(error == 0 && uio.uio_resid == 0, ("copy failed")); in vmpages_copydata()
302 KASSERT(off >= 0, ("%s: invalid offset %d", __func__, off)); in memdesc_copydata()
303 KASSERT(size >= 0, ("%s: invalid size %d", __func__, off)); in memdesc_copydata()
307 KASSERT(off + size <= mem->md_len, ("copy out of bounds")); in memdesc_copydata()
311 KASSERT(off + size <= mem->md_len, ("copy out of bounds")); in memdesc_copydata()
327 KASSERT(off + size <= mem->md_len, ("copy out of bounds")); in memdesc_copydata()
395 KASSERT(len == 0 || (pa & PAGE_MASK) == 0, in append_paddr_range()
411 KASSERT(len < PAGE_SIZE, ("final page is full page")); in append_paddr_range()
455 KASSERT(appended > 0, ("did not append anything")); in paddr_ext_mbuf()
456 KASSERT(appended <= len, ("appended too much")); in paddr_ext_mbuf()
480 KASSERT(sglist_cnt > 1, ("out of sglist entries")); in vlist_ext_mbuf()
489 KASSERT(sglist_cnt >= 1, ("out of sglist entries")); in vlist_ext_mbuf()
530 KASSERT(sglist_cnt > 1, ("out of sglist entries")); in plist_ext_mbuf()
542 KASSERT(sglist_cnt >= 1, ("out of sglist entries")); in plist_ext_mbuf()
586 KASSERT(appended > 0, ("did not append anything")); in plist_ext_mbuf()
791 KASSERT(done <= len, ("chain too long")); in memdesc_alloc_ext_mbufs()
793 KASSERT(done == len, ("short chain with no limit")); in memdesc_alloc_ext_mbufs()
795 KASSERT(m_length(m, NULL) == done, ("length mismatch")); in memdesc_alloc_ext_mbufs()