Home
last modified time | relevance | path

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

/Zephyr-Core-3.4.0/lib/os/
Dheap.h62 typedef uint32_t chunksz_t; typedef
80 static inline bool big_heap_chunks(chunksz_t chunks) in big_heap_chunks()
142 static inline chunksz_t chunk_size(struct z_heap *h, chunkid_t c) in chunk_size()
172 static inline void set_chunk_size(struct z_heap *h, chunkid_t c, chunksz_t size) in set_chunk_size()
210 chunksz_t size) in set_left_chunk_size()
230 static inline chunksz_t chunksz(size_t bytes) in chunksz()
235 static inline chunksz_t bytes_to_chunksz(struct z_heap *h, size_t bytes) in bytes_to_chunksz()
240 static inline chunksz_t min_chunk_size(struct z_heap *h) in min_chunk_size()
245 static inline size_t chunksz_to_bytes(struct z_heap *h, chunksz_t chunksz_in) in chunksz_to_bytes()
250 static inline int bucket_idx(struct z_heap *h, chunksz_t sz) in bucket_idx()
Dheap.c114 chunksz_t sz0 = chunk_size(h, lc); in split_chunks()
115 chunksz_t lsz = rc - lc; in split_chunks()
116 chunksz_t rsz = sz0 - lsz; in split_chunks()
127 chunksz_t newsz = chunk_size(h, lc) + chunk_size(h, rc); in merge_chunks()
211 static chunkid_t alloc_chunk(struct z_heap *h, chunksz_t sz) in alloc_chunk()
272 chunksz_t chunk_sz = bytes_to_chunksz(h, bytes); in sys_heap_alloc()
335 chunksz_t padded_sz = bytes_to_chunksz(h, bytes + align - gap); in sys_heap_aligned_alloc()
402 chunksz_t chunks_need = bytes_to_chunksz(h, bytes + align_gap); in sys_heap_aligned_realloc()
435 chunksz_t split_size = chunks_need - chunk_size(h, c); in sys_heap_aligned_realloc()
504 chunksz_t heap_sz = (end - addr) / CHUNK_UNIT; in sys_heap_init()
[all …]
Dheap-validate.c364 chunksz_t largest = 0; in heap_print_info()