Lines Matching refs:prev
607 rtl_arena_segment_type *next, *prev; in rtl_arena_segment_coalesce() local
631 prev = segment->m_sprev; in rtl_arena_segment_coalesce()
632 if (prev->m_type == RTL_ARENA_SEGMENT_TYPE_FREE) in rtl_arena_segment_coalesce()
634 OSL_ASSERT(prev->m_addr + prev->m_size == segment->m_addr); in rtl_arena_segment_coalesce()
635 segment->m_addr = prev->m_addr; in rtl_arena_segment_coalesce()
636 segment->m_size += prev->m_size; in rtl_arena_segment_coalesce()
639 rtl_arena_freelist_remove (arena, prev); in rtl_arena_segment_coalesce()
642 QUEUE_REMOVE_NAMED(prev, s); in rtl_arena_segment_coalesce()
645 rtl_arena_segment_put (arena, &prev); in rtl_arena_segment_coalesce()
1106 rtl_arena_segment_type *next, *prev; in rtl_arena_free() local
1117 next = segment->m_snext, prev = segment->m_sprev; in rtl_arena_free()
1120 if (((prev->m_type == RTL_ARENA_SEGMENT_TYPE_SPAN)) && in rtl_arena_free()
1124 OSL_ASSERT((prev->m_addr == segment->m_addr) && in rtl_arena_free()
1125 (prev->m_size == segment->m_size) ); in rtl_arena_free()
1129 addr = (void*)(prev->m_addr); in rtl_arena_free()
1130 size = prev->m_size; in rtl_arena_free()
1139 QUEUE_REMOVE_NAMED(prev, s); in rtl_arena_free()
1142 rtl_arena_segment_put (arena, &prev); in rtl_arena_free()