Home
last modified time | relevance | path

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

12

/Linux-v5.4/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.c252 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/
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.c108 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()
Dptrace.c28 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()
Dsignal.c38 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/
Dprocess.c32 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/
Dprocess.c248 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()
Dsignal.c152 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/
Dbacktrace.c73 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/
Dptrace.h120 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 *,
Dunwind.h18 struct switch_stack; /* forward declaration */
69 struct switch_stack *sw;
119 struct switch_stack *sw);
Dmca.h153 struct switch_stack *,
/Linux-v5.4/arch/m68k/include/asm/
Delf.h97 struct switch_stack *sw = ((struct switch_stack *)regs) - 1; \
/Linux-v5.4/arch/nios2/include/asm/
Delf.h62 struct switch_stack *sw = ((struct switch_stack *)regs) - 1; \
Dptrace.h52 struct switch_stack { struct
/Linux-v5.4/arch/m68k/kernel/
Dsignal.c209 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()
Dprocess.c126 struct switch_stack sw; in copy_thread()
256 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-v5.4/arch/csky/abiv1/inc/abi/
Dswitch_context.h7 struct switch_stack { struct
/Linux-v5.4/arch/csky/abiv2/inc/abi/
Dswitch_context.h7 struct switch_stack { struct
/Linux-v5.4/arch/alpha/include/uapi/asm/
Dptrace.h58 struct switch_stack { struct
/Linux-v5.4/arch/m68k/include/uapi/asm/
Dptrace.h59 struct switch_stack { struct
/Linux-v5.4/arch/csky/include/asm/
Dthread_info.h41 ((unsigned long)(((struct switch_stack *)(tsk->thread.ksp))->r8))

12