Home
last modified time | relevance | path

Searched refs:max_used (Results 1 – 6 of 6) sorted by relevance

/Zephyr-Core-3.5.0/modules/mbedtls/
Dshell.c29 size_t max_used, max_blocks; in cmd_mbedtls_heap() local
32 mbedtls_memory_buffer_alloc_max_get(&max_used, &max_blocks); in cmd_mbedtls_heap()
36 max_used, max_blocks); in cmd_mbedtls_heap()
/Zephyr-Core-3.5.0/kernel/
Dmem_slab.c55 ptr->max_allocated_bytes = slab->info.max_used * slab->info.block_size; in k_mem_slab_stats_query()
75 slab->info.max_used = slab->info.num_used; in k_mem_slab_stats_reset()
184 slab->info.max_used = 0U; in k_mem_slab_init()
222 slab->info.max_used = MAX(slab->info.num_used, in k_mem_slab_alloc()
223 slab->info.max_used); in k_mem_slab_alloc()
297 stats->max_allocated_bytes = slab->info.max_used * in k_mem_slab_runtime_stats_get()
317 slab->info.max_used = slab->info.num_used; in k_mem_slab_runtime_stats_reset_max()
/Zephyr-Core-3.5.0/tests/kernel/obj_core/obj_core_stats/src/
Dmain.c582 zassert_equal(raw.max_used, expected->max_used, in test_mem_slab_raw()
584 str, expected->max_used, raw.max_used); in test_mem_slab_raw()
616 .max_used = 0 in ZTEST()
650 raw.max_used++; in ZTEST()
665 raw.max_used++; in ZTEST()
684 raw.max_used = raw.num_used; in ZTEST()
/Zephyr-Core-3.5.0/samples/net/cloud/aws_iot_mqtt/src/
Dmain.c480 size_t cur_used, cur_blocks, max_used, max_blocks; in main() local
483 mbedtls_memory_buffer_alloc_max_get(&max_used, &max_blocks); in main()
484 LOG_INF("mbedTLS heap usage: MAX %u/%u (%u) CUR %u (%u)", max_used, in main()
/Zephyr-Core-3.5.0/tests/benchmarks/mbedtls/src/
Dbenchmark.c196 size_t max_used, max_blocks, max_bytes; \
203 mbedtls_memory_buffer_alloc_max_get(&max_used, &max_blocks); \
209 max_used -= prv_used; \
211 max_bytes = max_used + MEM_BLOCK_OVERHEAD * max_blocks; \
/Zephyr-Core-3.5.0/include/zephyr/
Dkernel.h5065 uint32_t max_used; member
5245 return slab->info.max_used; in k_mem_slab_max_used_get()