/linux/arch/nios2/kernel/ |
H A 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 …]
|
H A 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()
|
H A 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()
|
H A 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()
|
H A D | misaligned.c | 219 offset = -sizeof(struct switch_stack); in misaligned_calc_reg_offsets()
|
/linux/arch/alpha/kernel/ |
H A 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()
|
H A D | asm-offsets.c | 26 DEFINE(SWITCH_STACK_SIZE, sizeof(struct switch_stack)); in foo()
|
H A 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()
|
H A D | ptrace.c | 78 (PAGE_SIZE*2 - sizeof(struct pt_regs) - sizeof(struct switch_stack) \ 79 + offsetof(struct switch_stack, reg))
|
/linux/arch/csky/kernel/ |
H A 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/arch/m68k/kernel/ |
H A D | signal.h | 6 asmlinkage void *do_sigreturn(struct pt_regs *regs, struct switch_stack *sw); 7 asmlinkage void *do_rt_sigreturn(struct pt_regs *regs, struct switch_stack *sw);
|
H A D | entry.S | 77 movel %sp,%a1 | switch_stack pointer 87 movel %sp,%a1 | switch_stack pointer 93 | [original pt_regs address] [original switch_stack address] 94 | [gap] [switch_stack] [pt_regs] [exception frame] 99 | [original pt_regs address] [original switch_stack address] 100 | [unused part of the gap] [moved switch_stack] [moved pt_regs] 102 | return value of do_{rt_,}sigreturn() points to moved switch_stack.
|
H A D | signal.c | 210 sc->sc_a5 = ((struct switch_stack *)regs - 1)->a5; in save_a5_state() 662 void *p = (struct switch_stack *)regs - 1; in mangle_kernel_stack() 664 int size = sizeof(struct pt_regs)+sizeof(struct switch_stack); in mangle_kernel_stack() 711 rt_restore_ucontext(struct pt_regs *regs, struct switch_stack *sw, in rt_restore_ucontext() 758 asmlinkage void *do_sigreturn(struct pt_regs *regs, struct switch_stack *sw) in do_sigreturn() 785 asmlinkage void *do_rt_sigreturn(struct pt_regs *regs, struct switch_stack *sw) in do_rt_sigreturn() 833 struct switch_stack *sw = (struct switch_stack *)regs - 1; in rt_setup_ucontext()
|
H A D | process.c | 148 struct switch_stack sw; in copy_thread() 275 fp = ((struct switch_stack *)p->thread.ksp)->a6; in __get_wchan()
|
H A D | ptrace.c | 47 #define SW_REG(reg) ((long)&((struct switch_stack *)0)->reg \ 48 - sizeof(struct switch_stack))
|
/linux/arch/csky/include/asm/ |
H A 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/arch/nios2/include/asm/ |
H A D | elf.h | 62 struct switch_stack *sw = ((struct switch_stack *)regs) - 1; \
|
H A D | ptrace.h | 52 struct switch_stack { struct
|
/linux/arch/m68k/include/asm/ |
H A D | elf.h | 104 struct switch_stack *sw = ((struct switch_stack *)regs) - 1; \
|
/linux/arch/csky/abiv1/inc/abi/ |
H A D | switch_context.h | 6 struct switch_stack { struct
|
/linux/arch/csky/abiv2/inc/abi/ |
H A D | switch_context.h | 6 struct switch_stack { struct
|
/linux/arch/alpha/include/uapi/asm/ |
H A D | ptrace.h | 60 struct switch_stack { struct
|