/Zephyr-latest/tests/kernel/mem_heap/k_heap_api/src/ |
D | test_kheap_api.c | 27 char *p = (char *)k_heap_alloc(&k_heap_test, ALLOC_SIZE_1, K_NO_WAIT); in tIsr_kheap_alloc_nowait() 39 p = (char *)k_heap_alloc(&k_heap_test, ALLOC_SIZE_2, K_NO_WAIT); in thread_alloc_heap() 43 p = (char *)k_heap_alloc(&k_heap_test, ALLOC_SIZE_2, timeout); in thread_alloc_heap() 56 p = (char *)k_heap_alloc(&k_heap_test, ALLOC_SIZE_2, K_NO_WAIT); in thread_alloc_heap_null() 60 p = (char *)k_heap_alloc(&k_heap_test, ALLOC_SIZE_2, timeout); in thread_alloc_heap_null() 92 char *p0 = k_heap_alloc(&tiny_heap, 1, K_NO_WAIT); in ZTEST() 93 char *p1 = k_heap_alloc(&tiny_heap, 1, K_NO_WAIT); in ZTEST() 118 char *p = (char *)k_heap_alloc(&k_heap_test, ALLOC_SIZE_1, timeout); in ZTEST() 143 char *p = (char *)k_heap_alloc(&k_heap_test, ALLOC_SIZE_3, timeout); in ZTEST() 169 char *p = (char *)k_heap_alloc(&k_heap_test, ALLOC_SIZE_1, timeout); in ZTEST() [all …]
|
/Zephyr-latest/soc/espressif/common/ |
D | esp_heap_runtime.c | 48 return k_heap_alloc(&esp_heap_runtime, size, K_NO_WAIT); in esp_heap_runtime_malloc() 58 void *ptr = k_heap_alloc(&esp_heap_runtime, sz, K_NO_WAIT); in esp_heap_runtime_calloc()
|
/Zephyr-latest/tests/bluetooth/host/conn/mocks/ |
D | kernel.h | 31 FAKE(k_heap_alloc) \ 53 DECLARE_FAKE_VALUE_FUNC(void *, k_heap_alloc, struct k_heap *, size_t, k_timeout_t);
|
D | kernel.c | 30 DEFINE_FAKE_VALUE_FUNC(void *, k_heap_alloc, struct k_heap *, size_t, k_timeout_t);
|
/Zephyr-latest/subsys/llext/ |
D | llext_priv.h | 32 return k_heap_alloc(&llext_heap, bytes, K_NO_WAIT); in llext_alloc()
|
/Zephyr-latest/kernel/ |
D | kheap.c | 108 void *k_heap_alloc(struct k_heap *heap, size_t bytes, k_timeout_t timeout) in k_heap_alloc() function 127 ret = k_heap_alloc(heap, bounds, timeout); in k_heap_calloc()
|
/Zephyr-latest/tests/kernel/pipe/pipe_api/src/ |
D | test_pipe_contexts.c | 331 zassert_true(k_heap_alloc(&test_pool, 64, K_NO_WAIT) != NULL); in ZTEST() 332 zassert_true(k_heap_alloc(&test_pool, 64, K_NO_WAIT) != NULL); in ZTEST()
|
/Zephyr-latest/tests/kernel/queue/src/ |
D | test_queue_user.c | 209 b[i] = k_heap_alloc(&test_pool, 64, K_FOREVER); in ZTEST()
|
D | test_queue_contexts.c | 307 while (k_heap_alloc(&mem_pool_fail, 1, K_NO_WAIT) != NULL) { in ZTEST()
|
/Zephyr-latest/subsys/testsuite/coverage/ |
D | coverage.c | 322 buffer = k_heap_alloc(&gcov_heap, size, K_NO_WAIT); in gcov_coverage_dump()
|
/Zephyr-latest/doc/kernel/memory_management/ |
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-latest/subsys/tracing/sysview/ |
D | SYSVIEW_Zephyr.txt | 84 77 k_heap_alloc heap=%I, bytes=%u, Timeout=%TimeOut | Returns %p
|
/Zephyr-latest/drivers/video/ |
D | video_mcux_csi.c | 362 fmts = k_heap_alloc(&csi_heap, (ind + 1) * sizeof(struct video_format_cap), in video_mcux_csi_get_caps()
|
D | video_stm32_dcmi.c | 249 data->buffer = k_heap_alloc(&video_stm32_buffer_pool, buffer_size, K_NO_WAIT); in video_stm32_dcmi_stream_start()
|
/Zephyr-latest/drivers/usb/device/ |
D | usb_dc_mcux.c | 321 *block = k_heap_alloc(&ep_buf_pool, cfg->ep_mps, K_NO_WAIT); in usb_dc_ep_configure()
|
D | usb_dc_kinetis.c | 359 block->data = k_heap_alloc(&ep_buf_pool, cfg->ep_mps * 2U, K_NO_WAIT); in usb_dc_ep_configure()
|
/Zephyr-latest/lib/net_buf/ |
D | buf.c | 114 void *b = k_heap_alloc(pool, sizeof(void *) + *size, timeout); in mem_pool_data_alloc()
|
/Zephyr-latest/drivers/i3c/ |
D | i3c_stm32.c | 1183 data->control_fifo = k_heap_alloc(&stm32_i3c_fifo_heap, data->fifo_len, K_FOREVER); in i3c_stm32_transfer_begin() 1184 data->status_fifo = k_heap_alloc(&stm32_i3c_fifo_heap, data->fifo_len, K_FOREVER); in i3c_stm32_transfer_begin()
|
/Zephyr-latest/subsys/fs/ |
D | littlefs_fs.c | 81 ret = k_heap_alloc(&file_cache_heap, size, K_NO_WAIT); in fc_allocate()
|
/Zephyr-latest/subsys/fs/ext2/ |
D | ext2_diskops.c | 135 struct ext2_direntry *de = k_heap_alloc(&direntry_heap, prog_rec_len, K_FOREVER); in ext2_fetch_direntry()
|
D | ext2_impl.c | 914 struct ext2_direntry *de = k_heap_alloc(&direntry_heap, prog_rec_len, K_FOREVER); in ext2_create_direntry()
|
/Zephyr-latest/include/zephyr/ |
D | kernel.h | 5511 void *k_heap_alloc(struct k_heap *h, size_t bytes,
|
/Zephyr-latest/doc/releases/ |
D | release-notes-2.5.rst | 1472 * :github:`29631` - kernel: provide aligned variant of k_heap_alloc
|