Home
last modified time | relevance | path

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

/linux-6.6.21/arch/x86/kernel/
Despfix_64.c129 void *stack_page; in init_espfix_ap() local
140 stack_page = READ_ONCE(espfix_pages[page]); in init_espfix_ap()
141 if (likely(stack_page)) in init_espfix_ap()
147 stack_page = READ_ONCE(espfix_pages[page]); in init_espfix_ap()
148 if (stack_page) in init_espfix_ap()
179 stack_page = page_address(alloc_pages_node(node, GFP_KERNEL, 0)); in init_espfix_ap()
184 pte = __pte(__pa(stack_page) | ((__PAGE_KERNEL_RO | _PAGE_ENC) & ptemask)); in init_espfix_ap()
189 WRITE_ONCE(espfix_pages[page], stack_page); in init_espfix_ap()
195 per_cpu(espfix_waddr, cpu) = (unsigned long)stack_page in init_espfix_ap()
/linux-6.6.21/arch/mips/kernel/
Dperf_event.c51 unsigned long stack_page = in perf_callchain_kernel() local
53 if (stack_page && sp >= stack_page && in perf_callchain_kernel()
54 sp <= stack_page + THREAD_SIZE - 32) in perf_callchain_kernel()
Dstacktrace.c46 unsigned long stack_page = in save_context_stack() local
48 if (stack_page && sp >= stack_page && in save_context_stack()
49 sp <= stack_page + THREAD_SIZE - 32) in save_context_stack()
Dprocess.c544 unsigned long notrace unwind_stack_by_address(unsigned long stack_page, in unwind_stack_by_address() argument
555 if (!stack_page) in unwind_stack_by_address()
562 low = stack_page; in unwind_stack_by_address()
564 high = stack_page + IRQ_STACK_START; in unwind_stack_by_address()
567 high = stack_page + THREAD_SIZE - 32; in unwind_stack_by_address()
639 unsigned long stack_page = 0; in unwind_stack() local
644 stack_page = (unsigned long)irq_stack[cpu]; in unwind_stack()
649 if (!stack_page) in unwind_stack()
650 stack_page = (unsigned long)task_stack_page(task); in unwind_stack()
652 return unwind_stack_by_address(stack_page, sp, pc, ra); in unwind_stack()
/linux-6.6.21/arch/hexagon/kernel/
Dprocess.c129 unsigned long stack_page; in __get_wchan() local
132 stack_page = (unsigned long)task_stack_page(p); in __get_wchan()
135 if (fp < (stack_page + sizeof(struct thread_info)) || in __get_wchan()
136 fp >= (THREAD_SIZE - 8 + stack_page)) in __get_wchan()
/linux-6.6.21/arch/powerpc/kernel/
Dprocess.c2146 unsigned long stack_page; in valid_irq_stack() local
2152 stack_page = (unsigned long)hardirq_ctx[cpu]; in valid_irq_stack()
2153 if (sp >= stack_page && sp <= stack_page + THREAD_SIZE - nbytes) in valid_irq_stack()
2156 stack_page = (unsigned long)softirq_ctx[cpu]; in valid_irq_stack()
2157 if (sp >= stack_page && sp <= stack_page + THREAD_SIZE - nbytes) in valid_irq_stack()
2167 unsigned long stack_page; in valid_emergency_stack() local
2181 stack_page = (unsigned long)paca_ptrs[cpu]->emergency_sp - THREAD_SIZE; in valid_emergency_stack()
2182 if (sp >= stack_page && sp <= stack_page + THREAD_SIZE - nbytes) in valid_emergency_stack()
2186 stack_page = (unsigned long)paca_ptrs[cpu]->nmi_emergency_sp - THREAD_SIZE; in valid_emergency_stack()
2187 if (sp >= stack_page && sp <= stack_page + THREAD_SIZE - nbytes) in valid_emergency_stack()
[all …]
Dstacktrace.c70 unsigned long stack_page = (unsigned long)task_stack_page(task); in arch_stack_walk_reliable() local
75 stack_end = stack_page + THREAD_SIZE; in arch_stack_walk_reliable()
88 if (sp < stack_page + sizeof(struct thread_struct) || in arch_stack_walk_reliable()
/linux-6.6.21/arch/m68k/kernel/
Dprocess.c270 unsigned long stack_page; in __get_wchan() local
273 stack_page = (unsigned long)task_stack_page(p); in __get_wchan()
276 if (fp < stack_page+sizeof(struct thread_info) || in __get_wchan()
277 fp >= 8184+stack_page) in __get_wchan()
/linux-6.6.21/arch/um/kernel/
Dprocess.c366 unsigned long stack_page, sp, ip; in __get_wchan() local
369 stack_page = (unsigned long) task_stack_page(p); in __get_wchan()
371 if (stack_page == 0) in __get_wchan()
379 if (sp < stack_page) in __get_wchan()
382 while (sp < stack_page + THREAD_SIZE) { in __get_wchan()
/linux-6.6.21/arch/nios2/kernel/
Dprocess.c224 unsigned long stack_page; in __get_wchan() local
227 stack_page = (unsigned long)p; in __get_wchan()
230 if (fp < stack_page+sizeof(struct task_struct) || in __get_wchan()
231 fp >= 8184+stack_page) /* ;dgt2;tmp */ in __get_wchan()
/linux-6.6.21/arch/arm/kernel/
Dprocess.c283 unsigned long stack_page; in __get_wchan() local
290 stack_page = (unsigned long)task_stack_page(p); in __get_wchan()
292 if (frame.sp < stack_page || in __get_wchan()
293 frame.sp >= stack_page + THREAD_SIZE || in __get_wchan()
/linux-6.6.21/arch/xtensa/kernel/
Dprocess.c379 unsigned long stack_page = (unsigned long) task_stack_page(p); in __get_wchan() local
386 if (sp < stack_page + sizeof(struct task_struct) || in __get_wchan()
387 sp >= (stack_page + THREAD_SIZE) || in __get_wchan()
/linux-6.6.21/arch/mips/include/asm/
Dstacktrace.h13 extern unsigned long unwind_stack_by_address(unsigned long stack_page,
/linux-6.6.21/arch/arm64/kvm/
Darm.c2200 unsigned long stack_page; in init_hyp_mode() local
2202 stack_page = __get_free_page(GFP_KERNEL); in init_hyp_mode()
2203 if (!stack_page) { in init_hyp_mode()
2208 per_cpu(kvm_arm_hyp_stack_page, cpu) = stack_page; in init_hyp_mode()
2277 char *stack_page = (char *)per_cpu(kvm_arm_hyp_stack_page, cpu); in init_hyp_mode() local
2279 err = create_hyp_stack(__pa(stack_page), &params->stack_hyp_va); in init_hyp_mode()
2291 params->stack_pa = __pa(stack_page); in init_hyp_mode()