Searched refs:z_heap (Results 1 – 4 of 4) sorted by relevance
/Zephyr-Core-2.7.6/lib/os/ |
D | heap.h | 68 struct z_heap { struct 85 static inline bool big_heap(struct z_heap *h) in big_heap() argument 90 static inline chunk_unit_t *chunk_buf(struct z_heap *h) in chunk_buf() 96 static inline chunkid_t chunk_field(struct z_heap *h, chunkid_t c, in chunk_field() 109 static inline void chunk_set(struct z_heap *h, chunkid_t c, in chunk_set() 126 static inline bool chunk_used(struct z_heap *h, chunkid_t c) in chunk_used() 131 static inline chunksz_t chunk_size(struct z_heap *h, chunkid_t c) in chunk_size() 136 static inline void set_chunk_used(struct z_heap *h, chunkid_t c, bool used) in set_chunk_used() 161 static inline void set_chunk_size(struct z_heap *h, chunkid_t c, chunksz_t size) in set_chunk_size() 166 static inline chunkid_t prev_free_chunk(struct z_heap *h, chunkid_t c) in prev_free_chunk() [all …]
|
D | heap.c | 11 static void *chunk_mem(struct z_heap *h, chunkid_t c) in chunk_mem() 21 static void free_list_remove_bidx(struct z_heap *h, chunkid_t c, int bidx) in free_list_remove_bidx() 43 static void free_list_remove(struct z_heap *h, chunkid_t c) in free_list_remove() 51 static void free_list_add_bidx(struct z_heap *h, chunkid_t c, int bidx) in free_list_add_bidx() 77 static void free_list_add(struct z_heap *h, chunkid_t c) in free_list_add() 88 static void split_chunks(struct z_heap *h, chunkid_t lc, chunkid_t rc) in split_chunks() 104 static void merge_chunks(struct z_heap *h, chunkid_t lc, chunkid_t rc) in merge_chunks() 112 static void free_chunk(struct z_heap *h, chunkid_t c) in free_chunk() 136 static chunkid_t mem_to_chunkid(struct z_heap *h, void *p) in mem_to_chunkid() 147 struct z_heap *h = heap->heap; in sys_heap_free() [all …]
|
D | heap-validate.c | 22 static bool in_bounds(struct z_heap *h, chunkid_t c) in in_bounds() 30 static bool valid_chunk(struct z_heap *h, chunkid_t c) in valid_chunk() 54 static inline void check_nexts(struct z_heap *h, int bidx) in check_nexts() 72 struct z_heap *h = heap->heap; in sys_heap_validate() 315 void heap_print_info(struct z_heap *h, bool dump_chunks) in heap_print_info()
|
/Zephyr-Core-2.7.6/include/sys/ |
D | sys_heap.h | 52 struct z_heap *heap;
|