Home
last modified time | relevance | path

Searched refs:switch_stack (Results 1 – 25 of 27) sorted by relevance

12

/arch/ia64/kernel/
Dasm-offsets.c30 DEFINE(IA64_SWITCH_STACK_SIZE, sizeof (struct switch_stack)); in foo()
134 DEFINE(IA64_SWITCH_STACK_CALLER_UNAT_OFFSET, offsetof (struct switch_stack, caller_unat)); in foo()
135 DEFINE(IA64_SWITCH_STACK_AR_FPSR_OFFSET, offsetof (struct switch_stack, ar_fpsr)); in foo()
136 DEFINE(IA64_SWITCH_STACK_F2_OFFSET, offsetof (struct switch_stack, f2)); in foo()
137 DEFINE(IA64_SWITCH_STACK_F3_OFFSET, offsetof (struct switch_stack, f3)); in foo()
138 DEFINE(IA64_SWITCH_STACK_F4_OFFSET, offsetof (struct switch_stack, f4)); in foo()
139 DEFINE(IA64_SWITCH_STACK_F5_OFFSET, offsetof (struct switch_stack, f5)); in foo()
140 DEFINE(IA64_SWITCH_STACK_F12_OFFSET, offsetof (struct switch_stack, f12)); in foo()
141 DEFINE(IA64_SWITCH_STACK_F13_OFFSET, offsetof (struct switch_stack, f13)); in foo()
142 DEFINE(IA64_SWITCH_STACK_F14_OFFSET, offsetof (struct switch_stack, f14)); in foo()
[all …]
Dunaligned.c198 #define RSO(x) ((size_t) &((struct switch_stack *)0)->x)
307 struct switch_stack *sw = (struct switch_stack *) regs - 1; in set_rse_reg()
380 struct switch_stack *sw = (struct switch_stack *) regs - 1; in get_rse_reg()
453 struct switch_stack *sw = (struct switch_stack *) regs - 1; in setreg()
519 struct switch_stack *sw = (struct switch_stack *)regs - 1; in setfpreg()
580 struct switch_stack *sw = (struct switch_stack *) regs - 1; in getfpreg()
627 struct switch_stack *sw = (struct switch_stack *) regs - 1; in getreg()
Dprocess.c421 struct switch_stack *child_stack, *stack; in copy_thread()
435 stack = ((struct switch_stack *) regs) - 1; in copy_thread()
438 child_stack = (struct switch_stack *) child_ptregs - 1; in copy_thread()
658 struct switch_stack sw; in kernel_thread()
Dptrace.c249 get_rnat (struct task_struct *task, struct switch_stack *sw, in get_rnat()
309 put_rnat (struct task_struct *task, struct switch_stack *sw, in put_rnat()
402 ia64_peek (struct task_struct *child, struct switch_stack *child_stack, in ia64_peek()
464 ia64_poke (struct task_struct *child, struct switch_stack *child_stack, in ia64_poke()
535 ia64_sync_user_rbs (struct task_struct *child, struct switch_stack *sw, in ia64_sync_user_rbs()
554 ia64_sync_kernel_rbs (struct task_struct *child, struct switch_stack *sw, in ia64_sync_kernel_rbs()
573 typedef long (*syncfunc_t)(struct task_struct *, struct switch_stack *,
854 struct switch_stack *sw; in ptrace_getregs()
864 sw = (struct switch_stack *) (child->thread.ksp + 16); in ptrace_getregs()
997 struct switch_stack *sw; in ptrace_setregs()
[all …]
/arch/ia64/oprofile/
Dbacktrace.c73 struct switch_stack *sw; in do_ia64_backtrace()
77 sw = (struct switch_stack *)(info+1); in do_ia64_backtrace()
79 sw = (struct switch_stack *)(((unsigned long)sw + 15) & ~15); in do_ia64_backtrace()
/arch/m68k/kernel/
Dprocess.c45 struct switch_stack *sw = (struct switch_stack *)tsk->thread.ksp; in thread_saved_pc()
226 struct switch_stack * childstack, *stack; in copy_thread()
235 stack = ((struct switch_stack *) retp) - 1; in copy_thread()
237 childstack = ((struct switch_stack *) childregs) - 1; in copy_thread()
369 fp = ((struct switch_stack *)p->thread.ksp)->a6; in get_wchan()
Dsignal_no.c258 ((struct switch_stack *)regs - 1)->a5 = context.sc_a5; in restore_sigcontext()
279 rt_restore_ucontext(struct pt_regs *regs, struct switch_stack *sw, in rt_restore_ucontext()
330 struct switch_stack *sw = (struct switch_stack *) &__unused; in do_sigreturn()
362 struct switch_stack *sw = (struct switch_stack *) &__unused; in do_rt_sigreturn()
475 sc->sc_a5 = ((struct switch_stack *)regs - 1)->a5; in setup_sigcontext()
486 struct switch_stack *sw = (struct switch_stack *)regs - 1; in rt_setup_ucontext()
566 ((struct switch_stack *)regs - 1)->a5 = current->mm->start_data; in setup_frame()
630 ((struct switch_stack *)regs - 1)->a5 = current->mm->start_data; in setup_rt_frame()
Dsignal_mm.c386 struct switch_stack *sw = (struct switch_stack *)regs - 1; in mangle_kernel_stack()
396 #define frame_offset (sizeof(struct pt_regs)+sizeof(struct switch_stack)) in mangle_kernel_stack()
462 rt_restore_ucontext(struct pt_regs *regs, struct switch_stack *sw, in rt_restore_ucontext()
516 struct switch_stack *sw = (struct switch_stack *) &__unused; in do_sigreturn()
545 struct switch_stack *sw = (struct switch_stack *) &__unused; in do_rt_sigreturn()
711 struct switch_stack *sw = (struct switch_stack *)regs - 1; in rt_setup_ucontext()
Dptrace.c44 #define SW_REG(reg) ((long)&((struct switch_stack *)0)->reg \
45 - sizeof(struct switch_stack))
/arch/alpha/kernel/
Dprocess.c284 struct switch_stack * childstack, *stack; in copy_thread()
299 stack = ((struct switch_stack *) regs) - 1; in copy_thread()
300 childstack = ((struct switch_stack *) childregs) - 1; in copy_thread()
329 struct switch_stack * sw = ((struct switch_stack *) pt) - 1; in dump_elf_thread()
382 struct switch_stack *sw = (struct switch_stack *)task_pt_regs(task) - 1; in dump_elf_task_fp()
Dsignal.c37 static void do_signal(struct pt_regs *, struct switch_stack *,
176 struct switch_stack *sw) in restore_sigcontext()
231 struct switch_stack *sw) in do_sigreturn()
266 struct switch_stack *sw) in do_rt_sigreturn()
315 struct switch_stack *sw, unsigned long mask, unsigned long sp) in setup_sigcontext()
371 struct pt_regs *regs, struct switch_stack * sw) in setup_frame()
423 sigset_t *set, struct pt_regs *regs, struct switch_stack * sw) in setup_rt_frame()
490 sigset_t *oldset, struct pt_regs * regs, struct switch_stack *sw) in handle_signal()
543 do_signal(struct pt_regs * regs, struct switch_stack * sw, in do_signal()
609 do_notify_resume(struct pt_regs *regs, struct switch_stack *sw, in do_notify_resume()
Dptrace.c76 (PAGE_SIZE*2 - sizeof(struct pt_regs) - sizeof(struct switch_stack) \
77 + offsetof(struct switch_stack, reg))
/arch/ia64/include/asm/
Dptrace.h181 struct switch_stack { struct
303 extern long ia64_peek (struct task_struct *, struct switch_stack *, unsigned long,
305 extern long ia64_poke (struct task_struct *, struct switch_stack *, unsigned long,
310 extern long ia64_sync_user_rbs (struct task_struct *, struct switch_stack *,
Dunwind.h17 struct switch_stack; /* forward declaration */
68 struct switch_stack *sw;
118 struct switch_stack *sw);
Dmca.h152 struct switch_stack *,
/arch/m68k/include/asm/
Delf.h96 struct switch_stack *sw = ((struct switch_stack *)regs) - 1; \
Da.out-core.h25 struct switch_stack *sw; in aout_dump_thread()
41 sw = ((struct switch_stack *)regs) - 1; in aout_dump_thread()
Dptrace.h58 struct switch_stack { struct
Dprocessor.h132 ((struct switch_stack *)(_regs))[-1].a6 = 0; \
/arch/alpha/include/asm/
Da.out-core.h25 struct switch_stack * sw = ((struct switch_stack *) pt) - 1; in aout_dump_thread()
Dptrace.h57 struct switch_stack { struct
/arch/cris/arch-v32/kernel/
Dprocess.c139 struct switch_stack *swstack; in copy_thread()
159 swstack = ((struct switch_stack *) childregs) - 1; in copy_thread()
/arch/cris/include/arch-v10/arch/
Dptrace.h95 struct switch_stack { struct
/arch/cris/arch-v10/kernel/
Dprocess.c124 struct switch_stack *swstack; in copy_thread()
140 swstack = ((struct switch_stack *)childregs) - 1; in copy_thread()
/arch/cris/include/arch-v32/arch/
Dptrace.h95 struct switch_stack { struct

12