Home
last modified time | relevance | path

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

/Zephyr-latest/subsys/net/lib/websocket/
Dwebsocket.c52 static struct k_sem contexts_lock; variable
110 k_sem_take(&contexts_lock, K_FOREVER); in websocket_get()
122 k_sem_give(&contexts_lock); in websocket_get()
132 k_sem_take(&contexts_lock, K_FOREVER); in websocket_find()
147 k_sem_give(&contexts_lock); in websocket_find()
1219 k_sem_take(&contexts_lock, K_FOREVER); in websocket_search()
1234 k_sem_give(&contexts_lock); in websocket_search()
1281 k_sem_take(&contexts_lock, K_FOREVER); in websocket_context_foreach()
1295 k_sem_give(&contexts_lock); in websocket_context_foreach()
1300 k_sem_init(&contexts_lock, 1, K_SEM_MAX_LIMIT); in websocket_init()
/Zephyr-latest/subsys/net/ip/
Dnet_context.c86 static struct k_sem contexts_lock; variable
528 k_sem_take(&contexts_lock, K_FOREVER); in net_context_get()
616 k_sem_give(&contexts_lock); in net_context_get()
3770 k_sem_take(&contexts_lock, K_FOREVER); in net_context_foreach()
3784 k_sem_give(&contexts_lock); in net_context_foreach()
3805 k_sem_init(&contexts_lock, 1, K_SEM_MAX_LIMIT); in net_context_init()