Home
last modified time | relevance | path

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

/trusty/kernel/lib/backtrace/
Dbacktrace.c192 uintptr_t stack_bottom; in is_on_user_stack() local
200 if (__builtin_sub_overflow(stack_end, thread->stack_size, &stack_bottom)) { in is_on_user_stack()
204 return stack_bottom <= addr && addr < stack_end; in is_on_user_stack()
208 uintptr_t stack_bottom; in is_on_kernel_stack() local
211 stack_bottom = (uintptr_t)thread->stack; in is_on_kernel_stack()
212 if (__builtin_add_overflow(stack_bottom, thread->stack_size, &stack_end)) { in is_on_kernel_stack()
216 return stack_bottom <= addr && addr < stack_end; in is_on_kernel_stack()