Home
last modified time | relevance | path

Searched refs:mempool (Results 1 – 4 of 4) sorted by relevance

/optee_os-3.20.0/lib/libutils/ext/include/
A Dmempool.h29 struct mempool;
37 extern struct mempool *mempool_default;
49 struct mempool *mempool_alloc_pool(void *data, size_t size,
58 void *mempool_alloc(struct mempool *pool, size_t size);
68 void *mempool_calloc(struct mempool *pool, size_t nmemb, size_t size);
75 void mempool_free(struct mempool *pool, void *ptr);
/optee_os-3.20.0/lib/libutils/ext/
A Dmempool.c55 struct mempool { struct
69 struct mempool *mempool_default; argument
72 static void init_mpool(struct mempool *pool) in init_mpool()
90 static void get_pool(struct mempool *pool __maybe_unused) in get_pool()
100 static void put_pool(struct mempool *pool __maybe_unused) in put_pool()
117 struct mempool *
121 struct mempool *pool = calloc(1, sizeof(*pool)); in mempool_alloc_pool()
140 void *mempool_alloc(struct mempool *pool, size_t size) in mempool_alloc()
166 void *mempool_calloc(struct mempool *pool, size_t nmemb, size_t size) in mempool_calloc()
181 void mempool_free(struct mempool *pool, void *ptr) in mempool_free()
A Dsub.mk7 srcs-y += mempool.c
/optee_os-3.20.0/core/lib/libtomcrypt/
A Dmpi_desc.c31 static struct mempool *get_mp_scratch_memory_pool(void) in get_mp_scratch_memory_pool()
44 static struct mempool *get_mp_scratch_memory_pool(void) in get_mp_scratch_memory_pool()
54 struct mempool *p = get_mp_scratch_memory_pool(); in init_mp_tomcrypt()

Completed in 5 milliseconds