Searched refs:z_heap (Results 1 – 5 of 5) sorted by relevance
/Zephyr-latest/lib/heap/ |
D | heap.h | 68 struct z_heap { struct 96 static inline bool big_heap(struct z_heap *h) in big_heap() argument 101 static inline chunk_unit_t *chunk_buf(struct z_heap *h) in chunk_buf() 107 static inline chunkid_t chunk_field(struct z_heap *h, chunkid_t c, in chunk_field() 120 static inline void chunk_set(struct z_heap *h, chunkid_t c, in chunk_set() 137 static inline bool chunk_used(struct z_heap *h, chunkid_t c) in chunk_used() 142 static inline chunksz_t chunk_size(struct z_heap *h, chunkid_t c) in chunk_size() 147 static inline void set_chunk_used(struct z_heap *h, chunkid_t c, bool used) in set_chunk_used() 172 static inline void set_chunk_size(struct z_heap *h, chunkid_t c, chunksz_t size) in set_chunk_size() 177 static inline chunkid_t prev_free_chunk(struct z_heap *h, chunkid_t c) in prev_free_chunk() [all …]
|
D | heap.c | 17 static inline void increase_allocated_bytes(struct z_heap *h, size_t num_bytes) in increase_allocated_bytes() 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() 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() 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() [all …]
|
D | heap_validate.c | 23 static bool in_bounds(struct z_heap *h, chunkid_t c) in in_bounds() 31 static bool valid_chunk(struct z_heap *h, chunkid_t c) in valid_chunk() 55 static inline void check_nexts(struct z_heap *h, int bidx) in check_nexts() 73 struct z_heap *h = heap->heap; in sys_heap_validate()
|
D | heap_info.c | 14 static void heap_print_info(struct z_heap *h, bool dump_chunks) in heap_print_info()
|
/Zephyr-latest/include/zephyr/sys/ |
D | sys_heap.h | 58 struct z_heap *heap;
|