Home
last modified time | relevance | path

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

/Zephyr-latest/subsys/net/lib/sockets/
Dsockets_inet.c179 static void zsock_accepted_cb(struct net_context *new_ctx, in zsock_accepted_cb() argument
185 NET_DBG("parent=%p, ctx=%p, st=%d", parent, new_ctx, status); in zsock_accepted_cb()
189 (void)net_context_recv(new_ctx, zsock_received_cb, K_NO_WAIT, in zsock_accepted_cb()
191 k_fifo_init(&new_ctx->recv_q); in zsock_accepted_cb()
192 k_condvar_init(&new_ctx->cond.recv); in zsock_accepted_cb()
194 k_fifo_put(&parent->accept_q, new_ctx); in zsock_accepted_cb()
203 net_context_ref(new_ctx); in zsock_accepted_cb()
/Zephyr-latest/tests/bluetooth/audio/codec/src/
Dmain.c550 const enum bt_audio_context new_ctx = BT_AUDIO_CONTEXT_TYPE_NOTIFICATIONS; in ZTEST() local
560 ret = bt_audio_codec_cfg_meta_set_pref_context(&codec_cfg, new_ctx); in ZTEST()
1592 const enum bt_audio_context new_ctx = BT_AUDIO_CONTEXT_TYPE_NOTIFICATIONS; in ZTEST() local
1602 ret = bt_audio_codec_cap_meta_set_pref_context(&codec_cap, new_ctx); in ZTEST()