/arch/ia64/kernel/ |
D | asm-offsets.c | 30 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 …]
|
D | unaligned.c | 198 #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()
|
D | process.c | 421 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()
|
D | ptrace.c | 249 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/ |
D | backtrace.c | 73 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/ |
D | process.c | 45 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()
|
D | signal_no.c | 258 ((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()
|
D | signal_mm.c | 386 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()
|
D | ptrace.c | 44 #define SW_REG(reg) ((long)&((struct switch_stack *)0)->reg \ 45 - sizeof(struct switch_stack))
|
/arch/alpha/kernel/ |
D | process.c | 284 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()
|
D | signal.c | 37 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()
|
D | ptrace.c | 76 (PAGE_SIZE*2 - sizeof(struct pt_regs) - sizeof(struct switch_stack) \ 77 + offsetof(struct switch_stack, reg))
|
/arch/ia64/include/asm/ |
D | ptrace.h | 181 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 *,
|
D | unwind.h | 17 struct switch_stack; /* forward declaration */ 68 struct switch_stack *sw; 118 struct switch_stack *sw);
|
D | mca.h | 152 struct switch_stack *,
|
/arch/m68k/include/asm/ |
D | elf.h | 96 struct switch_stack *sw = ((struct switch_stack *)regs) - 1; \
|
D | a.out-core.h | 25 struct switch_stack *sw; in aout_dump_thread() 41 sw = ((struct switch_stack *)regs) - 1; in aout_dump_thread()
|
D | ptrace.h | 58 struct switch_stack { struct
|
D | processor.h | 132 ((struct switch_stack *)(_regs))[-1].a6 = 0; \
|
/arch/alpha/include/asm/ |
D | a.out-core.h | 25 struct switch_stack * sw = ((struct switch_stack *) pt) - 1; in aout_dump_thread()
|
D | ptrace.h | 57 struct switch_stack { struct
|
/arch/cris/arch-v32/kernel/ |
D | process.c | 139 struct switch_stack *swstack; in copy_thread() 159 swstack = ((struct switch_stack *) childregs) - 1; in copy_thread()
|
/arch/cris/include/arch-v10/arch/ |
D | ptrace.h | 95 struct switch_stack { struct
|
/arch/cris/arch-v10/kernel/ |
D | process.c | 124 struct switch_stack *swstack; in copy_thread() 140 swstack = ((struct switch_stack *)childregs) - 1; in copy_thread()
|
/arch/cris/include/arch-v32/arch/ |
D | ptrace.h | 95 struct switch_stack { struct
|