Lines Matching refs:OSL_ASSERT

237 	OSL_ASSERT (bufctl != NULL); /* bad free */  in rtl_cache_hash_remove()
296 OSL_ASSERT(QUEUE_STARTED_NAMED(slab, slab_)); in rtl_cache_slab_destructor()
299 OSL_ASSERT(slab->m_ntypes == 0); in rtl_cache_slab_destructor()
323 OSL_ASSERT(size >= cache->m_slab_size); in rtl_cache_slab_create()
328 OSL_ASSERT (cache != gp_cache_slab_cache); in rtl_cache_slab_create()
381 OSL_ASSERT(ntypes == 0); in rtl_cache_slab_destroy()
456 OSL_ASSERT(slab->m_ntypes < cache->m_ntypes); in rtl_cache_slab_alloc()
461OSL_ASSERT (slab->m_bp < slab->m_data + cache->m_ntypes * cache->m_type_size + cache->m_ncolor_max… in rtl_cache_slab_alloc()
465 OSL_ASSERT (cache != gp_cache_bufctl_cache); in rtl_cache_slab_alloc()
627 OSL_ASSERT(mag->m_mag_next == NULL); in rtl_cache_magazine_destructor()
630 OSL_ASSERT(mag->m_mag_used == 0); in rtl_cache_magazine_destructor()
704 OSL_ASSERT(depot->m_mag_next != NULL); in rtl_cache_depot_dequeue()
734 OSL_ASSERT((empty == NULL) || (empty->m_mag_used == 0)); in rtl_cache_depot_exchange_alloc()
744 OSL_ASSERT((full == NULL) || (full->m_mag_used > 0)); in rtl_cache_depot_exchange_alloc()
766 OSL_ASSERT((full == NULL) || (full->m_mag_used > 0)); in rtl_cache_depot_exchange_free()
776 OSL_ASSERT((empty == NULL) || (empty->m_mag_used == 0)); in rtl_cache_depot_exchange_free()
850 OSL_ASSERT(QUEUE_STARTED_NAMED(cache, cache_)); in rtl_cache_destructor()
855 OSL_ASSERT(QUEUE_STARTED_NAMED(&(cache->m_free_head), slab_)); in rtl_cache_destructor()
856 OSL_ASSERT(QUEUE_STARTED_NAMED(&(cache->m_used_head), slab_)); in rtl_cache_destructor()
858 OSL_ASSERT(cache->m_hash_table == cache->m_hash_table_0); in rtl_cache_destructor()
859 OSL_ASSERT(cache->m_hash_size == RTL_CACHE_HASH_SIZE); in rtl_cache_destructor()
860 OSL_ASSERT(cache->m_hash_shift == (sal_Size)(highbit(cache->m_hash_size) - 1)); in rtl_cache_destructor()
884 OSL_ASSERT(cache != NULL); in rtl_cache_activate()
913 OSL_ASSERT(RTL_MEMORY_ISP2(objalign)); in rtl_cache_activate()
946 OSL_ASSERT(gp_cache_slab_cache != NULL); in rtl_cache_activate()
947 OSL_ASSERT(gp_cache_bufctl_cache != NULL); in rtl_cache_activate()
960 OSL_ASSERT(cache->m_ntypes > 0); in rtl_cache_activate()
972 OSL_ASSERT(gp_cache_magazine_cache != NULL); in rtl_cache_activate()
1158 OSL_ASSERT(gp_default_arena != 0); in rtl_cache_create()
1665 OSL_ASSERT(gp_cache_arena == NULL); in rtl_cache_once_init()
1676 OSL_ASSERT(gp_cache_arena != NULL); in rtl_cache_once_init()
1679 OSL_ASSERT(gp_default_arena != NULL); in rtl_cache_once_init()
1685 OSL_ASSERT(gp_cache_magazine_cache == NULL); in rtl_cache_once_init()
1701 OSL_ASSERT(gp_cache_magazine_cache != NULL); in rtl_cache_once_init()
1710 OSL_ASSERT(gp_cache_slab_cache == NULL); in rtl_cache_once_init()
1726 OSL_ASSERT(gp_cache_slab_cache != NULL); in rtl_cache_once_init()
1732 OSL_ASSERT(gp_cache_bufctl_cache == NULL); in rtl_cache_once_init()
1748 OSL_ASSERT(gp_cache_bufctl_cache != NULL); in rtl_cache_once_init()