Lines Matching full:stack
6 * task->stack (kernel stack) handling interfaces:
15 * When accessing the stack of a non-current task that might exit, use
21 return task->stack; in task_stack_page()
29 return (unsigned long *)((unsigned long)task->stack + THREAD_SIZE) - 1; in end_of_stack()
31 return task->stack; in end_of_stack()
37 #define task_stack_page(task) ((void *)(task)->stack)
46 * Return the address of the last usable long on the stack.
48 * When the stack grows down, this is just above the thread
51 * When the stack grows up, this is the highest address.
89 void *stack = task_stack_page(current); in object_is_on_stack() local
91 return (obj >= stack) && (obj < (stack + THREAD_SIZE)); in object_is_on_stack()
121 /* Reliable end of stack detection: in kstack_end()
122 * Some APM bios versions misalign the stack in kstack_end()