Lines Matching full:stack

46 		 * On 64-bit, we have a generic entry stack that we  in stack_type_name()
61 * @offs: Offset from the start of the exception stack area
62 * @size: Size of the exception stack
79 * Array of exception stack page descriptors. If the stack is larger than
80 * PAGE_SIZE, all pages covering a particular stack will have the same
81 * info. The guard pages including the not mapped DB2 stack are zeroed
94 static __always_inline bool in_exception_stack(unsigned long *stack, struct stack_info *info) in in_exception_stack() argument
96 unsigned long begin, end, stk = (unsigned long)stack; in in_exception_stack()
105 * Handle the case where stack trace is collected _before_ in in_exception_stack()
112 /* Bail if @stack is outside the exception stack area. */ in in_exception_stack()
135 static __always_inline bool in_irq_stack(unsigned long *stack, struct stack_info *info) in in_irq_stack() argument
141 * @end points directly to the top most stack entry to avoid a -8 in in_irq_stack()
142 * adjustment in the stack switch hotpath. Adjust it back before in in_irq_stack()
151 * to the original stack and not to @end. in in_irq_stack()
153 if (stack < begin || stack >= end) in in_irq_stack()
161 * The next stack pointer is stored at the top of the irq stack in in_irq_stack()
162 * before switching to the irq stack. Actual stack entries are all in in_irq_stack()
170 bool noinstr get_stack_info_noinstr(unsigned long *stack, struct task_struct *task, in get_stack_info_noinstr() argument
173 if (in_task_stack(stack, task, info)) in get_stack_info_noinstr()
179 if (in_exception_stack(stack, info)) in get_stack_info_noinstr()
182 if (in_irq_stack(stack, info)) in get_stack_info_noinstr()
185 if (in_entry_stack(stack, info)) in get_stack_info_noinstr()
191 int get_stack_info(unsigned long *stack, struct task_struct *task, in get_stack_info() argument
196 if (!stack) in get_stack_info()
199 if (!get_stack_info_noinstr(stack, task, info)) in get_stack_info()
203 * Make sure we don't iterate through any given stack more than once. in get_stack_info()
205 * just break out and report an unknown stack type. in get_stack_info()
210 printk_deferred_once(KERN_WARNING "WARNING: stack recursion on stack type %d\n", info->type); in get_stack_info()