Home
last modified time | relevance | path

Searched refs:mem_head (Results 1 – 2 of 2) sorted by relevance

/Zephyr-Core-2.7.6/subsys/bluetooth/controller/util/
Dmem.c16 void **mem_head) in mem_init() argument
18 *mem_head = mem_pool; in mem_init()
40 void *mem_acquire(void **mem_head) in mem_acquire() argument
42 if (*mem_head) { in mem_acquire()
48 free_count = *((uint16_t *)MROUND((uint8_t *)*mem_head + in mem_acquire()
49 sizeof(mem_head))); in mem_acquire()
52 mem = *mem_head; in mem_acquire()
61 *mem_head = head; in mem_acquire()
68 void mem_release(void *mem, void **mem_head) in mem_release() argument
73 if (*mem_head) { in mem_release()
[all …]
Dmem.h40 void mem_init(void *mem_pool, uint16_t mem_size, uint16_t mem_count, void **mem_head);
41 void *mem_acquire(void **mem_head);
42 void mem_release(void *mem, void **mem_head);
44 uint16_t mem_free_count_get(void *mem_head);