Home
last modified time | relevance | path

Searched refs:memory_ptr (Results 1 – 4 of 4) sorted by relevance

/Zephyr-latest/tests/benchmarks/thread_metric/src/
Dtm_memory_allocation_test.c92 unsigned char *memory_ptr; in tm_memory_allocation_thread_0_entry() local
97 tm_memory_pool_allocate(0, &memory_ptr); in tm_memory_allocation_thread_0_entry()
100 status = tm_memory_pool_deallocate(0, memory_ptr); in tm_memory_allocation_thread_0_entry()
Dtm_porting_layer_zephyr.c205 int tm_memory_pool_allocate(int pool_id, unsigned char **memory_ptr) in tm_memory_pool_allocate() argument
209 status = k_mem_slab_alloc(&test_slab[pool_id], (void **)memory_ptr, K_NO_WAIT); in tm_memory_pool_allocate()
219 int tm_memory_pool_deallocate(int pool_id, unsigned char *memory_ptr) in tm_memory_pool_deallocate() argument
221 k_mem_slab_free(&test_slab[pool_id], (void *)memory_ptr); in tm_memory_pool_deallocate()
Dtm_api.h92 int tm_memory_pool_allocate(int pool_id, unsigned char **memory_ptr);
93 int tm_memory_pool_deallocate(int pool_id, unsigned char *memory_ptr);
/Zephyr-latest/tests/benchmarks/thread_metric/
Dthread_metric_readme.txt206 int tm_memory_pool_allocate(int pool_id, unsigned char **memory_ptr);
211 in the "memory_ptr" variable.
213 int tm_memory_pool_deallocate(int pool_id, unsigned char *memory_ptr);