/linux-4.1.27/arch/ia64/kernel/ |
D | asm-offsets.c | 27 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 …]
|
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 | 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 *, 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 …]
|
D | process.c | 339 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()
|
D | mca.c | 965 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()
|
D | unwind.c | 1822 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/ |
D | asm-offsets.c | 67 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 …]
|
D | process.c | 104 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()
|
D | ptrace.c | 27 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()
|
D | signal.c | 38 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()
|
D | misaligned.c | 237 offset = -sizeof(struct switch_stack); in misaligned_calc_reg_offsets()
|
/linux-4.1.27/arch/alpha/kernel/ |
D | process.c | 252 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()
|
D | signal.c | 150 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()
|
D | ptrace.c | 78 (PAGE_SIZE*2 - sizeof(struct pt_regs) - sizeof(struct switch_stack) \ 79 + offsetof(struct switch_stack, reg))
|
/linux-4.1.27/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()
|
/linux-4.1.27/arch/ia64/include/asm/ |
D | ptrace.h | 119 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 *,
|
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 *,
|
/linux-4.1.27/arch/m68k/kernel/ |
D | process.c | 46 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()
|
D | signal.c | 216 ((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()
|
D | ptrace.c | 44 #define SW_REG(reg) ((long)&((struct switch_stack *)0)->reg \ 45 - sizeof(struct switch_stack))
|
/linux-4.1.27/arch/cris/arch-v32/kernel/ |
D | process.c | 109 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/ |
D | process.c | 101 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/ |
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()
|
/linux-4.1.27/arch/nios2/include/asm/ |
D | elf.h | 75 struct switch_stack *sw = ((struct switch_stack *)regs) - 1; \
|
D | ptrace.h | 52 struct switch_stack { struct
|
/linux-4.1.27/arch/alpha/include/asm/ |
D | a.out-core.h | 25 struct switch_stack * sw = ((struct switch_stack *) pt) - 1; in aout_dump_thread()
|
/linux-4.1.27/arch/alpha/include/uapi/asm/ |
D | ptrace.h | 57 struct switch_stack { struct
|
/linux-4.1.27/arch/m68k/include/uapi/asm/ |
D | ptrace.h | 58 struct switch_stack { struct
|
/linux-4.1.27/arch/cris/include/arch-v10/arch/ |
D | ptrace.h | 95 struct switch_stack { struct
|
/linux-4.1.27/arch/cris/include/arch-v32/arch/ |
D | ptrace.h | 95 struct switch_stack { struct
|
/linux-4.1.27/arch/ia64/include/uapi/asm/ |
D | ptrace.h | 156 struct switch_stack { struct
|
/linux-4.1.27/Documentation/ia64/ |
D | mca.txt | 155 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
|