Home
last modified time | relevance | path

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

/Zephyr-Core-2.7.6/lib/os/
Dheap.c336 chunksz_t chunks_need = bytes_to_chunksz(h, bytes + align_gap); in sys_heap_aligned_realloc() local
340 } else if (chunk_size(h, c) == chunks_need) { in sys_heap_aligned_realloc()
343 } else if (chunk_size(h, c) > chunks_need) { in sys_heap_aligned_realloc()
345 split_chunks(h, c, c + chunks_need); in sys_heap_aligned_realloc()
347 free_chunk(h, c + chunks_need); in sys_heap_aligned_realloc()
350 (chunk_size(h, c) + chunk_size(h, rc) >= chunks_need)) { in sys_heap_aligned_realloc()
352 chunkid_t split_size = chunks_need - chunk_size(h, c); in sys_heap_aligned_realloc()