Home
last modified time | relevance | path

Searched refs:switch_stack (Results 1 – 25 of 32) sorted by relevance

12

/Linux-v6.6/arch/ia64/kernel/
Dasm-offsets.c28 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 …]
Dunaligned.c201 #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()
Dptrace.c248 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 …]
Dprocess.c307 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/
Dasm-offsets.c54 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 …]
Dprocess.c109 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()
Dptrace.c26 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()
Dsignal.c38 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/
Dprocess.c243 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()
Dsignal.c152 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/
Dprocess.c38 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/
Dptrace.h118 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 *,
Dunwind.h18 struct switch_stack; /* forward declaration */
69 struct switch_stack *sw;
119 struct switch_stack *sw);
/Linux-v6.6/arch/m68k/kernel/
Dentry.S80 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.
Dsignal.c208 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()
Dprocess.c147 struct switch_stack sw; in copy_thread()
274 fp = ((struct switch_stack *)p->thread.ksp)->a6; in __get_wchan()
Dptrace.c45 #define SW_REG(reg) ((long)&((struct switch_stack *)0)->reg \
46 - sizeof(struct switch_stack))
/Linux-v6.6/arch/csky/include/asm/
Dthread_info.h37 ((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/
Delf.h62 struct switch_stack *sw = ((struct switch_stack *)regs) - 1; \
Dptrace.h52 struct switch_stack { struct
/Linux-v6.6/arch/m68k/include/asm/
Delf.h104 struct switch_stack *sw = ((struct switch_stack *)regs) - 1; \
/Linux-v6.6/arch/csky/abiv1/inc/abi/
Dswitch_context.h6 struct switch_stack { struct
/Linux-v6.6/arch/csky/abiv2/inc/abi/
Dswitch_context.h6 struct switch_stack { struct
/Linux-v6.6/arch/alpha/include/uapi/asm/
Dptrace.h58 struct switch_stack { struct
/Linux-v6.6/arch/m68k/include/uapi/asm/
Dptrace.h59 struct switch_stack { struct

12