Searched refs:k_heap_alloc (Results 1 – 18 of 18) sorted by relevance
/Zephyr-Core-2.7.6/tests/kernel/mem_heap/k_heap_api/src/ |
D | test_kheap_api.c | 25 char *p = (char *)k_heap_alloc(&k_heap_test, ALLOC_SIZE_1, K_NO_WAIT); in tIsr_kheap_alloc_nowait() 35 char *p = (char *)k_heap_alloc(&k_heap_test, ALLOC_SIZE_2, timeout); in thread_alloc_heap() 66 char *p0 = k_heap_alloc(&tiny_heap, 1, K_NO_WAIT); in test_k_heap_min_size() 67 char *p1 = k_heap_alloc(&tiny_heap, 1, K_NO_WAIT); in test_k_heap_min_size() 92 char *p = (char *)k_heap_alloc(&k_heap_test, ALLOC_SIZE_1, timeout); in test_k_heap_alloc() 117 char *p = (char *)k_heap_alloc(&k_heap_test, ALLOC_SIZE_3, timeout); in test_k_heap_alloc_fail() 143 char *p = (char *)k_heap_alloc(&k_heap_test, ALLOC_SIZE_1, timeout); in test_k_heap_free() 147 p = (char *)k_heap_alloc(&k_heap_test, ALLOC_SIZE_2, timeout); in test_k_heap_free() 183 char *p = (char *)k_heap_alloc(&k_heap_test, ALLOC_SIZE_2, K_NO_WAIT); in test_k_heap_alloc_pending()
|
/Zephyr-Core-2.7.6/lib/gui/lvgl/ |
D | lvgl_mem_kernel.c | 16 return k_heap_alloc(&lvgl_mem_pool, size, K_NO_WAIT); in lvgl_malloc()
|
/Zephyr-Core-2.7.6/drivers/video/ |
D | video_common.c | 42 block->data = k_heap_alloc(&video_buffer_pool, size, K_FOREVER); in video_buffer_alloc()
|
/Zephyr-Core-2.7.6/kernel/ |
D | kheap.c | 107 void *k_heap_alloc(struct k_heap *h, size_t bytes, k_timeout_t timeout) in k_heap_alloc() function
|
/Zephyr-Core-2.7.6/doc/reference/kernel/memory/ |
D | heap.rst | 26 Memory can be allocated from a heap using :c:func:`k_heap_alloc`, 40 Memory allocated with :c:func:`k_heap_alloc` must be released using 43 returned by :c:func:`k_heap_alloc` for the same heap. Freeing a
|
/Zephyr-Core-2.7.6/tests/kernel/pipe/pipe_api/src/ |
D | test_pipe_contexts.c | 331 zassert_true(k_heap_alloc(&test_pool, 64, K_NO_WAIT) != NULL, NULL); in test_resource_pool_auto_free() 332 zassert_true(k_heap_alloc(&test_pool, 64, K_NO_WAIT) != NULL, NULL); in test_resource_pool_auto_free()
|
/Zephyr-Core-2.7.6/tests/kernel/queue/src/ |
D | test_queue_user.c | 202 b[i] = k_heap_alloc(&test_pool, 64, K_FOREVER); in test_auto_free()
|
D | test_queue_contexts.c | 307 while (k_heap_alloc(&mem_pool_fail, 1, K_NO_WAIT) != NULL) { in test_queue_alloc()
|
/Zephyr-Core-2.7.6/subsys/testsuite/coverage/ |
D | coverage.c | 235 buffer = k_heap_alloc(&gcov_heap, size, K_NO_WAIT); in gcov_coverage_dump()
|
/Zephyr-Core-2.7.6/drivers/display/ |
D | display_mcux_elcdif.c | 195 data->fb[i].data = k_heap_alloc(&mcux_elcdif_pool, in mcux_elcdif_init()
|
/Zephyr-Core-2.7.6/samples/subsys/usb/hid-cdc/src/ |
D | main.c | 120 ev = k_heap_alloc(&event_elem_pool, in app_evt_alloc() 127 ev = k_heap_alloc(&event_elem_pool, in app_evt_alloc()
|
/Zephyr-Core-2.7.6/subsys/tracing/sysview/ |
D | SYSVIEW_Zephyr.txt | 86 77 k_heap_alloc heap=%I, bytes=%u, Timeout=%TimeOut | Returns %p
|
/Zephyr-Core-2.7.6/drivers/usb/device/ |
D | usb_dc_mcux.c | 237 block->data = k_heap_alloc(&ep_buf_pool, cfg->ep_mps, K_NO_WAIT); in usb_dc_ep_configure()
|
D | usb_dc_kinetis.c | 367 block->data = k_heap_alloc(&ep_buf_pool, cfg->ep_mps * 2U, K_MSEC(10)); in usb_dc_ep_configure()
|
/Zephyr-Core-2.7.6/subsys/fs/ |
D | littlefs_fs.c | 61 ret = k_heap_alloc(&file_cache_heap, size, K_NO_WAIT); in fc_allocate()
|
/Zephyr-Core-2.7.6/subsys/net/ |
D | buf.c | 103 void *b = k_heap_alloc(pool, 1 + *size, timeout); in mem_pool_data_alloc()
|
/Zephyr-Core-2.7.6/include/ |
D | kernel.h | 5014 void *k_heap_alloc(struct k_heap *h, size_t bytes,
|
/Zephyr-Core-2.7.6/doc/releases/ |
D | release-notes-2.5.rst | 1472 * :github:`29631` - kernel: provide aligned variant of k_heap_alloc
|