Home
last modified time | relevance | path

Searched refs:k_free (Results 1 – 25 of 63) sorted by relevance

123

/Zephyr-Core-3.5.0/subsys/sip_svc/
Dsip_svc_id_mgr.c37 k_free(id_pool); in sip_svc_id_mgr_create()
48 k_free(id_pool->id_list); in sip_svc_id_mgr_create()
49 k_free(id_pool); in sip_svc_id_mgr_create()
74 k_free(id_pool->id_mask); in sip_svc_id_mgr_delete()
75 k_free(id_pool->id_list); in sip_svc_id_mgr_delete()
76 k_free(id_pool); in sip_svc_id_mgr_delete()
170 k_free(id_map); in sip_svc_id_map_create()
193 k_free(id_map->items); in sip_svc_id_map_delete()
194 k_free(id_map); in sip_svc_id_map_delete()
Dsip_svc_agilex_mailbox_shell.c150 k_free(cmd_addr); in cmd_close()
195 k_free((char *)resp_data); in cmd_send_callback()
226 k_free(*cmd_addr); in parse_mb_data()
234 k_free(*cmd_addr); in parse_mb_data()
237 k_free(*cmd_addr); in parse_mb_data()
294 k_free(cmd_addr); in cmd_send()
320 k_free(cmd_addr); in cmd_send()
321 k_free(resp_addr); in cmd_send()
Dsip_svc_subsys.c441 k_free((char *)data_addr); in sip_svc_callback()
847 k_free(ctrl->async_resp_data); in sip_svc_subsys_init()
854 k_free(ctrl->async_resp_data); in sip_svc_subsys_init()
864 k_free(ctrl->async_resp_data); in sip_svc_subsys_init()
872 k_free(msgq_buf); in sip_svc_subsys_init()
873 k_free(ctrl->async_resp_data); in sip_svc_subsys_init()
902 k_free(msgq_buf); in sip_svc_subsys_init()
903 k_free(ctrl->clients); in sip_svc_subsys_init()
904 k_free(ctrl->async_resp_data); in sip_svc_subsys_init()
/Zephyr-Core-3.5.0/tests/kernel/mem_heap/mheap_api_concept/src/
Dtest_mheap_api.c38 k_free(ptr); in tIsr_malloc_and_free()
94 k_free(block[i]); in ZTEST()
97 k_free(NULL); in ZTEST()
140 k_free(mem); in ZTEST()
162 k_free(r); in ZTEST()
171 k_free(r); in ZTEST()
196 k_free(ptr); in ZTEST()
Dtest_mheap_concept.c50 k_free(block[i]); in ZTEST()
98 k_free(pool_blocks[i]); in ZTEST()
/Zephyr-Core-3.5.0/samples/boards/esp32/spiram_test/src/
Dmain.c51 k_free(m2); in test_heap_caps()
63 k_free(m1); in test_heap_caps()
/Zephyr-Core-3.5.0/kernel/
Dmempool.c43 void k_free(void *ptr) in k_free() function
51 SYS_PORT_TRACING_OBJ_FUNC_ENTER(k_heap_sys, k_free, *heap_ref, heap_ref); in k_free()
55 SYS_PORT_TRACING_OBJ_FUNC_EXIT(k_heap_sys, k_free, *heap_ref, heap_ref); in k_free()
Ddynamic.c158 k_free(stack); in z_impl_k_thread_stack_free()
161 k_free(stack); in z_impl_k_thread_stack_free()
Duserspace.c328 k_free(dyn); in dynamic_object_create()
336 k_free(dyn); in dynamic_object_create()
358 k_free(dyn->data); in dynamic_object_create()
473 k_free(dyn->data); in k_object_free()
474 k_free(dyn); in k_object_free()
575 k_free(dyn->data); in unref_check()
576 k_free(dyn); in unref_check()
/Zephyr-Core-3.5.0/samples/net/sockets/coap_client/src/
Dcoap-client.c124 k_free(data); in process_simple_coap_reply()
191 k_free(data); in send_simple_coap_request()
307 k_free(data); in process_large_coap_reply()
358 k_free(data); in send_large_coap_request()
416 k_free(data); in send_obs_reply_ack()
484 k_free(data); in process_obs_coap_reply()
534 k_free(data); in send_obs_coap_request()
580 k_free(data); in send_obs_reset_coap_request()
/Zephyr-Core-3.5.0/subsys/mgmt/updatehub/
Dshell.c88 k_free(device_id); in cmd_info()
92 k_free(firmware_version); in cmd_info()
Dupdatehub.c355 k_free(data); in send_request()
516 k_free(data); in install_update_cb()
679 k_free(firmware_version); in report()
680 k_free(device_id); in report()
914 k_free(metadata); in z_impl_updatehub_probe()
915 k_free(metadata_copy); in z_impl_updatehub_probe()
916 k_free(firmware_version); in z_impl_updatehub_probe()
917 k_free(device_id); in z_impl_updatehub_probe()
/Zephyr-Core-3.5.0/tests/benchmarks/footprints/src/
Dheap.c27 k_free(allocated_mem); in run_heap_malloc_free()
/Zephyr-Core-3.5.0/lib/posix/
Dmqueue.c176 k_free(mq_name_ptr); in mq_open()
178 k_free(mq_obj_ptr); in mq_open()
180 k_free(mq_desc_ptr); in mq_open()
207 k_free(mqd->mem_desc); in mq_close()
229 k_free(msg_queue->name); in mq_unlink()
437 k_free(msg_queue->mem_buffer); in remove_mq()
438 k_free(msg_queue->mem_obj); in remove_mq()
/Zephyr-Core-3.5.0/subsys/net/lib/sockets/
Dsockets_select.c275 k_free(timeval); in z_vrfy_zsock_select()
276 k_free(readfds_copy); in z_vrfy_zsock_select()
277 k_free(writefds_copy); in z_vrfy_zsock_select()
278 k_free(exceptfds_copy); in z_vrfy_zsock_select()
/Zephyr-Core-3.5.0/modules/fatfs/
Dzfs_ffsystem.c27 k_free(mblock); in ff_memfree()
/Zephyr-Core-3.5.0/samples/net/sockets/coap_server/src/
Dcoap-server.c203 k_free(data); in well_known_core_get()
276 k_free(data); in piggyback_get()
324 k_free(data); in test_del()
379 k_free(data); in test_put()
448 k_free(data); in test_post()
539 k_free(data); in query_get()
600 k_free(data); in location_query_post()
689 k_free(data); in separate_get()
777 k_free(data); in large_get()
867 k_free(data); in large_update_put()
[all …]
/Zephyr-Core-3.5.0/samples/subsys/zbus/dyn_channel/src/
Dconsumer.c32 k_free(dyn_alloc_msg->reference); in consumer_thread()
/Zephyr-Core-3.5.0/tests/benchmarks/latency_measure/src/
Dheap_malloc_free.c46 k_free(allocated_mem); in heap_malloc_free()
/Zephyr-Core-3.5.0/subsys/portability/cmsis_rtos_v2/
Dmempool.c76 k_free(mslab->pool); in osMemoryPoolNew()
242 k_free(mslab->pool); in osMemoryPoolDelete()
/Zephyr-Core-3.5.0/drivers/spi/
Dspi_esp32_spim.c102 k_free(tx_temp); in spi_esp32_transfer()
140 k_free(tx_temp); in spi_esp32_transfer()
141 k_free(rx_temp); in spi_esp32_transfer()
199 k_free(data->hal_config.dmadesc_tx); in spi_esp32_init_dma()
200 k_free(data->hal_config.dmadesc_rx); in spi_esp32_init_dma()
/Zephyr-Core-3.5.0/drivers/interrupt_controller/
Dintc_esp32.c600 k_free(ret); in esp_intr_alloc_intrstatus()
608 k_free(ret); in esp_intr_alloc_intrstatus()
619 k_free(ret); in esp_intr_alloc_intrstatus()
677 k_free(ret); in esp_intr_alloc_intrstatus()
746 k_free(svd); in esp_intr_free()
777 k_free(handle); in esp_intr_free()
/Zephyr-Core-3.5.0/samples/basic/threads/src/
Dmain.c107 k_free(rx_data); in uart_out()
/Zephyr-Core-3.5.0/tests/kernel/mem_protect/protection/src/
Dmain.c190 k_free(heap_buf); in ZTEST()
/Zephyr-Core-3.5.0/subsys/zbus/
Dzbus_runtime_observers.c88 k_free(obs_nd); in zbus_chan_rm_obs()

123