Lines Matching refs:next
61 memory_header *next; member
103 (size_t) hdr, (size_t) hdr->prev, (size_t) hdr->next, in debug_header()
124 cur = cur->next; in debug_chain()
164 if( hdr->prev != NULL && hdr->prev == hdr->next ) in verify_header()
185 memory_header *prv = heap.first, *cur = heap.first->next; in verify_chain()
226 cur = cur->next; in verify_chain()
329 new->next = cur->next; in buffer_alloc_calloc()
337 if( new->next != NULL ) in buffer_alloc_calloc()
338 new->next->prev = new; in buffer_alloc_calloc()
354 cur->next = new; in buffer_alloc_calloc()
434 hdr->prev->next = hdr->next; in buffer_alloc_free()
438 if( hdr->next != NULL ) in buffer_alloc_free()
439 hdr->next->prev = hdr; in buffer_alloc_free()
446 if( hdr->next != NULL && hdr->next->alloc == 0 ) in buffer_alloc_free()
451 hdr->size += sizeof(memory_header) + hdr->next->size; in buffer_alloc_free()
452 old = hdr->next; in buffer_alloc_free()
453 hdr->next = hdr->next->next; in buffer_alloc_free()
477 if( hdr->next != NULL ) in buffer_alloc_free()
478 hdr->next->prev = hdr; in buffer_alloc_free()
520 if( heap.first->next == NULL ) in mbedtls_memory_buffer_alloc_status()