Searched refs:__switch_to (Results 1 - 25 of 28) sorted by relevance

12

/linux-master/include/asm-generic/
H A Dswitch_to.h18 extern struct task_struct *__switch_to(struct task_struct *,
23 ((last) = __switch_to((prev), (next))); \
/linux-master/arch/hexagon/include/asm/
H A Dswitch_to.h13 extern struct task_struct *__switch_to(struct task_struct *,
18 r = __switch_to((p), (n), (r));\
/linux-master/arch/arc/include/asm/
H A Dswitch_to.h15 struct task_struct *__switch_to(struct task_struct *p, struct task_struct *n);
21 last = __switch_to(prev, next);\
/linux-master/arch/arm/include/asm/
H A Dswitch_to.h25 extern struct task_struct *__switch_to(struct task_struct *, struct thread_info *, struct thread_info *);
32 last = __switch_to(prev,task_thread_info(prev), task_thread_info(next)); \
/linux-master/arch/loongarch/include/asm/
H A Dswitch_to.h15 * __switch_to - switch execution of a task
25 extern asmlinkage struct task_struct *__switch_to(struct task_struct *prev,
32 * That is, everything following __switch_to() will be skipped for new threads.
33 * So everything that matters to new threads should be placed before __switch_to().
40 (last) = __switch_to(prev, next, task_thread_info(next), \
/linux-master/arch/hexagon/kernel/
H A Dvm_switch.S29 .globl __switch_to
30 .type __switch_to, @function
39 __switch_to: label
82 .size __switch_to, .-__switch_to
/linux-master/arch/csky/include/asm/
H A Dswitch_to.h24 extern struct task_struct *__switch_to(struct task_struct *,
32 ((last) = __switch_to((prev), (next))); \
/linux-master/arch/loongarch/kernel/
H A Dswitch.S14 * task_struct *__switch_to(task_struct *prev, task_struct *next,
18 SYM_FUNC_START(__switch_to)
42 SYM_FUNC_END(__switch_to)
/linux-master/arch/arc/kernel/
H A Dctx_sw_asm.S21 ENTRY_CFI(__switch_to)
64 END_CFI(__switch_to)
H A Dstacktrace.c83 * - if so, it will be in __switch_to, kernel mode SP of task
95 frame_info->regs.r63 = (unsigned int)__switch_to;
97 /* In the prologue of __switch_to, first FP is saved on stack
101 * As a work around for this, we unwind from __switch_to start
103 * __switch_to macro is dwarf rules are not generated for inline
265 /* Assumes @tsk is sleeping so unwinds from __switch_to */
H A Dentry.S51 ; when the forked child comes here from the __switch_to function
/linux-master/arch/riscv/include/asm/
H A Dswitch_to.h72 extern struct task_struct *__switch_to(struct task_struct *,
83 ((last) = __switch_to(__prev, __next)); \
/linux-master/arch/powerpc/include/asm/
H A Dswitch_to.h15 extern struct task_struct *__switch_to(struct task_struct *,
17 #define switch_to(prev, next, last) ((last) = __switch_to((prev), (next)))
/linux-master/arch/sh/include/asm/
H A Dswitch_to_32.h64 struct task_struct *__switch_to(struct task_struct *prev,
108 "jmp @%0\t! call __switch_to\n\t" \
112 ".long __switch_to\n" \
/linux-master/arch/x86/include/asm/
H A Dswitch_to.h12 __visible struct task_struct *__switch_to(struct task_struct *prev,
/linux-master/arch/csky/kernel/
H A Dentry.S252 ENTRY(__switch_to)
274 ENDPROC(__switch_to)
/linux-master/arch/sh/kernel/
H A Dprocess_32.c145 __switch_to(struct task_struct *prev, struct task_struct *next) function
/linux-master/arch/openrisc/kernel/
H A Dprocess.c240 struct task_struct *__switch_to(struct task_struct *old, function
/linux-master/arch/riscv/kernel/
H A Dentry.S286 SYM_FUNC_START(__switch_to)
327 SYM_FUNC_END(__switch_to)
/linux-master/arch/s390/kernel/
H A Dprocess.c197 struct task_struct *__switch_to(struct task_struct *prev, struct task_struct *next) function
/linux-master/arch/x86/kernel/
H A Dprocess_32.c155 __switch_to(struct task_struct *prev_p, struct task_struct *next_p) function
161 /* never put a printk in __switch_to... printk() calls wake_up*() indirectly */
/linux-master/arch/um/kernel/
H A Dprocess.c87 void *__switch_to(struct task_struct *from, struct task_struct *to) function
/linux-master/arch/arm64/kernel/
H A Dprocess.c465 * __switch_to() a user task.
499 * __switch_to() checks current->thread.sctlr_user as an optimisation. Therefore
502 * __switch_to() does not see the variable update before the SCTLR_EL1 one.
520 struct task_struct *__switch_to(struct task_struct *prev, function
/linux-master/arch/x86/entry/
H A Dentry_32.S714 jmp __switch_to
H A Dentry_64.S215 jmp __switch_to

Completed in 208 milliseconds

12