/Zephyr-Core-3.4.0/tests/drivers/mm/sys_mm_drv_bank/src/ |
D | main.c | 23 zassert_equal(stats->allocated_bytes, expected->allocated_bytes, in test_stats() 25 stats->allocated_bytes, expected->allocated_bytes); in test_stats() 43 expected.allocated_bytes = EXPECTED(0); in ZTEST() 62 expected.allocated_bytes = EXPECTED(2); in ZTEST() 74 expected.allocated_bytes = EXPECTED(1); in ZTEST() 86 expected.allocated_bytes = EXPECTED(2); in ZTEST() 96 expected.allocated_bytes = EXPECTED(3); in ZTEST() 108 expected.allocated_bytes = EXPECTED(2); in ZTEST() 115 expected.allocated_bytes = EXPECTED(2); in ZTEST()
|
/Zephyr-Core-3.4.0/tests/lib/mem_blocks_stats/src/ |
D | main.c | 61 zassert_equal(stats.allocated_bytes, 0, in ZTEST() 63 stats.allocated_bytes); in ZTEST() 79 zassert_equal(stats.allocated_bytes, 3 * BLK_SZ, in ZTEST() 81 3 * BLK_SZ, stats.allocated_bytes); in ZTEST() 97 zassert_equal(stats.allocated_bytes, 1 * BLK_SZ, in ZTEST() 99 1 * BLK_SZ, stats.allocated_bytes); in ZTEST() 115 zassert_equal(stats.allocated_bytes, 2 * BLK_SZ, in ZTEST() 117 2 * BLK_SZ, stats.allocated_bytes); in ZTEST() 134 zassert_equal(stats.allocated_bytes, 2 * BLK_SZ, in ZTEST() 136 2 * BLK_SZ, stats.allocated_bytes); in ZTEST() [all …]
|
/Zephyr-Core-3.4.0/tests/kernel/mem_slab/mslab_stats/src/ |
D | main.c | 57 zassert_equal(stats.allocated_bytes, 0, in ZTEST() 59 stats.allocated_bytes); in ZTEST() 81 zassert_equal(stats.allocated_bytes, 3 * BLK_SZ, in ZTEST() 83 3 * BLK_SZ, stats.allocated_bytes); in ZTEST() 99 zassert_equal(stats.allocated_bytes, 1 * BLK_SZ, in ZTEST() 101 1 * BLK_SZ, stats.allocated_bytes); in ZTEST() 117 zassert_equal(stats.allocated_bytes, 2 * BLK_SZ, in ZTEST() 119 2 * BLK_SZ, stats.allocated_bytes); in ZTEST() 136 zassert_equal(stats.allocated_bytes, 2 * BLK_SZ, in ZTEST() 138 2 * BLK_SZ, stats.allocated_bytes); in ZTEST() [all …]
|
/Zephyr-Core-3.4.0/lib/os/ |
D | heap-validate.c | 112 size_t allocated_bytes, free_bytes; in sys_heap_validate() local 115 get_alloc_info(h, &allocated_bytes, &free_bytes); in sys_heap_validate() 117 if ((stat.allocated_bytes != allocated_bytes) || in sys_heap_validate() 354 size_t free_bytes, allocated_bytes, total, overhead; in heap_print_info() local 399 get_alloc_info(h, &allocated_bytes, &free_bytes); in heap_print_info() 402 overhead = total - free_bytes - allocated_bytes; in heap_print_info() 404 free_bytes, allocated_bytes, overhead, in heap_print_info() 424 stats->allocated_bytes = heap->heap->allocated_bytes; in sys_heap_runtime_stats_get() 436 heap->heap->max_allocated_bytes = heap->heap->allocated_bytes; in sys_heap_runtime_stats_reset_max()
|
D | heap.c | 19 h->allocated_bytes += num_bytes; in increase_allocated_bytes() 20 h->max_allocated_bytes = MAX(h->max_allocated_bytes, h->allocated_bytes); in increase_allocated_bytes() 189 h->allocated_bytes -= chunksz_to_bytes(h, chunk_size(h, c)); in sys_heap_free() 416 h->allocated_bytes -= in sys_heap_aligned_realloc() 516 h->allocated_bytes = 0; in sys_heap_init()
|
D | mem_blocks.c | 425 stats->allocated_bytes = mem_block->used_blocks << in sys_mem_blocks_runtime_stats_get() 428 stats->allocated_bytes; in sys_mem_blocks_runtime_stats_get()
|
D | heap.h | 74 size_t allocated_bytes; member
|
/Zephyr-Core-3.4.0/include/zephyr/sys/ |
D | mem_stats.h | 26 size_t allocated_bytes; member
|
/Zephyr-Core-3.4.0/samples/basic/sys_heap/src/ |
D | main.c | 44 stats.allocated_bytes, stats.free_bytes, in print_sys_memory_stats()
|
/Zephyr-Core-3.4.0/drivers/mm/ |
D | mm_drv_bank.c | 52 stats->allocated_bytes = bank->mapped_pages * in sys_mm_drv_bank_stats_get()
|
/Zephyr-Core-3.4.0/kernel/ |
D | mem_slab.c | 182 stats->allocated_bytes = slab->num_used * slab->block_size; in k_mem_slab_runtime_stats_get()
|
/Zephyr-Core-3.4.0/subsys/shell/modules/ |
D | kernel_service.c | 266 shell_print(sh, "allocated: %zu", stats.allocated_bytes); in cmd_kernel_heap()
|