/Zephyr-latest/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(BANK_PAGES); in ZTEST() 55 expected.allocated_bytes = EXPECTED(0); in ZTEST() 73 expected.allocated_bytes = EXPECTED(2); in ZTEST() 85 expected.allocated_bytes = EXPECTED(1); in ZTEST() 97 expected.allocated_bytes = EXPECTED(2); in ZTEST() 107 expected.allocated_bytes = EXPECTED(3); in ZTEST() 119 expected.allocated_bytes = EXPECTED(2); in ZTEST() 126 expected.allocated_bytes = EXPECTED(2); in ZTEST()
|
/Zephyr-latest/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-latest/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-latest/lib/heap/ |
D | heap_stats.c | 19 stats->allocated_bytes = heap->heap->allocated_bytes; in sys_heap_runtime_stats_get() 31 heap->heap->max_allocated_bytes = heap->heap->allocated_bytes; in sys_heap_runtime_stats_reset_max()
|
D | heap_info.c | 17 size_t free_bytes, allocated_bytes, total, overhead; in heap_print_info() local 63 get_alloc_info(h, &allocated_bytes, &free_bytes); in heap_print_info() 66 overhead = total - free_bytes - allocated_bytes; in heap_print_info() 68 free_bytes, allocated_bytes, overhead, in heap_print_info()
|
D | heap_validate.c | 95 size_t allocated_bytes, free_bytes; in sys_heap_validate() local 98 get_alloc_info(h, &allocated_bytes, &free_bytes); in sys_heap_validate() 100 if ((stat.allocated_bytes != allocated_bytes) || in sys_heap_validate()
|
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 | heap.h | 74 size_t allocated_bytes; member
|
/Zephyr-latest/tests/kernel/obj_core/obj_core_stats/src/ |
D | main.c | 446 zassert_equal(query.allocated_bytes, expected->allocated_bytes, in test_mem_block_query() 448 str, expected->allocated_bytes, query.allocated_bytes); in test_mem_block_query() 466 .allocated_bytes = 0, in ZTEST() 491 query.allocated_bytes += 32; in ZTEST() 506 query.allocated_bytes += 32; in ZTEST() 520 query.allocated_bytes -= 32; in ZTEST() 533 query.max_allocated_bytes = query.allocated_bytes; in ZTEST() 604 zassert_equal(query.allocated_bytes, expected->allocated_bytes, in test_mem_slab_query() 606 str, expected->allocated_bytes, query.allocated_bytes); in test_mem_slab_query() 623 .allocated_bytes = 0, in ZTEST() [all …]
|
/Zephyr-latest/include/zephyr/sys/ |
D | mem_stats.h | 26 size_t allocated_bytes; member
|
/Zephyr-latest/samples/basic/sys_heap/src/ |
D | main.c | 44 stats.allocated_bytes, stats.free_bytes, in print_sys_memory_stats()
|
/Zephyr-latest/subsys/shell/modules/kernel_service/ |
D | heap.c | 30 shell_print(sh, "allocated: %zu", stats.allocated_bytes); in cmd_kernel_heap()
|
/Zephyr-latest/drivers/mm/ |
D | mm_drv_bank.c | 50 stats->allocated_bytes = bank->mapped_pages * in sys_mm_drv_bank_stats_get()
|
/Zephyr-latest/modules/lvgl/ |
D | lvgl.c | 211 (stats.allocated_bytes * 100) / (stats.allocated_bytes + stats.free_bytes); in lv_mem_monitor_core()
|
/Zephyr-latest/lib/mem_blocks/ |
D | mem_blocks.c | 437 stats->allocated_bytes = mem_block->info.used_blocks << in sys_mem_blocks_runtime_stats_get() 441 stats->allocated_bytes; in sys_mem_blocks_runtime_stats_get() 489 ptr->allocated_bytes = block->info.used_blocks << in sys_mem_blocks_stats_query()
|
/Zephyr-latest/kernel/ |
D | mem_slab.c | 53 ptr->allocated_bytes = slab->info.num_used * slab->info.block_size; in k_mem_slab_stats_query() 310 stats->allocated_bytes = slab->info.num_used * slab->info.block_size; in k_mem_slab_runtime_stats_get()
|