Searched refs:sys_mem_blocks_alloc (Results 1 – 6 of 6) sorted by relevance
/Zephyr-Core-3.6.0/tests/lib/mem_blocks/src/ |
D | main.c | 138 ret = sys_mem_blocks_alloc(mem_block, 1, blocks[i]); in alloc_free() 168 ret = sys_mem_blocks_alloc(mem_block, 1, blocks[i]); in alloc_free() 639 sys_mem_blocks_alloc(NULL, 1, blocks); in ZTEST() 648 sys_mem_blocks_alloc(&mem_block_01, 1, NULL); in ZTEST() 679 ret = sys_mem_blocks_alloc(&mem_block_01, 0, blocks); in ZTEST() 683 ret = sys_mem_blocks_alloc(&mem_block_01, NUM_BLOCKS + 1, blocks); in ZTEST() 687 ret = sys_mem_blocks_alloc(&mem_block_01, 1, blocks); in ZTEST()
|
/Zephyr-Core-3.6.0/tests/lib/mem_blocks_stats/src/ |
D | main.c | 70 status = sys_mem_blocks_alloc(&mem_block_01, 3, blocks); in ZTEST() 106 status = sys_mem_blocks_alloc(&mem_block_01, 1, &blocks[1]); in ZTEST()
|
/Zephyr-Core-3.6.0/doc/kernel/memory_management/ |
D | sys_mem_blocks.rst | 89 allocated via :c:func:`sys_mem_blocks_alloc`. 133 Memory blocks can be allocated by calling :c:func:`sys_mem_blocks_alloc`. 140 ret = sys_mem_blocks_alloc(allocator, 2, blocks); 158 ret = sys_mem_blocks_alloc(allocator, 2, blocks);
|
/Zephyr-Core-3.6.0/include/zephyr/sys/ |
D | mem_blocks.h | 223 int sys_mem_blocks_alloc(sys_mem_blocks_t *mem_block, size_t count,
|
/Zephyr-Core-3.6.0/lib/mem_blocks/ |
D | mem_blocks.c | 126 int sys_mem_blocks_alloc(sys_mem_blocks_t *mem_block, size_t count, in sys_mem_blocks_alloc() function 374 ret = sys_mem_blocks_alloc(allocator, count, out_blocks); in sys_multi_mem_blocks_alloc()
|
/Zephyr-Core-3.6.0/tests/kernel/obj_core/obj_core_stats/src/ |
D | main.c | 487 status = sys_mem_blocks_alloc(&mem_block, 1, &mem1); in ZTEST() 502 status = sys_mem_blocks_alloc(&mem_block, 1, &mem2); in ZTEST()
|