Home
last modified time | relevance | path

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

/Zephyr-Core-2.7.6/subsys/bluetooth/controller/util/
Dmem.c15 void mem_init(void *mem_pool, uint16_t mem_size, uint16_t mem_count, in mem_init() argument
23 *((uint16_t *)MROUND((uint8_t *)mem_pool + sizeof(mem_pool))) = mem_count; in mem_init()
28 (void)memset(((uint8_t *)mem_pool + (mem_size * (--mem_count))), 0, in mem_init()
30 while (mem_count--) { in mem_init()
34 (mem_size * (mem_count + 1))); in mem_init()
35 memcpy(((uint8_t *)mem_pool + (mem_size * mem_count)), in mem_init()
Dmem.h40 void mem_init(void *mem_pool, uint16_t mem_size, uint16_t mem_count, void **mem_head);