Home
last modified time | relevance | path

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

/trusty/kernel/lib/backtrace/
Dbacktrace.c191 uintptr_t stack_end; in is_on_user_stack() local
199 stack_end = thread->stack_start; in is_on_user_stack()
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()
209 uintptr_t stack_end; in is_on_kernel_stack() local
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()