Home
last modified time | relevance | path

Searched refs:stack_page (Results 1 – 17 of 17) sorted by relevance

/arch/x86/kernel/
Despfix_64.c148 void *stack_page; in init_espfix_ap() local
160 stack_page = ACCESS_ONCE(espfix_pages[page]); in init_espfix_ap()
161 if (likely(stack_page)) in init_espfix_ap()
167 stack_page = ACCESS_ONCE(espfix_pages[page]); in init_espfix_ap()
168 if (stack_page) in init_espfix_ap()
194 stack_page = (void *)__get_free_page(GFP_KERNEL); in init_espfix_ap()
195 pte = __pte(__pa(stack_page) | (__PAGE_KERNEL_RO & ptemask)); in init_espfix_ap()
200 ACCESS_ONCE(espfix_pages[page]) = stack_page; in init_espfix_ap()
206 this_cpu_write(espfix_waddr, (unsigned long)stack_page in init_espfix_ap()
Dprocess_32.c336 unsigned long stack_page; in get_wchan() local
340 stack_page = (unsigned long)task_stack_page(p); in get_wchan()
342 if (!stack_page || sp < stack_page || sp > top_esp+stack_page) in get_wchan()
347 if (bp < stack_page || bp > top_ebp+stack_page) in get_wchan()
/arch/cris/arch-v10/kernel/
Dprocess.c143 unsigned long stack_page; in get_wchan()
147 stack_page = (unsigned long)p; in get_wchan()
149 if (!stack_page || esp < stack_page || esp > 8188+stack_page) in get_wchan()
154 if (ebp < stack_page || ebp > 8184+stack_page) in get_wchan()
/arch/mips/kernel/
Dperf_event.c53 unsigned long stack_page = in perf_callchain_kernel() local
55 if (stack_page && sp >= stack_page && in perf_callchain_kernel()
56 sp <= stack_page + THREAD_SIZE - 32) in perf_callchain_kernel()
Dstacktrace.c42 unsigned long stack_page = in save_context_stack() local
44 if (stack_page && sp >= stack_page && in save_context_stack()
45 sp <= stack_page + THREAD_SIZE - 32) in save_context_stack()
Dprocess.c439 unsigned long notrace unwind_stack_by_address(unsigned long stack_page, in unwind_stack_by_address() argument
450 if (!stack_page) in unwind_stack_by_address()
460 if (*sp >= stack_page && in unwind_stack_by_address()
461 *sp + sizeof(*regs) <= stack_page + THREAD_SIZE - 32) { in unwind_stack_by_address()
489 if (*sp < stack_page || in unwind_stack_by_address()
490 *sp + info.frame_size > stack_page + THREAD_SIZE - 32) in unwind_stack_by_address()
514 unsigned long stack_page = (unsigned long)task_stack_page(task); in unwind_stack() local
515 return unwind_stack_by_address(stack_page, sp, pc, ra); in unwind_stack()
/arch/hexagon/kernel/
Dprocess.c156 unsigned long stack_page; in get_wchan() local
161 stack_page = (unsigned long)task_stack_page(p); in get_wchan()
164 if (fp < (stack_page + sizeof(struct thread_info)) || in get_wchan()
165 fp >= (THREAD_SIZE - 8 + stack_page)) in get_wchan()
/arch/avr32/kernel/
Dprocess.c320 unsigned long stack_page; in get_wchan() local
325 stack_page = (unsigned long)task_stack_page(p); in get_wchan()
326 BUG_ON(!stack_page); in get_wchan()
336 BUG_ON(fp < stack_page || fp > (THREAD_SIZE + stack_page)); in get_wchan()
349 BUG_ON(sp < stack_page || sp > (THREAD_SIZE + stack_page)); in get_wchan()
/arch/m68k/kernel/
Dprocess.c260 unsigned long stack_page; in get_wchan() local
265 stack_page = (unsigned long)task_stack_page(p); in get_wchan()
268 if (fp < stack_page+sizeof(struct thread_info) || in get_wchan()
269 fp >= 8184+stack_page) in get_wchan()
/arch/arm/kvm/
Darm.c805 unsigned long stack_page; in cpu_init_hyp_mode() local
813 stack_page = __this_cpu_read(kvm_arm_hyp_stack_page); in cpu_init_hyp_mode()
814 hyp_stack_ptr = stack_page + PAGE_SIZE; in cpu_init_hyp_mode()
891 unsigned long stack_page; in init_hyp_mode() local
893 stack_page = __get_free_page(GFP_KERNEL); in init_hyp_mode()
894 if (!stack_page) { in init_hyp_mode()
899 per_cpu(kvm_arm_hyp_stack_page, cpu) = stack_page; in init_hyp_mode()
915 char *stack_page = (char *)per_cpu(kvm_arm_hyp_stack_page, cpu); in init_hyp_mode() local
916 err = create_hyp_mappings(stack_page, stack_page + PAGE_SIZE); in init_hyp_mode()
/arch/um/kernel/
Dprocess.c373 unsigned long stack_page, sp, ip; in get_wchan() local
379 stack_page = (unsigned long) task_stack_page(p); in get_wchan()
381 if (stack_page == 0) in get_wchan()
389 if (sp < stack_page) in get_wchan()
392 while (sp < stack_page + THREAD_SIZE) { in get_wchan()
/arch/arm64/kernel/
Dprocess.c412 unsigned long stack_page; in get_wchan() local
420 stack_page = (unsigned long)task_stack_page(p); in get_wchan()
422 if (frame.sp < stack_page || in get_wchan()
423 frame.sp >= stack_page + THREAD_SIZE || in get_wchan()
/arch/xtensa/kernel/
Dprocess.c287 unsigned long stack_page = (unsigned long) task_stack_page(p); in get_wchan() local
297 if (sp < stack_page + sizeof(struct task_struct) || in get_wchan()
298 sp >= (stack_page + THREAD_SIZE) || in get_wchan()
/arch/mips/include/asm/
Dstacktrace.h10 extern unsigned long unwind_stack_by_address(unsigned long stack_page,
/arch/blackfin/kernel/
Dprocess.c146 unsigned long stack_page; in get_wchan() local
151 stack_page = (unsigned long)p; in get_wchan()
154 if (fp < stack_page + sizeof(struct thread_info) || in get_wchan()
155 fp >= 8184 + stack_page) in get_wchan()
/arch/arm/kernel/
Dprocess.c574 unsigned long stack_page; in get_wchan() local
583 stack_page = (unsigned long)task_stack_page(p); in get_wchan()
585 if (frame.sp < stack_page || in get_wchan()
586 frame.sp >= stack_page + THREAD_SIZE || in get_wchan()
/arch/powerpc/kernel/
Dprocess.c1473 unsigned long stack_page; in valid_irq_stack() local
1481 stack_page = (unsigned long) hardirq_ctx[cpu]; in valid_irq_stack()
1482 if (sp >= stack_page + sizeof(struct thread_struct) in valid_irq_stack()
1483 && sp <= stack_page + THREAD_SIZE - nbytes) in valid_irq_stack()
1486 stack_page = (unsigned long) softirq_ctx[cpu]; in valid_irq_stack()
1487 if (sp >= stack_page + sizeof(struct thread_struct) in valid_irq_stack()
1488 && sp <= stack_page + THREAD_SIZE - nbytes) in valid_irq_stack()
1497 unsigned long stack_page = (unsigned long)task_stack_page(p); in validate_sp() local
1499 if (sp >= stack_page + sizeof(struct thread_struct) in validate_sp()
1500 && sp <= stack_page + THREAD_SIZE - nbytes) in validate_sp()