Lines Matching refs:stack_page
2052 unsigned long stack_page; in valid_irq_stack() local
2055 stack_page = (unsigned long)hardirq_ctx[cpu]; in valid_irq_stack()
2056 if (sp >= stack_page && sp <= stack_page + THREAD_SIZE - nbytes) in valid_irq_stack()
2059 stack_page = (unsigned long)softirq_ctx[cpu]; in valid_irq_stack()
2060 if (sp >= stack_page && sp <= stack_page + THREAD_SIZE - nbytes) in valid_irq_stack()
2070 unsigned long stack_page; in valid_emergency_stack() local
2076 stack_page = (unsigned long)paca_ptrs[cpu]->emergency_sp - THREAD_SIZE; in valid_emergency_stack()
2077 if (sp >= stack_page && sp <= stack_page + THREAD_SIZE - nbytes) in valid_emergency_stack()
2081 stack_page = (unsigned long)paca_ptrs[cpu]->nmi_emergency_sp - THREAD_SIZE; in valid_emergency_stack()
2082 if (sp >= stack_page && sp <= stack_page + THREAD_SIZE - nbytes) in valid_emergency_stack()
2085 stack_page = (unsigned long)paca_ptrs[cpu]->mc_emergency_sp - THREAD_SIZE; in valid_emergency_stack()
2086 if (sp >= stack_page && sp <= stack_page + THREAD_SIZE - nbytes) in valid_emergency_stack()
2098 unsigned long stack_page = (unsigned long)task_stack_page(p); in validate_sp() local
2103 if (sp >= stack_page && sp <= stack_page + THREAD_SIZE - nbytes) in validate_sp()