/Linux-v6.6/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 *, 772 struct switch_stack *sw; in ptrace_getregs() 782 sw = (struct switch_stack *) (child->thread.ksp + 16); in ptrace_getregs() 915 struct switch_stack *sw; in ptrace_setregs() [all …]
|
D | process.c | 307 struct switch_stack *child_stack, *stack; in copy_thread() 314 child_stack = (struct switch_stack *) child_ptregs - 1; in copy_thread() 377 stack = ((struct switch_stack *) regs) - 1; in copy_thread()
|
/Linux-v6.6/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 | 109 struct switch_stack *stack; in copy_thread() 110 struct switch_stack *childstack = in copy_thread() 111 ((struct switch_stack *)childregs) - 1; in copy_thread() 115 sizeof(struct switch_stack) + sizeof(struct pt_regs)); in copy_thread() 133 stack = ((struct switch_stack *) regs) - 1; in copy_thread() 228 fp = ((struct switch_stack *)p->thread.ksp)->fp; /* ;dgt2 */ in __get_wchan()
|
D | ptrace.c | 26 const struct switch_stack *sw = (struct switch_stack *)regs - 1; in genregs_get() 52 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() 130 struct switch_stack *sw = (struct switch_stack *)regs - 1; in rt_setup_ucontext()
|
/Linux-v6.6/arch/alpha/kernel/ |
D | process.c | 243 struct switch_stack *childstack, *stack; in copy_thread() 245 childstack = ((struct switch_stack *) childregs) - 1; in copy_thread() 253 sizeof(struct switch_stack) + sizeof(struct pt_regs)); in copy_thread() 276 stack = ((struct switch_stack *) regs) - 1; in copy_thread() 289 struct switch_stack * sw = ((struct switch_stack *) pt) - 1; in dump_elf_thread()
|
D | signal.c | 152 struct switch_stack *sw = (struct switch_stack *)regs - 1; in restore_sigcontext() 275 struct switch_stack *sw = (struct switch_stack *)regs - 1; in setup_sigcontext()
|
/Linux-v6.6/arch/csky/kernel/ |
D | process.c | 38 struct switch_stack *childstack; in copy_thread() 45 childstack = ((struct switch_stack *) childregs) - 1; in copy_thread() 46 memset(childstack, 0, sizeof(struct switch_stack)); in copy_thread()
|
/Linux-v6.6/arch/ia64/include/asm/ |
D | ptrace.h | 118 extern long ia64_peek (struct task_struct *, struct switch_stack *, unsigned long, 120 extern long ia64_poke (struct task_struct *, struct switch_stack *, unsigned long, 125 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-v6.6/arch/m68k/kernel/ |
D | entry.S | 80 movel %sp,%a1 | switch_stack pointer 90 movel %sp,%a1 | switch_stack pointer 96 | [original pt_regs address] [original switch_stack address] 97 | [gap] [switch_stack] [pt_regs] [exception frame] 102 | [original pt_regs address] [original switch_stack address] 103 | [unused part of the gap] [moved switch_stack] [moved pt_regs] 105 | return value of do_{rt_,}sigreturn() points to moved switch_stack.
|
D | signal.c | 208 sc->sc_a5 = ((struct switch_stack *)regs - 1)->a5; in save_a5_state() 660 void *p = (struct switch_stack *)regs - 1; in mangle_kernel_stack() 662 int size = sizeof(struct pt_regs)+sizeof(struct switch_stack); in mangle_kernel_stack() 709 rt_restore_ucontext(struct pt_regs *regs, struct switch_stack *sw, in rt_restore_ucontext() 756 asmlinkage void *do_sigreturn(struct pt_regs *regs, struct switch_stack *sw) in do_sigreturn() 783 asmlinkage void *do_rt_sigreturn(struct pt_regs *regs, struct switch_stack *sw) in do_rt_sigreturn() 831 struct switch_stack *sw = (struct switch_stack *)regs - 1; in rt_setup_ucontext()
|
D | process.c | 147 struct switch_stack sw; in copy_thread() 274 fp = ((struct switch_stack *)p->thread.ksp)->a6; in __get_wchan()
|
D | ptrace.c | 45 #define SW_REG(reg) ((long)&((struct switch_stack *)0)->reg \ 46 - sizeof(struct switch_stack))
|
/Linux-v6.6/arch/csky/include/asm/ |
D | thread_info.h | 37 ((unsigned long)(((struct switch_stack *)(tsk->thread.sp))->r8)) 43 ((unsigned long)(((struct switch_stack *)(tsk->thread.sp))->r15))
|
/Linux-v6.6/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-v6.6/arch/m68k/include/asm/ |
D | elf.h | 104 struct switch_stack *sw = ((struct switch_stack *)regs) - 1; \
|
/Linux-v6.6/arch/csky/abiv1/inc/abi/ |
D | switch_context.h | 6 struct switch_stack { struct
|
/Linux-v6.6/arch/csky/abiv2/inc/abi/ |
D | switch_context.h | 6 struct switch_stack { struct
|
/Linux-v6.6/arch/alpha/include/uapi/asm/ |
D | ptrace.h | 58 struct switch_stack { struct
|
/Linux-v6.6/arch/m68k/include/uapi/asm/ |
D | ptrace.h | 59 struct switch_stack { struct
|