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