• Home
  • Raw
  • Download

Lines Matching refs:next_free

53     memory_header   *next_free;  member
96 (size_t) hdr->prev_free, (size_t) hdr->next_free ); in debug_header()
123 cur = cur->next_free; in debug_chain()
162 if( hdr->prev_free != NULL && hdr->prev_free == hdr->next_free ) in verify_header()
258 cur = cur->next_free; in buffer_alloc_calloc()
287 cur->prev_free->next_free = cur->next_free; in buffer_alloc_calloc()
289 heap.first_free = cur->next_free; in buffer_alloc_calloc()
291 if( cur->next_free != NULL ) in buffer_alloc_calloc()
292 cur->next_free->prev_free = cur->prev_free; in buffer_alloc_calloc()
295 cur->next_free = NULL; in buffer_alloc_calloc()
337 new->next_free = cur->next_free; in buffer_alloc_calloc()
339 new->prev_free->next_free = new; in buffer_alloc_calloc()
343 if( new->next_free != NULL ) in buffer_alloc_calloc()
344 new->next_free->prev_free = new; in buffer_alloc_calloc()
350 cur->next_free = NULL; in buffer_alloc_calloc()
449 if( hdr->prev_free != NULL || hdr->next_free != NULL ) in buffer_alloc_free()
452 hdr->prev_free->next_free = hdr->next_free; in buffer_alloc_free()
454 heap.first_free = hdr->next_free; in buffer_alloc_free()
456 if( hdr->next_free != NULL ) in buffer_alloc_free()
457 hdr->next_free->prev_free = hdr->prev_free; in buffer_alloc_free()
461 hdr->next_free = old->next_free; in buffer_alloc_free()
464 hdr->prev_free->next_free = hdr; in buffer_alloc_free()
468 if( hdr->next_free != NULL ) in buffer_alloc_free()
469 hdr->next_free->prev_free = hdr; in buffer_alloc_free()
482 hdr->next_free = heap.first_free; in buffer_alloc_free()