Home
last modified time | relevance | path

Searched refs:switch_stack (Results 1 – 25 of 31) 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()
/arch/m68k/kernel/
Dprocess.c66 struct switch_stack *sw = (struct switch_stack *)tsk->thread.ksp; in thread_saved_pc()
241 struct switch_stack * childstack, *stack; in copy_thread()
250 stack = ((struct switch_stack *) retp) - 1; in copy_thread()
252 childstack = ((struct switch_stack *) childregs) - 1; in copy_thread()
345 fp = ((struct switch_stack *)p->thread.ksp)->a6; in get_wchan()
Dsignal.c366 struct switch_stack *sw = (struct switch_stack *)regs - 1; in restore_sigcontext()
368 #define frame_offset (sizeof(struct pt_regs)+sizeof(struct switch_stack)) in restore_sigcontext()
409 rt_restore_ucontext(struct pt_regs *regs, struct switch_stack *sw, in rt_restore_ucontext()
470 #define frame_offset (sizeof(struct pt_regs)+sizeof(struct switch_stack)) in rt_restore_ucontext()
512 struct switch_stack *sw = (struct switch_stack *) &__unused; in do_sigreturn()
542 struct switch_stack *sw = (struct switch_stack *) &__unused; in do_rt_sigreturn()
673 struct switch_stack *sw = (struct switch_stack *)regs - 1; in rt_setup_ucontext()
Dptrace.c42 #define SW_REG(reg) ((long)&((struct switch_stack *)0)->reg \
43 - sizeof(struct switch_stack))
/arch/alpha/kernel/
Dprocess.c283 struct switch_stack * childstack, *stack; in copy_thread()
298 stack = ((struct switch_stack *) regs) - 1; in copy_thread()
299 childstack = ((struct switch_stack *) childregs) - 1; in copy_thread()
328 struct switch_stack * sw = ((struct switch_stack *) pt) - 1; in dump_elf_thread()
381 struct switch_stack *sw = (struct switch_stack *)task_pt_regs(task) - 1; in dump_elf_task_fp()
Dsignal.c36 static void do_signal(struct pt_regs *, struct switch_stack *,
147 do_sigsuspend(old_sigset_t mask, struct pt_regs *regs, struct switch_stack *sw) in do_sigsuspend()
169 struct pt_regs *regs, struct switch_stack *sw) in do_rt_sigsuspend()
236 struct switch_stack *sw) in restore_sigcontext()
289 struct switch_stack *sw) in do_sigreturn()
327 struct switch_stack *sw) in do_rt_sigreturn()
379 struct switch_stack *sw, unsigned long mask, unsigned long sp) in setup_sigcontext()
435 struct pt_regs *regs, struct switch_stack * sw) in setup_frame()
487 sigset_t *set, struct pt_regs *regs, struct switch_stack * sw) in setup_rt_frame()
554 sigset_t *oldset, struct pt_regs * regs, struct switch_stack *sw) in handle_signal()
[all …]
/arch/ia64/oprofile/
Dbacktrace.c92 struct switch_stack *sw; in do_ia64_backtrace()
96 sw = (struct switch_stack *)(info+1); in do_ia64_backtrace()
98 sw = (struct switch_stack *)(((unsigned long)sw + 15) & ~15); in do_ia64_backtrace()
/arch/m68knommu/kernel/
Dprocess.c207 struct switch_stack * childstack, *stack; in copy_thread()
216 stack = ((struct switch_stack *) retp) - 1; in copy_thread()
218 childstack = ((struct switch_stack *) childregs) - 1; in copy_thread()
377 fp = ((struct switch_stack *)p->thread.ksp)->a6; in get_wchan()
395 struct switch_stack *sw = (struct switch_stack *)tsk->thread.ksp; in thread_saved_pc()
Dsignal.c293 ((struct switch_stack *)regs - 1)->a5 = context.sc_a5; in restore_sigcontext()
314 rt_restore_ucontext(struct pt_regs *regs, struct switch_stack *sw, in rt_restore_ucontext()
365 struct switch_stack *sw = (struct switch_stack *) &__unused; in do_sigreturn()
397 struct switch_stack *sw = (struct switch_stack *) &__unused; in do_rt_sigreturn()
510 sc->sc_a5 = ((struct switch_stack *)regs - 1)->a5; in setup_sigcontext()
521 struct switch_stack *sw = (struct switch_stack *)regs - 1; in rt_setup_ucontext()
601 ((struct switch_stack *)regs - 1)->a5 = current->mm->start_data; in setup_frame()
665 ((struct switch_stack *)regs - 1)->a5 = current->mm->start_data; in setup_rt_frame()
Dptrace.c42 #define SW_REG(reg) ((long)&((struct switch_stack *)0)->reg \
43 - sizeof(struct switch_stack))
/arch/ia64/include/asm/
Dptrace.h181 struct switch_stack { struct
293 extern long ia64_peek (struct task_struct *, struct switch_stack *, unsigned long,
295 extern long ia64_poke (struct task_struct *, struct switch_stack *, unsigned long,
300 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.h146 struct switch_stack *,
/arch/m68k/include/asm/
Delf_no.h88 struct switch_stack *sw = ((struct switch_stack *)regs) - 1; \
Delf_mm.h97 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_no.h101 ((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/arch-v10/kernel/
Dprocess.c123 struct switch_stack *swstack; in copy_thread()
139 swstack = ((struct switch_stack *)childregs) - 1; in copy_thread()
/arch/cris/include/arch-v10/arch/
Dptrace.h95 struct switch_stack { struct
/arch/cris/include/arch-v32/arch/
Dptrace.h95 struct switch_stack { struct

12