Lines Matching refs:ppSegment
188 rtl_arena_segment_type ** ppSegment in rtl_arena_segment_get() argument
193 OSL_ASSERT(*ppSegment == 0); in rtl_arena_segment_get()
198 (*ppSegment) = head->m_snext; in rtl_arena_segment_get()
199 QUEUE_REMOVE_NAMED((*ppSegment), s); in rtl_arena_segment_get()
216 rtl_arena_segment_type ** ppSegment in rtl_arena_segment_put() argument
221 OSL_ASSERT(QUEUE_STARTED_NAMED((*ppSegment), s)); in rtl_arena_segment_put()
222 OSL_ASSERT(QUEUE_STARTED_NAMED((*ppSegment), f)); in rtl_arena_segment_put()
224 (*ppSegment)->m_addr = 0; in rtl_arena_segment_put()
225 (*ppSegment)->m_size = 0; in rtl_arena_segment_put()
227 OSL_ASSERT((*ppSegment)->m_type != RTL_ARENA_SEGMENT_TYPE_HEAD); in rtl_arena_segment_put()
228 (*ppSegment)->m_type = 0; in rtl_arena_segment_put()
232 QUEUE_INSERT_HEAD_NAMED(head, (*ppSegment), s); in rtl_arena_segment_put()
235 (*ppSegment) = 0; in rtl_arena_segment_put()
398 rtl_arena_segment_type ** ppSegment; in rtl_arena_hash_insert() local
400 ppSegment = &(arena->m_hash_table[RTL_ARENA_HASH_INDEX(arena, segment->m_addr)]); in rtl_arena_hash_insert()
402 segment->m_fnext = (*ppSegment); in rtl_arena_hash_insert()
403 (*ppSegment) = segment; in rtl_arena_hash_insert()
488 rtl_arena_segment_type ** ppSegment in rtl_arena_segment_alloc() argument
493 OSL_ASSERT(*ppSegment == 0); in rtl_arena_segment_alloc()
508 (*ppSegment) = segment; in rtl_arena_segment_alloc()
526 (*ppSegment) = head->m_fnext; in rtl_arena_segment_alloc()
527 OSL_ASSERT((*ppSegment) != head); in rtl_arena_segment_alloc()
531 if (*ppSegment != 0) in rtl_arena_segment_alloc()
534 rtl_arena_freelist_remove (arena, (*ppSegment)); in rtl_arena_segment_alloc()
536 return (*ppSegment != 0); in rtl_arena_segment_alloc()
550 rtl_arena_segment_type ** ppSegment in rtl_arena_segment_create() argument
553 OSL_ASSERT((*ppSegment) == 0); in rtl_arena_segment_create()
556 rtl_arena_segment_get (arena, ppSegment); in rtl_arena_segment_create()
557 if (*ppSegment != 0) in rtl_arena_segment_create()
578 (*ppSegment)->m_addr = span->m_addr; in rtl_arena_segment_create()
579 (*ppSegment)->m_size = span->m_size; in rtl_arena_segment_create()
580 (*ppSegment)->m_type = RTL_ARENA_SEGMENT_TYPE_FREE; in rtl_arena_segment_create()
581 QUEUE_INSERT_HEAD_NAMED(span, (*ppSegment), s); in rtl_arena_segment_create()
588 rtl_arena_segment_put (arena, ppSegment); in rtl_arena_segment_create()