Lines Matching refs:start
30 uintptr_t start, end; in in_irq_stack_bound() local
32 start = (uintptr_t)K_KERNEL_STACK_BUFFER(z_interrupt_stacks[cpu_id]); in in_irq_stack_bound()
33 end = start + CONFIG_ISR_STACK_SIZE; in in_irq_stack_bound()
35 return (addr >= start) && (addr < end); in in_irq_stack_bound()
41 uintptr_t start, end; in in_kernel_thread_stack_bound() local
43 start = thread->stack_info.start; in in_kernel_thread_stack_bound()
44 end = Z_STACK_PTR_ALIGN(thread->stack_info.start + thread->stack_info.size); in in_kernel_thread_stack_bound()
46 return (addr >= start) && (addr < end); in in_kernel_thread_stack_bound()
58 uintptr_t start, end; in in_user_thread_stack_bound() local
62 start = thread->arch.priv_stack_start + Z_RISCV_STACK_GUARD_SIZE; in in_user_thread_stack_bound()
64 start = thread->stack_info.start - CONFIG_PRIVILEGED_STACK_SIZE; in in_user_thread_stack_bound()
69 return (addr >= start) && (addr < end); in in_user_thread_stack_bound()