Lines Matching full:unused
98 size_t stack_size, unused, carveout, reserved, alignment, adjusted; in stack_buffer_scenarios() local
234 printk(" - Unused objects space: %ld\n", end_space); in stack_buffer_scenarios()
266 zassert_equal(end_space, 0, "unexpected unused space\n"); in stack_buffer_scenarios()
268 /* For arrays there may be unused space per-object. This is because in stack_buffer_scenarios()
276 * We do not auto-expand usable space to cover this unused area. Doing in stack_buffer_scenarios()
302 ret = k_thread_stack_space_get(k_current_get(), &unused); in stack_buffer_scenarios()
311 printk("self-reported unused stack space: %zu\n", unused); in stack_buffer_scenarios()
330 size_t unused; in stest_thread_launch() local
346 ret = k_thread_stack_space_get(&test_thread, &unused); in stest_thread_launch()
350 printk("! cannot report unused stack space due to stack no longer mapped.\n"); in stest_thread_launch()
354 zassert_equal(ret, 0, "failed to calculate unused stack space\n"); in stest_thread_launch()
355 printk("target thread unused stack space: %zu\n", unused); in stest_thread_launch()
530 printk("unused idle thread stack size: %zu/%d (%zu used)\n", in ZTEST()