Lines Matching refs:chunkid_t

24 static void *chunk_mem(struct z_heap *h, chunkid_t c)  in chunk_mem()
34 static void free_list_remove_bidx(struct z_heap *h, chunkid_t c, int bidx) in free_list_remove_bidx()
47 chunkid_t first = prev_free_chunk(h, c), in free_list_remove_bidx()
60 static void free_list_remove(struct z_heap *h, chunkid_t c) in free_list_remove()
68 static void free_list_add_bidx(struct z_heap *h, chunkid_t c, int bidx) in free_list_add_bidx()
84 chunkid_t second = b->next; in free_list_add_bidx()
85 chunkid_t first = prev_free_chunk(h, second); in free_list_add_bidx()
98 static void free_list_add(struct z_heap *h, chunkid_t c) in free_list_add()
109 static void split_chunks(struct z_heap *h, chunkid_t lc, chunkid_t rc) in split_chunks()
125 static void merge_chunks(struct z_heap *h, chunkid_t lc, chunkid_t rc) in merge_chunks()
133 static void free_chunk(struct z_heap *h, chunkid_t c) in free_chunk()
157 static chunkid_t mem_to_chunkid(struct z_heap *h, void *p) in mem_to_chunkid()
169 chunkid_t c = mem_to_chunkid(h, mem); in sys_heap_free()
203 chunkid_t c = mem_to_chunkid(h, mem); in sys_heap_usable_size()
211 static chunkid_t alloc_chunk(struct z_heap *h, chunksz_t sz) in alloc_chunk()
233 chunkid_t first = b->next; in alloc_chunk()
236 chunkid_t c = b->next; in alloc_chunk()
253 chunkid_t c = h->buckets[minbucket].next; in alloc_chunk()
273 chunkid_t c = alloc_chunk(h, chunk_sz); in sys_heap_alloc()
336 chunkid_t c0 = alloc_chunk(h, padded_sz); in sys_heap_aligned_alloc()
348 chunkid_t c = mem_to_chunkid(h, mem); in sys_heap_aligned_alloc()
349 chunkid_t c_end = end - chunk_buf(h); in sys_heap_aligned_alloc()
399 chunkid_t c = mem_to_chunkid(h, ptr); in sys_heap_aligned_realloc()
400 chunkid_t rc = right_chunk(h, c); in sys_heap_aligned_realloc()