Lines Matching refs:stack
38 static bool in_hardirq_stack(unsigned long *stack, struct stack_info *info) in in_hardirq_stack() argument
47 if (stack < begin || stack > end) in in_hardirq_stack()
63 static bool in_softirq_stack(unsigned long *stack, struct stack_info *info) in in_softirq_stack() argument
72 if (stack < begin || stack > end) in in_softirq_stack()
88 static bool in_doublefault_stack(unsigned long *stack, struct stack_info *info) in in_doublefault_stack() argument
93 void *begin = ss->stack; in in_doublefault_stack()
94 void *end = begin + sizeof(ss->stack); in in_doublefault_stack()
96 if ((void *)stack < begin || (void *)stack >= end) in in_doublefault_stack()
108 int get_stack_info(unsigned long *stack, struct task_struct *task, in get_stack_info() argument
111 if (!stack) in get_stack_info()
116 if (in_task_stack(stack, task, info)) in get_stack_info()
122 if (in_entry_stack(stack, info)) in get_stack_info()
125 if (in_hardirq_stack(stack, info)) in get_stack_info()
128 if (in_softirq_stack(stack, info)) in get_stack_info()
131 if (in_doublefault_stack(stack, info)) in get_stack_info()