switch_stack 248 arch/alpha/kernel/process.c struct switch_stack *childstack, *stack; switch_stack 250 arch/alpha/kernel/process.c childstack = ((struct switch_stack *) childregs) - 1; switch_stack 257 arch/alpha/kernel/process.c sizeof(struct switch_stack) + sizeof(struct pt_regs)); switch_stack 279 arch/alpha/kernel/process.c stack = ((struct switch_stack *) regs) - 1; switch_stack 292 arch/alpha/kernel/process.c struct switch_stack * sw = ((struct switch_stack *) pt) - 1; switch_stack 345 arch/alpha/kernel/process.c struct switch_stack *sw = (struct switch_stack *)task_pt_regs(task) - 1; switch_stack 80 arch/alpha/kernel/ptrace.c (PAGE_SIZE*2 - sizeof(struct pt_regs) - sizeof(struct switch_stack) \ switch_stack 81 arch/alpha/kernel/ptrace.c + offsetof(struct switch_stack, reg)) switch_stack 152 arch/alpha/kernel/signal.c struct switch_stack *sw = (struct switch_stack *)regs - 1; switch_stack 274 arch/alpha/kernel/signal.c struct switch_stack *sw = (struct switch_stack *)regs - 1; switch_stack 41 arch/csky/include/asm/thread_info.h ((unsigned long)(((struct switch_stack *)(tsk->thread.ksp))->r8)) switch_stack 32 arch/csky/kernel/process.c struct switch_stack *sw = (struct switch_stack *)tsk->thread.ksp; switch_stack 43 arch/csky/kernel/process.c struct switch_stack *childstack; switch_stack 50 arch/csky/kernel/process.c childstack = ((struct switch_stack *) childregs) - 1; switch_stack 51 arch/csky/kernel/process.c memset(childstack, 0, sizeof(struct switch_stack)); switch_stack 153 arch/ia64/include/asm/mca.h struct switch_stack *, switch_stack 120 arch/ia64/include/asm/ptrace.h extern long ia64_peek (struct task_struct *, struct switch_stack *, unsigned long, switch_stack 122 arch/ia64/include/asm/ptrace.h extern long ia64_poke (struct task_struct *, struct switch_stack *, unsigned long, switch_stack 127 arch/ia64/include/asm/ptrace.h extern long ia64_sync_user_rbs (struct task_struct *, struct switch_stack *, switch_stack 18 arch/ia64/include/asm/unwind.h struct switch_stack; /* forward declaration */ switch_stack 69 arch/ia64/include/asm/unwind.h struct switch_stack *sw; switch_stack 119 arch/ia64/include/asm/unwind.h struct switch_stack *sw); switch_stack 28 arch/ia64/kernel/asm-offsets.c DEFINE(IA64_SWITCH_STACK_SIZE, sizeof (struct switch_stack)); switch_stack 128 arch/ia64/kernel/asm-offsets.c DEFINE(IA64_SWITCH_STACK_CALLER_UNAT_OFFSET, offsetof (struct switch_stack, caller_unat)); switch_stack 129 arch/ia64/kernel/asm-offsets.c DEFINE(IA64_SWITCH_STACK_AR_FPSR_OFFSET, offsetof (struct switch_stack, ar_fpsr)); switch_stack 130 arch/ia64/kernel/asm-offsets.c DEFINE(IA64_SWITCH_STACK_F2_OFFSET, offsetof (struct switch_stack, f2)); switch_stack 131 arch/ia64/kernel/asm-offsets.c DEFINE(IA64_SWITCH_STACK_F3_OFFSET, offsetof (struct switch_stack, f3)); switch_stack 132 arch/ia64/kernel/asm-offsets.c DEFINE(IA64_SWITCH_STACK_F4_OFFSET, offsetof (struct switch_stack, f4)); switch_stack 133 arch/ia64/kernel/asm-offsets.c DEFINE(IA64_SWITCH_STACK_F5_OFFSET, offsetof (struct switch_stack, f5)); switch_stack 134 arch/ia64/kernel/asm-offsets.c DEFINE(IA64_SWITCH_STACK_F12_OFFSET, offsetof (struct switch_stack, f12)); switch_stack 135 arch/ia64/kernel/asm-offsets.c DEFINE(IA64_SWITCH_STACK_F13_OFFSET, offsetof (struct switch_stack, f13)); switch_stack 136 arch/ia64/kernel/asm-offsets.c DEFINE(IA64_SWITCH_STACK_F14_OFFSET, offsetof (struct switch_stack, f14)); switch_stack 137 arch/ia64/kernel/asm-offsets.c DEFINE(IA64_SWITCH_STACK_F15_OFFSET, offsetof (struct switch_stack, f15)); switch_stack 138 arch/ia64/kernel/asm-offsets.c DEFINE(IA64_SWITCH_STACK_F16_OFFSET, offsetof (struct switch_stack, f16)); switch_stack 139 arch/ia64/kernel/asm-offsets.c DEFINE(IA64_SWITCH_STACK_F17_OFFSET, offsetof (struct switch_stack, f17)); switch_stack 140 arch/ia64/kernel/asm-offsets.c DEFINE(IA64_SWITCH_STACK_F18_OFFSET, offsetof (struct switch_stack, f18)); switch_stack 141 arch/ia64/kernel/asm-offsets.c DEFINE(IA64_SWITCH_STACK_F19_OFFSET, offsetof (struct switch_stack, f19)); switch_stack 142 arch/ia64/kernel/asm-offsets.c DEFINE(IA64_SWITCH_STACK_F20_OFFSET, offsetof (struct switch_stack, f20)); switch_stack 143 arch/ia64/kernel/asm-offsets.c DEFINE(IA64_SWITCH_STACK_F21_OFFSET, offsetof (struct switch_stack, f21)); switch_stack 144 arch/ia64/kernel/asm-offsets.c DEFINE(IA64_SWITCH_STACK_F22_OFFSET, offsetof (struct switch_stack, f22)); switch_stack 145 arch/ia64/kernel/asm-offsets.c DEFINE(IA64_SWITCH_STACK_F23_OFFSET, offsetof (struct switch_stack, f23)); switch_stack 146 arch/ia64/kernel/asm-offsets.c DEFINE(IA64_SWITCH_STACK_F24_OFFSET, offsetof (struct switch_stack, f24)); switch_stack 147 arch/ia64/kernel/asm-offsets.c DEFINE(IA64_SWITCH_STACK_F25_OFFSET, offsetof (struct switch_stack, f25)); switch_stack 148 arch/ia64/kernel/asm-offsets.c DEFINE(IA64_SWITCH_STACK_F26_OFFSET, offsetof (struct switch_stack, f26)); switch_stack 149 arch/ia64/kernel/asm-offsets.c DEFINE(IA64_SWITCH_STACK_F27_OFFSET, offsetof (struct switch_stack, f27)); switch_stack 150 arch/ia64/kernel/asm-offsets.c DEFINE(IA64_SWITCH_STACK_F28_OFFSET, offsetof (struct switch_stack, f28)); switch_stack 151 arch/ia64/kernel/asm-offsets.c DEFINE(IA64_SWITCH_STACK_F29_OFFSET, offsetof (struct switch_stack, f29)); switch_stack 152 arch/ia64/kernel/asm-offsets.c DEFINE(IA64_SWITCH_STACK_F30_OFFSET, offsetof (struct switch_stack, f30)); switch_stack 153 arch/ia64/kernel/asm-offsets.c DEFINE(IA64_SWITCH_STACK_F31_OFFSET, offsetof (struct switch_stack, f31)); switch_stack 154 arch/ia64/kernel/asm-offsets.c DEFINE(IA64_SWITCH_STACK_R4_OFFSET, offsetof (struct switch_stack, r4)); switch_stack 155 arch/ia64/kernel/asm-offsets.c DEFINE(IA64_SWITCH_STACK_R5_OFFSET, offsetof (struct switch_stack, r5)); switch_stack 156 arch/ia64/kernel/asm-offsets.c DEFINE(IA64_SWITCH_STACK_R6_OFFSET, offsetof (struct switch_stack, r6)); switch_stack 157 arch/ia64/kernel/asm-offsets.c DEFINE(IA64_SWITCH_STACK_R7_OFFSET, offsetof (struct switch_stack, r7)); switch_stack 158 arch/ia64/kernel/asm-offsets.c DEFINE(IA64_SWITCH_STACK_B0_OFFSET, offsetof (struct switch_stack, b0)); switch_stack 159 arch/ia64/kernel/asm-offsets.c DEFINE(IA64_SWITCH_STACK_B1_OFFSET, offsetof (struct switch_stack, b1)); switch_stack 160 arch/ia64/kernel/asm-offsets.c DEFINE(IA64_SWITCH_STACK_B2_OFFSET, offsetof (struct switch_stack, b2)); switch_stack 161 arch/ia64/kernel/asm-offsets.c DEFINE(IA64_SWITCH_STACK_B3_OFFSET, offsetof (struct switch_stack, b3)); switch_stack 162 arch/ia64/kernel/asm-offsets.c DEFINE(IA64_SWITCH_STACK_B4_OFFSET, offsetof (struct switch_stack, b4)); switch_stack 163 arch/ia64/kernel/asm-offsets.c DEFINE(IA64_SWITCH_STACK_B5_OFFSET, offsetof (struct switch_stack, b5)); switch_stack 164 arch/ia64/kernel/asm-offsets.c DEFINE(IA64_SWITCH_STACK_AR_PFS_OFFSET, offsetof (struct switch_stack, ar_pfs)); switch_stack 165 arch/ia64/kernel/asm-offsets.c DEFINE(IA64_SWITCH_STACK_AR_LC_OFFSET, offsetof (struct switch_stack, ar_lc)); switch_stack 166 arch/ia64/kernel/asm-offsets.c DEFINE(IA64_SWITCH_STACK_AR_UNAT_OFFSET, offsetof (struct switch_stack, ar_unat)); switch_stack 167 arch/ia64/kernel/asm-offsets.c DEFINE(IA64_SWITCH_STACK_AR_RNAT_OFFSET, offsetof (struct switch_stack, ar_rnat)); switch_stack 168 arch/ia64/kernel/asm-offsets.c DEFINE(IA64_SWITCH_STACK_AR_BSPSTORE_OFFSET, offsetof (struct switch_stack, ar_bspstore)); switch_stack 169 arch/ia64/kernel/asm-offsets.c DEFINE(IA64_SWITCH_STACK_PR_OFFSET, offsetof (struct switch_stack, pr)); switch_stack 965 arch/ia64/kernel/mca.c const struct switch_stack *sw, switch_stack 975 arch/ia64/kernel/mca.c struct switch_stack *old_sw; switch_stack 977 arch/ia64/kernel/mca.c sizeof(struct switch_stack) + 16; switch_stack 1107 arch/ia64/kernel/mca.c p -= sizeof(struct switch_stack); switch_stack 1108 arch/ia64/kernel/mca.c old_sw = (struct switch_stack *)p; switch_stack 1282 arch/ia64/kernel/mca.c ia64_mca_handler(struct pt_regs *regs, struct switch_stack *sw, switch_stack 1660 arch/ia64/kernel/mca.c ia64_init_handler(struct pt_regs *regs, struct switch_stack *sw, switch_stack 340 arch/ia64/kernel/process.c struct switch_stack *child_stack, *stack; switch_stack 347 arch/ia64/kernel/process.c child_stack = (struct switch_stack *) child_ptregs - 1; switch_stack 410 arch/ia64/kernel/process.c stack = ((struct switch_stack *) regs) - 1; switch_stack 252 arch/ia64/kernel/ptrace.c get_rnat (struct task_struct *task, struct switch_stack *sw, switch_stack 312 arch/ia64/kernel/ptrace.c put_rnat (struct task_struct *task, struct switch_stack *sw, switch_stack 405 arch/ia64/kernel/ptrace.c ia64_peek (struct task_struct *child, struct switch_stack *child_stack, switch_stack 467 arch/ia64/kernel/ptrace.c ia64_poke (struct task_struct *child, struct switch_stack *child_stack, switch_stack 539 arch/ia64/kernel/ptrace.c ia64_sync_user_rbs (struct task_struct *child, struct switch_stack *sw, switch_stack 559 arch/ia64/kernel/ptrace.c ia64_sync_kernel_rbs (struct task_struct *child, struct switch_stack *sw, switch_stack 579 arch/ia64/kernel/ptrace.c typedef long (*syncfunc_t)(struct task_struct *, struct switch_stack *, switch_stack 833 arch/ia64/kernel/ptrace.c struct switch_stack *sw; switch_stack 843 arch/ia64/kernel/ptrace.c sw = (struct switch_stack *) (child->thread.ksp + 16); switch_stack 976 arch/ia64/kernel/ptrace.c struct switch_stack *sw; switch_stack 988 arch/ia64/kernel/ptrace.c sw = (struct switch_stack *) (child->thread.ksp + 16); switch_stack 201 arch/ia64/kernel/unaligned.c #define RSO(x) ((size_t) &((struct switch_stack *)0)->x) switch_stack 310 arch/ia64/kernel/unaligned.c struct switch_stack *sw = (struct switch_stack *) regs - 1; switch_stack 383 arch/ia64/kernel/unaligned.c struct switch_stack *sw = (struct switch_stack *) regs - 1; switch_stack 456 arch/ia64/kernel/unaligned.c struct switch_stack *sw = (struct switch_stack *) regs - 1; switch_stack 522 arch/ia64/kernel/unaligned.c struct switch_stack *sw = (struct switch_stack *)regs - 1; switch_stack 583 arch/ia64/kernel/unaligned.c struct switch_stack *sw = (struct switch_stack *) regs - 1; switch_stack 630 arch/ia64/kernel/unaligned.c struct switch_stack *sw = (struct switch_stack *) regs - 1; switch_stack 1823 arch/ia64/kernel/unwind.c if (off >= offsetof(struct switch_stack, r4) && off <= offsetof(struct switch_stack, r7)) switch_stack 1829 arch/ia64/kernel/unwind.c s[val+1] = (offsetof(struct switch_stack, ar_unat) - off) | UNW_NAT_MEMSTK; switch_stack 2002 arch/ia64/kernel/unwind.c struct switch_stack *sw, unsigned long stktop) switch_stack 2052 arch/ia64/kernel/unwind.c unw_init_frame_info (struct unw_frame_info *info, struct task_struct *t, struct switch_stack *sw) switch_stack 2074 arch/ia64/kernel/unwind.c struct switch_stack *sw = (struct switch_stack *) (t->thread.ksp + 16); switch_stack 73 arch/ia64/oprofile/backtrace.c struct switch_stack *sw; switch_stack 77 arch/ia64/oprofile/backtrace.c sw = (struct switch_stack *)(info+1); switch_stack 79 arch/ia64/oprofile/backtrace.c sw = (struct switch_stack *)(((unsigned long)sw + 15) & ~15); switch_stack 97 arch/m68k/include/asm/elf.h struct switch_stack *sw = ((struct switch_stack *)regs) - 1; \ switch_stack 126 arch/m68k/kernel/process.c struct switch_stack sw; switch_stack 256 arch/m68k/kernel/process.c fp = ((struct switch_stack *)p->thread.ksp)->a6; switch_stack 45 arch/m68k/kernel/ptrace.c #define SW_REG(reg) ((long)&((struct switch_stack *)0)->reg \ switch_stack 46 arch/m68k/kernel/ptrace.c - sizeof(struct switch_stack)) switch_stack 209 arch/m68k/kernel/signal.c sc->sc_a5 = ((struct switch_stack *)regs - 1)->a5; switch_stack 653 arch/m68k/kernel/signal.c struct switch_stack *sw = (struct switch_stack *)regs - 1; switch_stack 664 arch/m68k/kernel/signal.c #define frame_offset (sizeof(struct pt_regs)+sizeof(struct switch_stack)) switch_stack 732 arch/m68k/kernel/signal.c rt_restore_ucontext(struct pt_regs *regs, struct switch_stack *sw, switch_stack 785 arch/m68k/kernel/signal.c asmlinkage int do_sigreturn(struct pt_regs *regs, struct switch_stack *sw) switch_stack 810 arch/m68k/kernel/signal.c asmlinkage int do_rt_sigreturn(struct pt_regs *regs, struct switch_stack *sw) switch_stack 850 arch/m68k/kernel/signal.c struct switch_stack *sw = (struct switch_stack *)regs - 1; switch_stack 62 arch/nios2/include/asm/elf.h struct switch_stack *sw = ((struct switch_stack *)regs) - 1; \ switch_stack 54 arch/nios2/kernel/asm-offsets.c OFFSET(SW_R16, switch_stack, r16); switch_stack 55 arch/nios2/kernel/asm-offsets.c OFFSET(SW_R17, switch_stack, r17); switch_stack 56 arch/nios2/kernel/asm-offsets.c OFFSET(SW_R18, switch_stack, r18); switch_stack 57 arch/nios2/kernel/asm-offsets.c OFFSET(SW_R19, switch_stack, r19); switch_stack 58 arch/nios2/kernel/asm-offsets.c OFFSET(SW_R20, switch_stack, r20); switch_stack 59 arch/nios2/kernel/asm-offsets.c OFFSET(SW_R21, switch_stack, r21); switch_stack 60 arch/nios2/kernel/asm-offsets.c OFFSET(SW_R22, switch_stack, r22); switch_stack 61 arch/nios2/kernel/asm-offsets.c OFFSET(SW_R23, switch_stack, r23); switch_stack 62 arch/nios2/kernel/asm-offsets.c OFFSET(SW_FP, switch_stack, fp); switch_stack 63 arch/nios2/kernel/asm-offsets.c OFFSET(SW_GP, switch_stack, gp); switch_stack 64 arch/nios2/kernel/asm-offsets.c OFFSET(SW_RA, switch_stack, ra); switch_stack 65 arch/nios2/kernel/asm-offsets.c DEFINE(SWITCH_STACK_SIZE, sizeof(struct switch_stack)); switch_stack 219 arch/nios2/kernel/misaligned.c offset = -sizeof(struct switch_stack); switch_stack 108 arch/nios2/kernel/process.c struct switch_stack *stack; switch_stack 109 arch/nios2/kernel/process.c struct switch_stack *childstack = switch_stack 110 arch/nios2/kernel/process.c ((struct switch_stack *)childregs) - 1; switch_stack 114 arch/nios2/kernel/process.c sizeof(struct switch_stack) + sizeof(struct pt_regs)); switch_stack 132 arch/nios2/kernel/process.c stack = ((struct switch_stack *) regs) - 1; switch_stack 230 arch/nios2/kernel/process.c fp = ((struct switch_stack *)p->thread.ksp)->fp; /* ;dgt2 */ switch_stack 28 arch/nios2/kernel/ptrace.c const struct switch_stack *sw = (struct switch_stack *)regs - 1; switch_stack 74 arch/nios2/kernel/ptrace.c const struct switch_stack *sw = (struct switch_stack *)regs - 1; switch_stack 38 arch/nios2/kernel/signal.c struct switch_stack *sw, switch_stack 101 arch/nios2/kernel/signal.c asmlinkage int do_rt_sigreturn(struct switch_stack *sw) switch_stack 129 arch/nios2/kernel/signal.c struct switch_stack *sw = (struct switch_stack *)regs - 1;