Searched refs:stack_end (Results 1 – 1 of 1) sorted by relevance
191 uintptr_t stack_end; in is_on_user_stack() local199 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() local212 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()