/Linux-v5.10/arch/ia64/kernel/ |
D | asm-offsets.c | 28 DEFINE(IA64_SWITCH_STACK_SIZE, sizeof (struct switch_stack)); in foo() 128 DEFINE(IA64_SWITCH_STACK_CALLER_UNAT_OFFSET, offsetof (struct switch_stack, caller_unat)); in foo() 129 DEFINE(IA64_SWITCH_STACK_AR_FPSR_OFFSET, offsetof (struct switch_stack, ar_fpsr)); in foo() 130 DEFINE(IA64_SWITCH_STACK_F2_OFFSET, offsetof (struct switch_stack, f2)); in foo() 131 DEFINE(IA64_SWITCH_STACK_F3_OFFSET, offsetof (struct switch_stack, f3)); in foo() 132 DEFINE(IA64_SWITCH_STACK_F4_OFFSET, offsetof (struct switch_stack, f4)); in foo() 133 DEFINE(IA64_SWITCH_STACK_F5_OFFSET, offsetof (struct switch_stack, f5)); in foo() 134 DEFINE(IA64_SWITCH_STACK_F12_OFFSET, offsetof (struct switch_stack, f12)); in foo() 135 DEFINE(IA64_SWITCH_STACK_F13_OFFSET, offsetof (struct switch_stack, f13)); in foo() 136 DEFINE(IA64_SWITCH_STACK_F14_OFFSET, offsetof (struct switch_stack, f14)); in foo() [all …]
|
D | unaligned.c | 201 #define RSO(x) ((size_t) &((struct switch_stack *)0)->x) 310 struct switch_stack *sw = (struct switch_stack *) regs - 1; in set_rse_reg() 383 struct switch_stack *sw = (struct switch_stack *) regs - 1; in get_rse_reg() 456 struct switch_stack *sw = (struct switch_stack *) regs - 1; in setreg() 522 struct switch_stack *sw = (struct switch_stack *)regs - 1; in setfpreg() 583 struct switch_stack *sw = (struct switch_stack *) regs - 1; in getfpreg() 630 struct switch_stack *sw = (struct switch_stack *) regs - 1; in getreg()
|
D | ptrace.c | 248 get_rnat (struct task_struct *task, struct switch_stack *sw, in get_rnat() 308 put_rnat (struct task_struct *task, struct switch_stack *sw, in put_rnat() 401 ia64_peek (struct task_struct *child, struct switch_stack *child_stack, in ia64_peek() 463 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() 555 ia64_sync_kernel_rbs (struct task_struct *child, struct switch_stack *sw, in ia64_sync_kernel_rbs() 575 typedef long (*syncfunc_t)(struct task_struct *, struct switch_stack *, 829 struct switch_stack *sw; in ptrace_getregs() 839 sw = (struct switch_stack *) (child->thread.ksp + 16); in ptrace_getregs() 972 struct switch_stack *sw; in ptrace_setregs() [all …]
|
D | process.c | 301 struct switch_stack *child_stack, *stack; in copy_thread() 308 child_stack = (struct switch_stack *) child_ptregs - 1; in copy_thread() 371 stack = ((struct switch_stack *) regs) - 1; in copy_thread()
|
/Linux-v5.10/arch/nios2/kernel/ |
D | asm-offsets.c | 54 OFFSET(SW_R16, switch_stack, r16); in main() 55 OFFSET(SW_R17, switch_stack, r17); in main() 56 OFFSET(SW_R18, switch_stack, r18); in main() 57 OFFSET(SW_R19, switch_stack, r19); in main() 58 OFFSET(SW_R20, switch_stack, r20); in main() 59 OFFSET(SW_R21, switch_stack, r21); in main() 60 OFFSET(SW_R22, switch_stack, r22); in main() 61 OFFSET(SW_R23, switch_stack, r23); in main() 62 OFFSET(SW_FP, switch_stack, fp); in main() 63 OFFSET(SW_GP, switch_stack, gp); in main() [all …]
|
D | process.c | 108 struct switch_stack *stack; in copy_thread() 109 struct switch_stack *childstack = in copy_thread() 110 ((struct switch_stack *)childregs) - 1; in copy_thread() 114 sizeof(struct switch_stack) + sizeof(struct pt_regs)); in copy_thread() 132 stack = ((struct switch_stack *) regs) - 1; in copy_thread() 230 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() 53 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()
|
/Linux-v5.10/arch/alpha/kernel/ |
D | process.c | 246 struct switch_stack *childstack, *stack; in copy_thread() 248 childstack = ((struct switch_stack *) childregs) - 1; in copy_thread() 255 sizeof(struct switch_stack) + sizeof(struct pt_regs)); in copy_thread() 277 stack = ((struct switch_stack *) regs) - 1; in copy_thread() 290 struct switch_stack * sw = ((struct switch_stack *) pt) - 1; in dump_elf_thread() 343 struct switch_stack *sw = (struct switch_stack *)task_pt_regs(task) - 1; in dump_elf_task_fp()
|
D | signal.c | 152 struct switch_stack *sw = (struct switch_stack *)regs - 1; in restore_sigcontext() 274 struct switch_stack *sw = (struct switch_stack *)regs - 1; in setup_sigcontext()
|
/Linux-v5.10/arch/csky/kernel/ |
D | process.c | 39 struct switch_stack *childstack; in copy_thread() 46 childstack = ((struct switch_stack *) childregs) - 1; in copy_thread() 47 memset(childstack, 0, sizeof(struct switch_stack)); in copy_thread()
|
/Linux-v5.10/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-v5.10/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 | 18 struct switch_stack; /* forward declaration */ 69 struct switch_stack *sw; 119 struct switch_stack *sw);
|
/Linux-v5.10/arch/csky/include/asm/ |
D | thread_info.h | 41 ((unsigned long)(((struct switch_stack *)(tsk->thread.sp))->r8)) 47 ((unsigned long)(((struct switch_stack *)(tsk->thread.sp))->r15))
|
/Linux-v5.10/arch/m68k/include/asm/ |
D | elf.h | 97 struct switch_stack *sw = ((struct switch_stack *)regs) - 1; \
|
/Linux-v5.10/arch/nios2/include/asm/ |
D | elf.h | 62 struct switch_stack *sw = ((struct switch_stack *)regs) - 1; \
|
D | ptrace.h | 52 struct switch_stack { struct
|
/Linux-v5.10/arch/m68k/kernel/ |
D | signal.c | 208 sc->sc_a5 = ((struct switch_stack *)regs - 1)->a5; in save_a5_state() 652 struct switch_stack *sw = (struct switch_stack *)regs - 1; in mangle_kernel_stack() 663 #define frame_offset (sizeof(struct pt_regs)+sizeof(struct switch_stack)) in mangle_kernel_stack() 731 rt_restore_ucontext(struct pt_regs *regs, struct switch_stack *sw, in rt_restore_ucontext() 784 asmlinkage int do_sigreturn(struct pt_regs *regs, struct switch_stack *sw) in do_sigreturn() 809 asmlinkage int do_rt_sigreturn(struct pt_regs *regs, struct switch_stack *sw) in do_rt_sigreturn() 849 struct switch_stack *sw = (struct switch_stack *)regs - 1; in rt_setup_ucontext()
|
D | process.c | 145 struct switch_stack sw; in copy_thread() 275 fp = ((struct switch_stack *)p->thread.ksp)->a6; in get_wchan()
|
D | ptrace.c | 44 #define SW_REG(reg) ((long)&((struct switch_stack *)0)->reg \ 45 - sizeof(struct switch_stack))
|
/Linux-v5.10/arch/csky/abiv1/inc/abi/ |
D | switch_context.h | 7 struct switch_stack { struct
|
/Linux-v5.10/arch/csky/abiv2/inc/abi/ |
D | switch_context.h | 7 struct switch_stack { struct
|
/Linux-v5.10/arch/alpha/include/uapi/asm/ |
D | ptrace.h | 58 struct switch_stack { struct
|
/Linux-v5.10/arch/m68k/include/uapi/asm/ |
D | ptrace.h | 59 struct switch_stack { struct
|