Home
last modified time | relevance | path

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

1234

/Zephyr-latest/samples/drivers/soc_flash_nand/src/
Dmain.c75 k_free(w_Page_buffer); in main()
83 k_free(w_Page_buffer); in main()
84 k_free(r_Page_buffer); in main()
92 k_free(w_Page_buffer); in main()
93 k_free(r_Page_buffer); in main()
101 k_free(w_Page_buffer); in main()
102 k_free(r_Page_buffer); in main()
112 k_free(w_Page_buffer); in main()
113 k_free(r_Page_buffer); in main()
122 k_free(w_Page_buffer); in main()
[all …]
/Zephyr-latest/drivers/tee/
Dtee.c61 k_free(shm); in tee_add_shm()
63 k_free(p); in tee_add_shm()
96 k_free(shm->addr); in tee_rm_shm()
99 k_free(shm); in tee_rm_shm()
/Zephyr-latest/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-latest/tests/bsim/bluetooth/host/gatt/settings_clear/src/
Dbt_settings_hook.c81 k_free(loop_node->key); in remove_key()
82 k_free(loop_node); in remove_key()
110 k_free(loop_node->key); in settings_list_cleanup()
111 k_free(loop_node); in settings_list_cleanup()
/Zephyr-latest/tests/lib/multi_heap/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()
144 k_free(block1); in ZTEST()
201 k_free(mem); in ZTEST()
223 k_free(r); in ZTEST()
232 k_free(r); in ZTEST()
257 k_free(ptr); in ZTEST()
Dtest_mheap_concept.c50 k_free(block[i]); in ZTEST()
98 k_free(pool_blocks[i]); in ZTEST()
/Zephyr-latest/kernel/
Dmempool.c43 void k_free(void *ptr) in k_free() function
52 SYS_PORT_TRACING_OBJ_FUNC_ENTER(k_heap_sys, k_free, *heap_ref, heap_ref); in k_free()
56 SYS_PORT_TRACING_OBJ_FUNC_EXIT(k_heap_sys, k_free, *heap_ref, heap_ref); in k_free()
123 k_free(ptr); in k_realloc()
Ddynamic.c147 k_free(stack); in z_impl_k_thread_stack_free()
150 k_free(stack); in z_impl_k_thread_stack_free()
Duserspace.c335 k_free(dyn); in dynamic_object_create()
343 k_free(dyn); in dynamic_object_create()
367 k_free(dyn->data); in dynamic_object_create()
482 k_free(dyn->data); in k_object_free()
483 k_free(dyn); in k_object_free()
584 k_free(dyn->data); in unref_check()
585 k_free(dyn); in unref_check()
/Zephyr-latest/subsys/net/lib/sockets/
Dsockets.c442 k_free(msg_copy.msg_name); in z_vrfy_zsock_sendmsg()
443 k_free(msg_copy.msg_control); in z_vrfy_zsock_sendmsg()
446 k_free(msg_copy.msg_iov[i].iov_base); in z_vrfy_zsock_sendmsg()
449 k_free(msg_copy.msg_iov); in z_vrfy_zsock_sendmsg()
455 k_free(msg_copy.msg_name); in z_vrfy_zsock_sendmsg()
459 k_free(msg_copy.msg_control); in z_vrfy_zsock_sendmsg()
465 k_free(msg_copy.msg_iov[i].iov_base); in z_vrfy_zsock_sendmsg()
469 k_free(msg_copy.msg_iov); in z_vrfy_zsock_sendmsg()
677 k_free(msg_copy.msg_name); in z_vrfy_zsock_recvmsg()
678 k_free(msg_copy.msg_control); in z_vrfy_zsock_recvmsg()
[all …]
/Zephyr-latest/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-latest/tests/benchmarks/footprints/src/
Dheap.c27 k_free(allocated_mem); in run_heap_malloc_free()
/Zephyr-latest/subsys/mgmt/updatehub/
Dshell.c88 k_free(device_id); in cmd_info()
92 k_free(firmware_version); in cmd_info()
/Zephyr-latest/tests/boards/nrf/nrf70/bustest/src/
Dmain.c93 k_free(buff); in memtest()
131 k_free(rxbuff); in memtest()
132 k_free(buff); in memtest()
/Zephyr-latest/modules/nrf_wifi/os/
Dshim.c132 k_free(lock); in zep_shim_spinlock_free()
225 k_free(nbuff); in zep_shim_nbuf_alloc()
244 k_free(((struct nwb *)nbuf)->priv); in zep_shim_nbuf_free()
245 k_free(nbuf); in zep_shim_nbuf_free()
431 k_free(data); in net_raw_pkt_from_nbuf()
460 k_free(llist_node); in zep_shim_llist_node_free()
496 k_free(llist); in zep_shim_llist_free()
717 k_free(qspi_priv); in zep_shim_bus_qspi_deinit()
808 k_free(intr_priv); in zep_shim_bus_qspi_intr_reg()
834 k_free(intr_priv); in zep_shim_bus_qspi_intr_unreg()
[all …]
/Zephyr-latest/samples/boards/espressif/spiram_test/src/
Dmain.c33 k_free(m_int); in main()
/Zephyr-latest/drivers/flash/
Dflash_cadence_nand_ll.c596 k_free(cdma_desc); in cdns_cdma_desc_transfer_finish()
607 k_free(cdma_desc); in cdns_cdma_desc_transfer_finish()
612 k_free(cdma_desc); in cdns_cdma_desc_transfer_finish()
1226 k_free(first_end_page); in cdns_nand_read()
1230 k_free(first_end_page); in cdns_nand_read()
1243 k_free(first_end_page); in cdns_nand_read()
1247 k_free(first_end_page); in cdns_nand_read()
1259 k_free(first_end_page); in cdns_nand_read()
1265 k_free(first_end_page); in cdns_nand_read()
1271 k_free(first_end_page); in cdns_nand_read()
[all …]
/Zephyr-latest/lib/os/zvfs/
Dzvfs_select.c284 k_free(to); in z_vrfy_zvfs_select()
285 k_free(readfds_copy); in z_vrfy_zvfs_select()
286 k_free(writefds_copy); in z_vrfy_zvfs_select()
287 k_free(exceptfds_copy); in z_vrfy_zvfs_select()
/Zephyr-latest/lib/posix/options/
Dmqueue.c172 k_free(mq_name_ptr); in mq_open()
174 k_free(mq_obj_ptr); in mq_open()
176 k_free(mq_desc_ptr); in mq_open()
203 k_free(mqd->mem_desc); in mq_close()
225 k_free(msg_queue->name); in mq_unlink()
517 k_free(msg_queue->mem_buffer); in remove_mq()
518 k_free(msg_queue->mem_obj); in remove_mq()
Dsemaphore.c57 k_free(nsem->name); in nsem_cleanup()
59 k_free(nsem); in nsem_cleanup()
336 k_free(nsem->name); in sem_unlink()
/Zephyr-latest/modules/fatfs/
Dzfs_ffsystem.c27 k_free(mblock); in ff_memfree()
/Zephyr-latest/samples/subsys/zbus/dyn_channel/src/
Dconsumer.c32 k_free(dyn_alloc_msg->reference); in consumer_thread()
/Zephyr-latest/drivers/wifi/infineon/
Dairoc_whd_hal_common.c79 k_free(ptr); in whd_mem_free()

1234