Searched refs:heap_id (Results 1 – 6 of 6) sorted by relevance
/Zephyr-latest/include/zephyr/sys/ |
D | heap_listener.h | 51 typedef void (*heap_listener_resize_cb_t)(uintptr_t heap_id, 71 typedef void (*heap_listener_alloc_cb_t)(uintptr_t heap_id, 90 typedef void (*heap_listener_free_cb_t)(uintptr_t heap_id, 103 uintptr_t heap_id; member 148 void heap_listener_notify_alloc(uintptr_t heap_id, void *mem, size_t bytes); 160 void heap_listener_notify_free(uintptr_t heap_id, void *mem, size_t bytes); 172 void heap_listener_notify_resize(uintptr_t heap_id, void *old_heap_end, void *new_heap_end); 210 .heap_id = _heap_id, \ 236 .heap_id = _heap_id, \ 262 .heap_id = _heap_id, \ [all …]
|
/Zephyr-latest/lib/heap/ |
D | heap_listener.c | 31 void heap_listener_notify_alloc(uintptr_t heap_id, void *mem, size_t bytes) in heap_listener_notify_alloc() argument 37 if (listener->heap_id == heap_id in heap_listener_notify_alloc() 40 listener->alloc_cb(heap_id, mem, bytes); in heap_listener_notify_alloc() 47 void heap_listener_notify_free(uintptr_t heap_id, void *mem, size_t bytes) in heap_listener_notify_free() argument 53 if (listener->heap_id == heap_id in heap_listener_notify_free() 56 listener->free_cb(heap_id, mem, bytes); in heap_listener_notify_free() 63 void heap_listener_notify_resize(uintptr_t heap_id, void *old_heap_end, void *new_heap_end) in heap_listener_notify_resize() argument 69 if (listener->heap_id == heap_id in heap_listener_notify_resize() 72 listener->resize_cb(heap_id, old_heap_end, new_heap_end); in heap_listener_notify_resize()
|
/Zephyr-latest/tests/lib/newlib/heap_listener/src/ |
D | main.c | 29 static void heap_resized(uintptr_t heap_id, void *old_heap_end, void *new_heap_end) in heap_resized() argument 31 ARG_UNUSED(heap_id); in heap_resized()
|
/Zephyr-latest/tests/lib/heap/src/ |
D | main.c | 395 static void heap_alloc_cb(uintptr_t heap_id, void *mem, size_t bytes) in heap_alloc_cb() argument 397 listener_heap_id = heap_id; in heap_alloc_cb() 401 heap_id, mem, (uint32_t)bytes); in heap_alloc_cb() 404 static void heap_free_cb(uintptr_t heap_id, void *mem, size_t bytes) in heap_free_cb() argument 406 listener_heap_id = heap_id; in heap_free_cb() 410 heap_id, mem, (uint32_t)bytes); in heap_free_cb()
|
/Zephyr-latest/samples/subsys/zbus/msg_subscriber/src/ |
D | main.c | 15 void on_heap_alloc(uintptr_t heap_id, void *mem, size_t bytes) in on_heap_alloc() argument 22 void on_heap_free(uintptr_t heap_id, void *mem, size_t bytes) in on_heap_free() argument
|
/Zephyr-latest/tests/lib/mem_blocks/src/ |
D | main.c | 84 static void mem_block_alloc_free_cb(uintptr_t heap_id, void *mem, size_t bytes) in mem_block_alloc_free_cb() argument 86 listener_heap_id[listener_idx] = heap_id; in mem_block_alloc_free_cb() 92 listener_idx, heap_id, mem, (uint32_t)bytes); in mem_block_alloc_free_cb()
|