Home
last modified time | relevance | path

Searched refs:chunks_need (Results 1 – 1 of 1) sorted by relevance

/Zephyr-Core-3.7.0/lib/heap/
Dheap.c402 chunksz_t chunks_need = bytes_to_chunksz(h, bytes + align_gap); in sys_heap_aligned_realloc() local
406 } else if (chunk_size(h, c) == chunks_need) { in sys_heap_aligned_realloc()
409 } else if (chunk_size(h, c) > chunks_need) { in sys_heap_aligned_realloc()
417 (chunk_size(h, c) - chunks_need) * CHUNK_UNIT; in sys_heap_aligned_realloc()
420 split_chunks(h, c, c + chunks_need); in sys_heap_aligned_realloc()
422 free_chunk(h, c + chunks_need); in sys_heap_aligned_realloc()
433 (chunk_size(h, c) + chunk_size(h, rc) >= chunks_need)) { in sys_heap_aligned_realloc()
435 chunksz_t split_size = chunks_need - chunk_size(h, c); in sys_heap_aligned_realloc()