Home
last modified time | relevance | path

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

/linux-4.1.27/arch/ia64/kernel/
Dasm-offsets.c27 DEFINE(IA64_SWITCH_STACK_SIZE, sizeof (struct switch_stack)); in foo()
131 DEFINE(IA64_SWITCH_STACK_CALLER_UNAT_OFFSET, offsetof (struct switch_stack, caller_unat)); in foo()
132 DEFINE(IA64_SWITCH_STACK_AR_FPSR_OFFSET, offsetof (struct switch_stack, ar_fpsr)); in foo()
133 DEFINE(IA64_SWITCH_STACK_F2_OFFSET, offsetof (struct switch_stack, f2)); in foo()
134 DEFINE(IA64_SWITCH_STACK_F3_OFFSET, offsetof (struct switch_stack, f3)); in foo()
135 DEFINE(IA64_SWITCH_STACK_F4_OFFSET, offsetof (struct switch_stack, f4)); in foo()
136 DEFINE(IA64_SWITCH_STACK_F5_OFFSET, offsetof (struct switch_stack, f5)); in foo()
137 DEFINE(IA64_SWITCH_STACK_F12_OFFSET, offsetof (struct switch_stack, f12)); in foo()
138 DEFINE(IA64_SWITCH_STACK_F13_OFFSET, offsetof (struct switch_stack, f13)); in foo()
139 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()
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 *,
827 struct switch_stack *sw; in ptrace_getregs()
837 sw = (struct switch_stack *) (child->thread.ksp + 16); in ptrace_getregs()
970 struct switch_stack *sw; in ptrace_setregs()
[all …]
Dprocess.c339 struct switch_stack *child_stack, *stack; in copy_thread()
346 child_stack = (struct switch_stack *) child_ptregs - 1; in copy_thread()
409 stack = ((struct switch_stack *) regs) - 1; in copy_thread()
Dmca.c965 const struct switch_stack *sw, in ia64_mca_modify_original_stack()
975 struct switch_stack *old_sw; in ia64_mca_modify_original_stack()
977 sizeof(struct switch_stack) + 16; in ia64_mca_modify_original_stack()
1107 p -= sizeof(struct switch_stack); in ia64_mca_modify_original_stack()
1108 old_sw = (struct switch_stack *)p; in ia64_mca_modify_original_stack()
1282 ia64_mca_handler(struct pt_regs *regs, struct switch_stack *sw, in ia64_mca_handler()
1664 ia64_init_handler(struct pt_regs *regs, struct switch_stack *sw, in ia64_init_handler()
Dunwind.c1822 if (off >= offsetof(struct switch_stack, r4) && off <= offsetof(struct switch_stack, r7)) in run_script()
1828 s[val+1] = (offsetof(struct switch_stack, ar_unat) - off) | UNW_NAT_MEMSTK; in run_script()
2001 struct switch_stack *sw, unsigned long stktop) in init_frame_info()
2051 unw_init_frame_info (struct unw_frame_info *info, struct task_struct *t, struct switch_stack *sw) in unw_init_frame_info()
2073 struct switch_stack *sw = (struct switch_stack *) (t->thread.ksp + 16); in unw_init_from_blocked_task()
/linux-4.1.27/arch/nios2/kernel/
Dasm-offsets.c67 OFFSET(SW_R16, switch_stack, r16); in main()
68 OFFSET(SW_R17, switch_stack, r17); in main()
69 OFFSET(SW_R18, switch_stack, r18); in main()
70 OFFSET(SW_R19, switch_stack, r19); in main()
71 OFFSET(SW_R20, switch_stack, r20); in main()
72 OFFSET(SW_R21, switch_stack, r21); in main()
73 OFFSET(SW_R22, switch_stack, r22); in main()
74 OFFSET(SW_R23, switch_stack, r23); in main()
75 OFFSET(SW_FP, switch_stack, fp); in main()
76 OFFSET(SW_GP, switch_stack, gp); in main()
[all …]
Dprocess.c104 struct switch_stack *stack; in copy_thread()
105 struct switch_stack *childstack = in copy_thread()
106 ((struct switch_stack *)childregs) - 1; in copy_thread()
110 sizeof(struct switch_stack) + sizeof(struct pt_regs)); in copy_thread()
128 stack = ((struct switch_stack *) regs) - 1; in copy_thread()
226 fp = ((struct switch_stack *)p->thread.ksp)->fp; /* ;dgt2 */ in get_wchan()
Dptrace.c27 const struct switch_stack *sw = (struct switch_stack *)regs - 1; in genregs_get()
73 const struct switch_stack *sw = (struct switch_stack *)regs - 1; in genregs_set()
Dsignal.c38 struct switch_stack *sw, in rt_restore_ucontext()
101 asmlinkage int do_rt_sigreturn(struct switch_stack *sw) in do_rt_sigreturn()
129 struct switch_stack *sw = (struct switch_stack *)regs - 1; in rt_setup_ucontext()
Dmisaligned.c237 offset = -sizeof(struct switch_stack); in misaligned_calc_reg_offsets()
/linux-4.1.27/arch/alpha/kernel/
Dprocess.c252 struct switch_stack *childstack, *stack; in copy_thread()
254 childstack = ((struct switch_stack *) childregs) - 1; in copy_thread()
261 sizeof(struct switch_stack) + sizeof(struct pt_regs)); in copy_thread()
282 stack = ((struct switch_stack *) regs) - 1; in copy_thread()
295 struct switch_stack * sw = ((struct switch_stack *) pt) - 1; in dump_elf_thread()
348 struct switch_stack *sw = (struct switch_stack *)task_pt_regs(task) - 1; in dump_elf_task_fp()
Dsignal.c150 struct switch_stack *sw = (struct switch_stack *)regs - 1; in restore_sigcontext()
284 struct switch_stack *sw = (struct switch_stack *)regs - 1; in setup_sigcontext()
Dptrace.c78 (PAGE_SIZE*2 - sizeof(struct pt_regs) - sizeof(struct switch_stack) \
79 + offsetof(struct switch_stack, reg))
/linux-4.1.27/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()
/linux-4.1.27/arch/ia64/include/asm/
Dptrace.h119 extern long ia64_peek (struct task_struct *, struct switch_stack *, unsigned long,
121 extern long ia64_poke (struct task_struct *, struct switch_stack *, unsigned long,
126 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 *,
/linux-4.1.27/arch/m68k/kernel/
Dprocess.c46 struct switch_stack *sw = (struct switch_stack *)tsk->thread.ksp; in thread_saved_pc()
136 struct switch_stack sw; in copy_thread()
266 fp = ((struct switch_stack *)p->thread.ksp)->a6; in get_wchan()
Dsignal.c216 ((struct switch_stack *)regs - 1)->a5 = current->mm->start_data; in adjustformat()
226 sc->sc_a5 = ((struct switch_stack *)regs - 1)->a5; in save_a5_state()
611 struct switch_stack *sw = (struct switch_stack *)regs - 1; in mangle_kernel_stack()
621 #define frame_offset (sizeof(struct pt_regs)+sizeof(struct switch_stack)) in mangle_kernel_stack()
687 rt_restore_ucontext(struct pt_regs *regs, struct switch_stack *sw, in rt_restore_ucontext()
742 struct switch_stack *sw = (struct switch_stack *) &__unused; in do_sigreturn()
769 struct switch_stack *sw = (struct switch_stack *) &__unused; in do_rt_sigreturn()
809 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))
/linux-4.1.27/arch/cris/arch-v32/kernel/
Dprocess.c109 struct switch_stack *swstack = ((struct switch_stack *) childregs) - 1; in copy_thread()
118 sizeof(struct switch_stack) + sizeof(struct pt_regs)); in copy_thread()
/linux-4.1.27/arch/cris/arch-v10/kernel/
Dprocess.c101 struct switch_stack *swstack = ((struct switch_stack *)childregs) - 1; in copy_thread()
109 sizeof(struct switch_stack) + sizeof(struct pt_regs)); in copy_thread()
/linux-4.1.27/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()
/linux-4.1.27/arch/nios2/include/asm/
Delf.h75 struct switch_stack *sw = ((struct switch_stack *)regs) - 1; \
Dptrace.h52 struct switch_stack { struct
/linux-4.1.27/arch/alpha/include/asm/
Da.out-core.h25 struct switch_stack * sw = ((struct switch_stack *) pt) - 1; in aout_dump_thread()
/linux-4.1.27/arch/alpha/include/uapi/asm/
Dptrace.h57 struct switch_stack { struct
/linux-4.1.27/arch/m68k/include/uapi/asm/
Dptrace.h58 struct switch_stack { struct
/linux-4.1.27/arch/cris/include/arch-v10/arch/
Dptrace.h95 struct switch_stack { struct
/linux-4.1.27/arch/cris/include/arch-v32/arch/
Dptrace.h95 struct switch_stack { struct
/linux-4.1.27/arch/ia64/include/uapi/asm/
Dptrace.h156 struct switch_stack { struct
/linux-4.1.27/Documentation/ia64/
Dmca.txt155 i.e. the OS does not copy pt_regs and switch_stack to the user space
168 skeleton struct pt_regs and switch_stack to the original stack, fills