Home
last modified time | relevance | path

Searched refs:allocated_bytes (Results 1 – 12 of 12) sorted by relevance

/Zephyr-Core-3.4.0/tests/drivers/mm/sys_mm_drv_bank/src/
Dmain.c23 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/
Dmain.c61 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/
Dmain.c57 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/
Dheap-validate.c112 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()
Dheap.c19 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()
Dmem_blocks.c425 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()
Dheap.h74 size_t allocated_bytes; member
/Zephyr-Core-3.4.0/include/zephyr/sys/
Dmem_stats.h26 size_t allocated_bytes; member
/Zephyr-Core-3.4.0/samples/basic/sys_heap/src/
Dmain.c44 stats.allocated_bytes, stats.free_bytes, in print_sys_memory_stats()
/Zephyr-Core-3.4.0/drivers/mm/
Dmm_drv_bank.c52 stats->allocated_bytes = bank->mapped_pages * in sys_mm_drv_bank_stats_get()
/Zephyr-Core-3.4.0/kernel/
Dmem_slab.c182 stats->allocated_bytes = slab->num_used * slab->block_size; in k_mem_slab_runtime_stats_get()
/Zephyr-Core-3.4.0/subsys/shell/modules/
Dkernel_service.c266 shell_print(sh, "allocated: %zu", stats.allocated_bytes); in cmd_kernel_heap()