Searched refs:chunk_sz (Results 1 – 1 of 1) sorted by relevance
206 size_t chunk_sz = chunk_size(h, c) * CHUNK_UNIT; in sys_heap_usable_size() local208 return chunk_sz - (addr - chunk_base); in sys_heap_usable_size()272 chunksz_t chunk_sz = bytes_to_chunksz(h, bytes); in sys_heap_alloc() local273 chunkid_t c = alloc_chunk(h, chunk_sz); in sys_heap_alloc()279 if (chunk_size(h, c) > chunk_sz) { in sys_heap_alloc()280 split_chunks(h, c, c + chunk_sz); in sys_heap_alloc()281 free_list_add(h, c + chunk_sz); in sys_heap_alloc()