Lines Matching refs:prev
60 memory_header *prev; member
103 (size_t) hdr, (size_t) hdr->prev, (size_t) hdr->next, in debug_header()
164 if( hdr->prev != NULL && hdr->prev == hdr->next ) in verify_header()
196 if( heap.first->prev != NULL ) in verify_chain()
216 if( cur->prev != prv ) in verify_chain()
328 new->prev = cur; in buffer_alloc_calloc()
338 new->next->prev = new; in buffer_alloc_calloc()
428 if( hdr->prev != NULL && hdr->prev->alloc == 0 ) in buffer_alloc_free()
433 hdr->prev->size += sizeof(memory_header) + hdr->size; in buffer_alloc_free()
434 hdr->prev->next = hdr->next; in buffer_alloc_free()
436 hdr = hdr->prev; in buffer_alloc_free()
439 hdr->next->prev = hdr; in buffer_alloc_free()
478 hdr->next->prev = hdr; in buffer_alloc_free()