Searched refs:tls_contexts (Results 1 – 1 of 1) sorted by relevance
249 static struct tls_context tls_contexts[CONFIG_NET_SOCKETS_TLS_MAX_CONTEXTS]; variable278 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()