Searched refs:switch_stack (Results 1 - 25 of 30) sorted by relevance

12

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/ia64/kernel/
H A Dasm-offsets.c29 DEFINE(IA64_SWITCH_STACK_SIZE, sizeof (struct switch_stack));
121 DEFINE(IA64_SWITCH_STACK_CALLER_UNAT_OFFSET, offsetof (struct switch_stack, caller_unat));
122 DEFINE(IA64_SWITCH_STACK_AR_FPSR_OFFSET, offsetof (struct switch_stack, ar_fpsr));
123 DEFINE(IA64_SWITCH_STACK_F2_OFFSET, offsetof (struct switch_stack, f2));
124 DEFINE(IA64_SWITCH_STACK_F3_OFFSET, offsetof (struct switch_stack, f3));
125 DEFINE(IA64_SWITCH_STACK_F4_OFFSET, offsetof (struct switch_stack, f4));
126 DEFINE(IA64_SWITCH_STACK_F5_OFFSET, offsetof (struct switch_stack, f5));
127 DEFINE(IA64_SWITCH_STACK_F12_OFFSET, offsetof (struct switch_stack, f12));
128 DEFINE(IA64_SWITCH_STACK_F13_OFFSET, offsetof (struct switch_stack, f13));
129 DEFINE(IA64_SWITCH_STACK_F14_OFFSET, offsetof (struct switch_stack, f1
[all...]
H A Dunaligned.c187 * We use bit 0 to indicate switch_stack or pt_regs.
191 * In case the calling convention changes (and thus pt_regs/switch_stack)
196 #define RSO(x) ((size_t) &((struct switch_stack *)0)->x)
305 struct switch_stack *sw = (struct switch_stack *) regs - 1;
378 struct switch_stack *sw = (struct switch_stack *) regs - 1;
451 struct switch_stack *sw = (struct switch_stack *) regs - 1;
479 DPRINT("tmp_base=%lx switch_stack
[all...]
H A Dptrace.c246 get_rnat (struct task_struct *task, struct switch_stack *sw,
306 put_rnat (struct task_struct *task, struct switch_stack *sw,
399 ia64_peek (struct task_struct *child, struct switch_stack *child_stack,
461 ia64_poke (struct task_struct *child, struct switch_stack *child_stack,
527 * the switch_stack and pt_regs structures, respectively.
532 ia64_sync_user_rbs (struct task_struct *child, struct switch_stack *sw,
789 struct switch_stack *sw;
797 sw = (struct switch_stack *) (child->thread.ksp + 16);
818 * switch_stack).
1113 struct switch_stack *s
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/ia64/oprofile/
H A Dbacktrace.c21 * the struct pt_regs and a synthetic struct switch_stack in place
92 struct switch_stack *sw;
96 sw = (struct switch_stack *)(info+1);
98 sw = (struct switch_stack *)(((unsigned long)sw + 15) & ~15);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-m68knommu/
H A Delf.h88 struct switch_stack *sw = ((struct switch_stack *)regs) - 1; \
H A Dptrace.h58 struct switch_stack { struct
H A Dprocessor.h101 ((struct switch_stack *)(_regs))[-1].a6 = 0; \
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-ia64/
H A Dptrace.h13 * 12/07/98 S. Eranian added pt_regs & switch_stack
15 * 6/17/99 D. Mosberger added second unat member to "struct switch_stack"
34 * | struct switch_stack | |
53 * Note that ar.ec is not saved explicitly in pt_reg or switch_stack.
181 struct switch_stack { struct
289 extern long ia64_peek (struct task_struct *, struct switch_stack *, unsigned long,
291 extern long ia64_poke (struct task_struct *, struct switch_stack *, unsigned long,
295 extern long ia64_sync_user_rbs (struct task_struct *, struct switch_stack *,
H A Dunwind.h17 struct switch_stack; /* forward declaration */
68 struct switch_stack *sw;
118 struct switch_stack *sw);
H A Dmca.h93 * switch_stack. Because MCA/INIT can occur when interrupts are
145 struct switch_stack *,
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-m68k/
H A Dptrace.h51 struct switch_stack { struct
H A Delf.h97 struct switch_stack *sw = ((struct switch_stack *)regs) - 1; \
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-alpha/
H A Dptrace.h57 struct switch_stack { struct
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/m68k/kernel/
H A Dprocess.c68 struct switch_stack *sw = (struct switch_stack *)tsk->thread.ksp;
243 struct switch_stack * childstack, *stack;
252 stack = ((struct switch_stack *) retp) - 1;
254 childstack = ((struct switch_stack *) childregs) - 1;
322 struct switch_stack *sw;
338 sw = ((struct switch_stack *)regs) - 1;
394 fp = ((struct switch_stack *)p->thread.ksp)->a6;
H A Dsignal.c362 struct switch_stack *sw = (struct switch_stack *)regs - 1;
364 #define frame_offset (sizeof(struct pt_regs)+sizeof(struct switch_stack))
369 /* move switch_stack and pt_regs */
405 rt_restore_ucontext(struct pt_regs *regs, struct switch_stack *sw,
463 #define frame_offset (sizeof(struct pt_regs)+sizeof(struct switch_stack))
468 /* move switch_stack and pt_regs */
505 struct switch_stack *sw = (struct switch_stack *) &__unused;
535 struct switch_stack *s
[all...]
H A Dptrace.c42 #define SW_REG(reg) ((long)&((struct switch_stack *)0)->reg \
43 - sizeof(struct switch_stack))
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/alpha/kernel/
H A Dprocess.c280 struct switch_stack * childstack, *stack;
295 stack = ((struct switch_stack *) regs) - 1;
296 childstack = ((struct switch_stack *) childregs) - 1;
325 struct switch_stack * sw = ((struct switch_stack *) pt) - 1;
387 struct switch_stack * sw = ((struct switch_stack *) pt) - 1;
440 struct switch_stack *sw = (struct switch_stack *)task_pt_regs(task) - 1;
H A Dsignal.c35 static void do_signal(struct pt_regs *, struct switch_stack *,
146 do_sigsuspend(old_sigset_t mask, struct pt_regs *regs, struct switch_stack *sw)
168 struct pt_regs *regs, struct switch_stack *sw)
234 struct switch_stack *sw)
287 struct switch_stack *sw)
325 struct switch_stack *sw)
377 struct switch_stack *sw, unsigned long mask, unsigned long sp)
433 struct pt_regs *regs, struct switch_stack * sw)
485 sigset_t *set, struct pt_regs *regs, struct switch_stack * sw)
552 sigset_t *oldset, struct pt_regs * regs, struct switch_stack *s
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/m68knommu/kernel/
H A Dprocess.c207 struct switch_stack * childstack, *stack;
216 stack = ((struct switch_stack *) retp) - 1;
218 childstack = ((struct switch_stack *) childregs) - 1;
377 fp = ((struct switch_stack *)p->thread.ksp)->a6;
395 struct switch_stack *sw = (struct switch_stack *)tsk->thread.ksp;
H A Dsignal.c287 ((struct switch_stack *)regs - 1)->a5 = context.sc_a5;
308 rt_restore_ucontext(struct pt_regs *regs, struct switch_stack *sw,
356 struct switch_stack *sw = (struct switch_stack *) &__unused;
388 struct switch_stack *sw = (struct switch_stack *) &__unused;
501 sc->sc_a5 = ((struct switch_stack *)regs - 1)->a5;
512 struct switch_stack *sw = (struct switch_stack *)regs - 1;
601 ((struct switch_stack *)reg
[all...]
H A Dptrace.c42 #define SW_REG(reg) ((long)&((struct switch_stack *)0)->reg \
43 - sizeof(struct switch_stack))
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-cris/arch-v10/
H A Dptrace.h85 /* switch_stack is the extra stuff pushed onto the stack in _resume (entry.S)
91 * switch_stack and the TSS are used to keep thread stuff when switching in
95 struct switch_stack { struct
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-cris/arch-v32/
H A Dptrace.h85 /* switch_stack is the extra stuff pushed onto the stack in _resume (entry.S)
91 * switch_stack and the TSS are used to keep thread stuff when switching in
95 struct switch_stack { struct
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/cris/arch-v10/kernel/
H A Dprocess.c109 /* setup the child's kernel stack with a pt_regs and switch_stack on it.
124 struct switch_stack *swstack;
140 swstack = ((struct switch_stack *)childregs) - 1;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/cris/arch-v32/kernel/
H A Dprocess.c127 * Setup the child's kernel stack with a pt_regs and call switch_stack() on it.
143 struct switch_stack *swstack;
163 swstack = ((struct switch_stack *) childregs) - 1;

Completed in 181 milliseconds

12