Lines Matching +full:unused +full:-
5 * SPDX-License-Identifier: Apache-2.0
26 size_t unused; in shell_stack_dump() local
27 size_t size = thread->stack_info.size; in shell_stack_dump()
31 ret = k_thread_stack_space_get(thread, &unused); in shell_stack_dump()
34 "Unable to determine unused stack size (%d)\n", in shell_stack_dump()
42 pcnt = ((size - unused) * 100U) / size; in shell_stack_dump()
45 "%p %-" STRINGIFY(THREAD_MAX_NAM_LEN) "s " in shell_stack_dump()
47 thread, tname ? tname : "NA", size, unused, size - unused, size, pcnt); in shell_stack_dump()
59 memset(pad, ' ', MAX((THREAD_MAX_NAM_LEN - strlen("IRQ 00")), 1)); in cmd_kernel_thread_stacks()
68 * kernel support, including dumping arch-specific exception-related in cmd_kernel_thread_stacks()
74 size_t unused; in cmd_kernel_thread_stacks() local
77 int err = z_stack_space_get(buf, size, &unused); in cmd_kernel_thread_stacks()
84 &z_interrupt_stacks[i], i, pad, size, unused, size - unused, size, in cmd_kernel_thread_stacks()
85 ((size - unused) * 100U) / size); in cmd_kernel_thread_stacks()