Searched refs:mem_head (Results 1 – 2 of 2) sorted by relevance
16 void **mem_head) in mem_init() argument18 *mem_head = mem_pool; in mem_init()40 void *mem_acquire(void **mem_head) in mem_acquire() argument42 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() argument73 if (*mem_head) { in mem_release()[all …]
40 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);