Lines Matching refs:prev
49 memory_header *prev; member
91 (size_t) hdr, (size_t) hdr->prev, (size_t) hdr->next, in debug_header()
148 if (hdr->prev != NULL && hdr->prev == hdr->next) { in verify_header()
177 if (heap.first->prev != NULL) { in verify_chain()
196 if (cur->prev != prv) { in verify_chain()
313 new->prev = cur; in buffer_alloc_calloc()
323 new->next->prev = new; in buffer_alloc_calloc()
419 if (hdr->prev != NULL && hdr->prev->alloc == 0) { in buffer_alloc_free()
423 hdr->prev->size += sizeof(memory_header) + hdr->size; in buffer_alloc_free()
424 hdr->prev->next = hdr->next; in buffer_alloc_free()
426 hdr = hdr->prev; in buffer_alloc_free()
429 hdr->next->prev = hdr; in buffer_alloc_free()
471 hdr->next->prev = hdr; in buffer_alloc_free()