| /Linux-v5.4/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 | 252 get_rnat (struct task_struct *task, struct switch_stack *sw,  in get_rnat()312 put_rnat (struct task_struct *task, struct switch_stack *sw,  in put_rnat()
 405 ia64_peek (struct task_struct *child, struct switch_stack *child_stack,  in ia64_peek()
 467 ia64_poke (struct task_struct *child, struct switch_stack *child_stack,  in ia64_poke()
 539 ia64_sync_user_rbs (struct task_struct *child, struct switch_stack *sw,  in ia64_sync_user_rbs()
 559 ia64_sync_kernel_rbs (struct task_struct *child, struct switch_stack *sw,  in ia64_sync_kernel_rbs()
 579 typedef long (*syncfunc_t)(struct task_struct *, struct switch_stack *,
 833 	struct switch_stack *sw;  in ptrace_getregs()
 843 	sw = (struct switch_stack *) (child->thread.ksp + 16);  in ptrace_getregs()
 976 	struct switch_stack *sw;  in ptrace_setregs()
 [all …]
 
 | 
| /Linux-v5.4/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 | 28 	const struct switch_stack *sw = (struct switch_stack *)regs - 1;  in genregs_get()74 	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.4/arch/csky/kernel/ | 
| D | process.c | 32 	struct switch_stack *sw = (struct switch_stack *)tsk->thread.ksp;  in thread_saved_pc()42 	struct switch_stack *childstack;  in copy_thread()
 49 	childstack = ((struct switch_stack *) childregs) - 1;  in copy_thread()
 50 	memset(childstack, 0, sizeof(struct switch_stack));  in copy_thread()
 
 | 
| /Linux-v5.4/arch/alpha/kernel/ | 
| D | process.c | 248 	struct switch_stack *childstack, *stack;  in copy_thread()250 	childstack = ((struct switch_stack *) childregs) - 1;  in copy_thread()
 257 			sizeof(struct switch_stack) + sizeof(struct pt_regs));  in copy_thread()
 279 	stack = ((struct switch_stack *) regs) - 1;  in copy_thread()
 292 	struct switch_stack * sw = ((struct switch_stack *) pt) - 1;  in dump_elf_thread()
 345 	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.4/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.4/arch/ia64/include/asm/ | 
| D | ptrace.h | 120   extern long ia64_peek (struct task_struct *, struct switch_stack *, unsigned long,122   extern long ia64_poke (struct task_struct *, struct switch_stack *, unsigned long,
 127   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);
 
 | 
| D | mca.h | 153 			      struct switch_stack *,
 | 
| /Linux-v5.4/arch/m68k/include/asm/ | 
| D | elf.h | 97 	  struct switch_stack *sw = ((struct switch_stack *)regs) - 1;	\
 | 
| /Linux-v5.4/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.4/arch/m68k/kernel/ | 
| D | signal.c | 209 	sc->sc_a5 = ((struct switch_stack *)regs - 1)->a5;  in save_a5_state()653 		struct switch_stack *sw = (struct switch_stack *)regs - 1;  in mangle_kernel_stack()
 664 #define frame_offset (sizeof(struct pt_regs)+sizeof(struct switch_stack))  in mangle_kernel_stack()
 732 rt_restore_ucontext(struct pt_regs *regs, struct switch_stack *sw,  in rt_restore_ucontext()
 785 asmlinkage int do_sigreturn(struct pt_regs *regs, struct switch_stack *sw)  in do_sigreturn()
 810 asmlinkage int do_rt_sigreturn(struct pt_regs *regs, struct switch_stack *sw)  in do_rt_sigreturn()
 850 	struct switch_stack *sw = (struct switch_stack *)regs - 1;  in rt_setup_ucontext()
 
 | 
| D | process.c | 126 		struct switch_stack sw;  in copy_thread()256 	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-v5.4/arch/csky/abiv1/inc/abi/ | 
| D | switch_context.h | 7 struct switch_stack {  struct
 | 
| /Linux-v5.4/arch/csky/abiv2/inc/abi/ | 
| D | switch_context.h | 7 struct switch_stack {  struct
 | 
| /Linux-v5.4/arch/alpha/include/uapi/asm/ | 
| D | ptrace.h | 58 struct switch_stack {  struct
 | 
| /Linux-v5.4/arch/m68k/include/uapi/asm/ | 
| D | ptrace.h | 59 struct switch_stack {  struct
 | 
| /Linux-v5.4/arch/csky/include/asm/ | 
| D | thread_info.h | 41 	((unsigned long)(((struct switch_stack *)(tsk->thread.ksp))->r8))
 |