Searched refs:mempool (Results 1 – 4 of 4) sorted by relevance
| /optee_os/lib/libutils/ext/include/ |
| H A D | mempool.h | 29 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/lib/libutils/ext/ |
| H A D | mempool.c | 56 struct mempool { struct 70 struct mempool *mempool_default; argument 73 static void init_mpool(struct mempool *pool) in init_mpool() 91 static void get_pool(struct mempool *pool __maybe_unused) in get_pool() 101 static void put_pool(struct mempool *pool __maybe_unused) in put_pool() 118 struct mempool * 122 struct mempool *pool = calloc(1, sizeof(*pool)); in mempool_alloc_pool() 141 void *mempool_alloc(struct mempool *pool, size_t size) in mempool_alloc() 167 void *mempool_calloc(struct mempool *pool, size_t nmemb, size_t size) in mempool_calloc() 182 void mempool_free(struct mempool *pool, void *ptr) in mempool_free()
|
| H A D | sub.mk | 7 srcs-y += mempool.c
|
| /optee_os/core/lib/libtomcrypt/ |
| H A D | mpi_desc.c | 31 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()
|