6#ifndef __ZEPHYR_OBJPOOL_H__
7#define __ZEPHYR_OBJPOOL_H__
uint32_t data[]
Definition debug_stream_slot.h:2
#define list_item(item, type, member)
Definition list.h:80
void * objpool_alloc(struct objpool_head *head, size_t size, uint32_t flags)
Allocate memory tracked as part of an object pool.
bool(* objpool_iterate_cb)(void *data, void *arg)
Definition objpool.h:66
int objpool_free(struct objpool_head *head, void *data)
Return a block to the object pool.
int objpool_iterate(struct objpool_head *head, objpool_iterate_cb cb, void *arg)
Iterate over object pool entries until stopped.
void objpool_prune(struct objpool_head *head)
Free all of the object pool memory.
struct list_item list
Definition objpool.h:18
struct vregion * vreg
Definition objpool.h:19
struct k_heap * heap
Definition objpool.h:20
uint32_t flags
Definition objpool.h:21