Home
last modified time | relevance | path

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

/Zephyr-latest/subsys/net/lib/sockets/
Dsockets_tls.c249 static struct tls_context tls_contexts[CONFIG_NET_SOCKETS_TLS_MAX_CONTEXTS]; variable
278 return PART_OF_ARRAY(tls_contexts, (struct tls_context *)obj); in net_socket_is_tls()
367 (void)memset(tls_contexts, 0, sizeof(tls_contexts)); in tls_init()
447 for (i = 0; i < ARRAY_SIZE(tls_contexts); i++) { in tls_alloc()
448 if (!tls_contexts[i].is_used) { in tls_alloc()
449 tls = &tls_contexts[i]; in tls_alloc()
524 if (!PART_OF_ARRAY(tls_contexts, tls)) { in tls_release()