Home
last modified time | relevance | path

Searched refs:in_use (Results 1 – 25 of 35) sorted by relevance

12

/Zephyr-Core-3.7.0/subsys/net/lib/dns/
Ddns_cache.c18 cache->entries[i].in_use = false; in dns_cache_flush()
50 if (!cache->entries[i].in_use) { in dns_cache_add()
68 cache->entries[index_to_replace].in_use = true; in dns_cache_add()
90 if (cache->entries[i].in_use && strcmp(cache->entries[i].query, query) == 0) { in dns_cache_remove()
91 cache->entries[i].in_use = false; in dns_cache_remove()
121 if (!cache->entries[i].in_use) { in dns_cache_find()
153 if (!cache->entries[i].in_use) { in dns_cache_clean()
159 cache->entries[i].in_use = false; in dns_cache_clean()
Ddns_cache.h25 bool in_use; member
/Zephyr-Core-3.7.0/subsys/net/lib/shell/
Dallocs.c20 bool in_use, in allocs_cb() argument
27 if (in_use) { in allocs_cb()
42 if (in_use) { in allocs_cb()
60 if (in_use) { in allocs_cb()
/Zephyr-Core-3.7.0/drivers/crypto/
Dcrypto_nrf_ecb.c27 bool in_use; member
73 drv_state.in_use = false; in nrf_ecb_driver_init()
106 if (drv_state.in_use) { in nrf_ecb_session_setup()
111 drv_state.in_use = true; in nrf_ecb_session_setup()
130 drv_state.in_use = false; in nrf_ecb_session_free()
Dcrypto_npcx_sha.c65 bool in_use; member
75 if (!npcx_sessions[i].in_use) { in npcx_get_unused_session_index()
76 npcx_sessions[i].in_use = true; in npcx_get_unused_session_index()
181 npcx_session->in_use = false; in npcx_hash_session_free()
Dcrypto_tc_shim_priv.h23 int in_use; member
Dcrypto_tc_shim.c184 if (tc_driver_state[i].in_use == 0) { in get_unused_session()
185 tc_driver_state[i].in_use = 1; in get_unused_session()
279 tc_driver_state[idx].in_use = 0; in tc_session_setup()
300 data->in_use = 0; in tc_session_free()
311 tc_driver_state[i].in_use = 0; in tc_shim_init()
Dcrypto_mtls_shim.c49 bool in_use; member
305 if (!mtls_sessions[i].in_use) { in mtls_get_unused_session_index()
306 mtls_sessions[i].in_use = true; in mtls_get_unused_session_index()
375 mtls_sessions[ctx_idx].in_use = false; in mtls_session_setup()
394 mtls_sessions[ctx_idx].in_use = false; in mtls_session_setup()
405 mtls_sessions[ctx_idx].in_use = false; in mtls_session_setup()
423 mtls_sessions[ctx_idx].in_use = false; in mtls_session_setup()
436 mtls_sessions[ctx_idx].in_use = false; in mtls_session_setup()
460 mtls_session->in_use = false; in mtls_session_free()
591 mtls_session->in_use = false; in mtls_hash_session_free()
Dcrypto_mcux_dcp.c28 bool in_use; member
59 if (!data->sessions[i].in_use) { in get_session()
60 data->sessions[i].in_use = true; in get_session()
71 session->in_use = false; in free_session()
325 data->sessions[i].in_use = false; in crypto_dcp_init()
Dcrypto_stm32_priv.h28 bool in_use; member
Dcrypto_stm32.c279 if (!crypto_stm32_sessions[i].in_use) { in crypto_stm32_get_unused_session_index()
280 crypto_stm32_sessions[i].in_use = true; in crypto_stm32_get_unused_session_index()
351 session->in_use = false; in crypto_stm32_session_setup()
431 session->in_use = false; in crypto_stm32_session_free()
437 if (crypto_stm32_sessions[i].in_use) { in crypto_stm32_session_free()
Dcrypto_intel_sha_priv.h80 bool in_use; member
Dcrypto_intel_sha.c24 if (!sha_sessions[i].in_use) { in intel_sha_get_unused_session_idx()
25 sha_sessions[i].in_use = true; in intel_sha_get_unused_session_idx()
318 session->in_use = 0; in intel_sha_device_free()
Dcrypto_smartbond.c89 static bool in_use; variable
142 if (!in_use) { in crypto_smartbond_lock_session()
143 in_use = true; in crypto_smartbond_lock_session()
162 if (in_use) { in crypto_smartbond_unlock_session()
163 in_use = false; in crypto_smartbond_unlock_session()
/Zephyr-Core-3.7.0/subsys/shell/modules/
Ddevmem_service.c155 static bool in_use; in set_bypass() local
157 if (bypass && in_use) { in set_bypass()
163 in_use = !in_use; in set_bypass()
164 if (in_use) { in set_bypass()
166 in_use = true; in set_bypass()
/Zephyr-Core-3.7.0/samples/subsys/shell/shell_module/src/
Dmain.c294 static bool in_use; in set_bypass() local
296 if (bypass && in_use) { in set_bypass()
302 in_use = !in_use; in set_bypass()
303 if (in_use) { in set_bypass()
305 in_use = true; in set_bypass()
/Zephyr-Core-3.7.0/tests/bluetooth/tester/src/
Dbtp_ots.c25 bool in_use; member
56 if (!objects[i].in_use) { in get_object()
57 objects[i].in_use = true; in get_object()
172 if (obj->in_use) { in ots_obj_created()
176 obj->in_use = false; in ots_obj_created()
Dbtp_l2cap.c36 bool in_use; member
136 chan->in_use = false; in disconnected_cb()
177 if (channels[i].in_use) { in get_free_channel()
186 channels[i].in_use = true; in get_free_channel()
258 channels[BT_L2CAP_LE_CHAN(allocated_channels[i])->ident].in_use = false; in connect()
523 if (!chan->in_use) { in credits()
/Zephyr-Core-3.7.0/tests/bluetooth/tester/src/audio/
Dbtp_bap_unicast.h23 bool in_use; member
34 bool in_use; member
/Zephyr-Core-3.7.0/subsys/net/lib/capture/
Dcapture.c88 bool in_use : 1; member
122 if (!ctx->in_use) { in net_capture_foreach()
150 if (ctx->in_use) { in alloc_capture_dev()
155 ctx->in_use = true; in alloc_capture_dev()
459 ctx->in_use = false; in capture_cleanup()
532 if (!ctx->in_use || !ctx->is_enabled || in net_capture_pkt_with_status()
616 if (!ctx->in_use) { in capture_send()
/Zephyr-Core-3.7.0/tests/bsim/bluetooth/host/l2cap/general/src/
Dmain_l2cap_ecred.c46 bool in_use; member
157 chan->in_use = false; in chan_disconnected_cb()
209 if (chan->in_use) { in get_free_channel()
214 channels[idx].in_use = true; in get_free_channel()
253 if (channels[i].in_use) { in disconnect_all_channels()
261 channels[i].in_use = false; in disconnect_all_channels()
/Zephyr-Core-3.7.0/samples/net/sockets/http_server/src/
Dws.c95 bool *in_use = ptr3; in ws_handler() local
175 *in_use = false; in ws_handler()
/Zephyr-Core-3.7.0/subsys/bluetooth/host/
Dkeys.c46 bool in_use; member
66 kdata->in_use = true; in find_key_in_use()
79 return kdata.in_use; in key_is_in_use()
/Zephyr-Core-3.7.0/samples/net/sockets/dumb_http_server_mt/src/
Dmain.c198 k_tid_t *in_use = ptr3; in client_conn_handler() local
250 *in_use = NULL; in client_conn_handler()
/Zephyr-Core-3.7.0/drivers/flash/
Dflash_shell.c527 static bool in_use; in set_bypass() local
529 if (bypass && in_use) { in set_bypass()
536 in_use = bypass != NULL; in set_bypass()
538 if (in_use) { in set_bypass()

12