Home
last modified time | relevance | path

Searched refs:pool (Results 1 – 3 of 3) sorted by relevance

/trusted-services/components/service/crypto/provider/
A Dcrypto_context_pool.c21 pool->free = NULL; in crypto_context_pool_init()
22 pool->active_head = NULL; in crypto_context_pool_init()
23 pool->active_tail = NULL; in crypto_context_pool_init()
28 add_to_free_list(pool, &pool->contexts[i]); in crypto_context_pool_init()
34 (void)pool; in crypto_context_pool_deinit()
45 if (!pool->free && pool->active_tail) crypto_context_pool_free(pool, pool->active_tail); in crypto_context_pool_alloc()
48 if (pool->free) { in crypto_context_pool_alloc()
50 context = pool->free; in crypto_context_pool_alloc()
51 pool->free = context->next; in crypto_context_pool_alloc()
57 if (!pool->active_tail) pool->active_tail = context; in crypto_context_pool_alloc()
[all …]
A Dcrypto_context_pool.h86 void crypto_context_pool_init(struct crypto_context_pool *pool);
91 void crypto_context_pool_deinit(struct crypto_context_pool *pool);
98 struct crypto_context *crypto_context_pool_alloc(struct crypto_context_pool *pool,
106 void crypto_context_pool_free(struct crypto_context_pool *pool,
112 struct crypto_context *crypto_context_pool_find(struct crypto_context_pool *pool,
/trusted-services/docs/services/fwu/
A Dfwu-service-description.rst267 … - Manages a pool of stream objects for client initiated stream read and write operations. Streams

Completed in 10 milliseconds