Searched refs:mem_count (Results 1 – 2 of 2) sorted by relevance
15 void mem_init(void *mem_pool, uint16_t mem_size, uint16_t mem_count, in mem_init() argument23 *((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()
40 void mem_init(void *mem_pool, uint16_t mem_size, uint16_t mem_count, void **mem_head);