Searched refs:K_THREAD_STACK_RESERVED (Results 1 – 7 of 7) sorted by relevance
291 #define K_THREAD_STACK_RESERVED K_KERNEL_STACK_RESERVED macro320 #define K_THREAD_STACK_RESERVED ((size_t)(ARCH_THREAD_STACK_RESERVED)) macro322 #define K_THREAD_STACK_RESERVED ((size_t)0U) macro385 ARCH_THREAD_STACK_SIZE_ADJUST((size) + K_THREAD_STACK_RESERVED)388 (ROUND_UP((size), ARCH_STACK_PTR_ALIGN) + K_THREAD_STACK_RESERVED)437 #define K_THREAD_STACK_SIZEOF(sym) (sizeof(sym) - K_THREAD_STACK_RESERVED)655 return (char *)sym + K_THREAD_STACK_RESERVED; in K_THREAD_STACK_BUFFER()
138 _current->stack_info.start -= K_THREAD_STACK_RESERVED; in arch_user_mode_enter()139 _current->stack_info.size += K_THREAD_STACK_RESERVED; in arch_user_mode_enter()
164 sp >= _current->stack_info.start - K_THREAD_STACK_RESERVED && in bad_stack_pointer()165 sp < _current->stack_info.start - K_THREAD_STACK_RESERVED in bad_stack_pointer()
473 stack_bottom = thread->stack_info.start - K_THREAD_STACK_RESERVED; in z_riscv_pmp_stackguard_prepare()
128 reserved = K_THREAD_STACK_RESERVED; in stack_buffer_scenarios()216 K_THREAD_STACK_RESERVED != 0) { in stack_buffer_scenarios()419 K_THREAD_STACK_RESERVED); in ZTEST()
403 stack_buf_size = stack_obj_size - K_THREAD_STACK_RESERVED; in setup_thread_stack()705 K_OOPS(K_SYSCALL_VERIFY_MSG(!size_add_overflow(K_THREAD_STACK_RESERVED, in z_vrfy_k_thread_create()709 K_THREAD_STACK_RESERVED)); in z_vrfy_k_thread_create()
692 for threads stacks defined by :c:macro:`K_THREAD_STACK_RESERVED` may be used to706 | Stack buffer | K_THREAD_STACK_RESERVED =745 :c:macro:`Z_POW2_CEIL()`. :c:macro:`K_THREAD_STACK_RESERVED` must be 0.