Home
last modified time | relevance | path

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

12

/Zephyr-latest/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-latest/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()
Dpmtu.c40 if (!entry->in_use) { in pmtu_cb()
/Zephyr-latest/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.h34 bool in_use; member
Dcrypto_intel_sha_priv.h80 bool in_use; member
Dcrypto_stm32.c315 if (!crypto_stm32_sessions[i].in_use) { in crypto_stm32_get_unused_session_index()
316 crypto_stm32_sessions[i].in_use = true; in crypto_stm32_get_unused_session_index()
388 session->in_use = false; in crypto_stm32_session_setup()
484 session->in_use = false; in crypto_stm32_session_free()
490 if (crypto_stm32_sessions[i].in_use) { in crypto_stm32_session_free()
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()
/Zephyr-latest/subsys/net/ip/
Dpmtu.c87 if (!pmtu_entries[i].in_use) { in get_free_pmtu_entry()
88 pmtu_entries[i].in_use = true; in get_free_pmtu_entry()
194 entry->in_use = false; in add_entry()
204 entry->in_use = false; in add_entry()
210 entry->in_use = false; in add_entry()
284 pmtu_entries[i].in_use = false; in net_pmtu_init()
Dpmtu.h28 bool in_use : 1; member
/Zephyr-latest/modules/nrf_wifi/os/
Dwork.c44 if (zep_work_item[i].in_use) { in get_free_work_item_index()
69 zep_work_item[free_work_index].in_use = true; in work_alloc()
159 item->in_use = 0; in work_free()
Dwork.h26 bool in_use; member
/Zephyr-latest/samples/subsys/shell/shell_module/src/
Dmain.c245 static bool in_use; in set_bypass() local
247 if (bypass && in_use) { in set_bypass()
253 in_use = !in_use; in set_bypass()
254 if (in_use) { in set_bypass()
256 in_use = true; in set_bypass()
/Zephyr-latest/subsys/shell/modules/
Ddevmem_service.c153 static bool in_use; in set_bypass() local
155 if (bypass && in_use) { in set_bypass()
161 in_use = !in_use; in set_bypass()
162 if (in_use) { in set_bypass()
164 in_use = true; in set_bypass()
/Zephyr-latest/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.c38 bool in_use; member
174 chan->in_use = false; in disconnected_cb()
219 if (channels[i].in_use) { in get_free_channel()
228 channels[i].in_use = true; in get_free_channel()
305 channels[BT_L2CAP_LE_CHAN(allocated_channels[i])->ident].in_use = false; in connect()
577 if (!chan->in_use) { in credits()
/Zephyr-latest/tests/bluetooth/tester/src/audio/
Dbtp_bap_unicast.h27 bool in_use; member
38 bool in_use; member
/Zephyr-latest/subsys/net/lib/capture/
Dcapture.c90 bool in_use : 1; member
124 if (!ctx->in_use) { in net_capture_foreach()
152 if (ctx->in_use) { in alloc_capture_dev()
157 ctx->in_use = true; in alloc_capture_dev()
461 ctx->in_use = false; in capture_cleanup()
534 if (!ctx->in_use || !ctx->is_enabled || in net_capture_pkt_with_status()
618 if (!ctx->in_use) { in capture_send()
/Zephyr-latest/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()

12