Defined in 12 files as a prototype:
- arch/arc/include/asm/switch_to.h, line 34 (as a prototype)
- arch/arm/include/asm/switch_to.h, line 24 (as a prototype)
- arch/c6x/include/asm/switch_to.h, line 17 (as a prototype)
- arch/csky/include/asm/switch_to.h, line 25 (as a prototype)
- arch/hexagon/include/asm/switch_to.h, line 13 (as a prototype)
- arch/powerpc/include/asm/switch_to.h, line 14 (as a prototype)
- arch/riscv/include/asm/switch_to.h, line 65 (as a prototype)
- arch/s390/include/asm/switch_to.h, line 16 (as a prototype)
- arch/sh/include/asm/switch_to_32.h, line 64 (as a prototype)
- arch/unicore32/include/asm/switch_to.h, line 18 (as a prototype)
- arch/x86/include/asm/switch_to.h, line 12 (as a prototype)
- include/asm-generic/switch_to.h, line 18 (as a prototype)
Defined in 1 files as a macro:
Defined in 2 files as a label:
Defined in 16 files as a function:
- arch/arc/kernel/ctx_sw.c, line 24 (as a function)
- arch/arm/kernel/entry-armv.S, line 775 (as a function)
- arch/arm/kernel/entry-v7m.S, line 96 (as a function)
- arch/arm64/kernel/process.c, line 497 (as a function)
- arch/c6x/kernel/switch_to.S, line 17 (as a function)
- arch/csky/kernel/entry.S, line 315 (as a function)
- arch/nds32/kernel/ex-scall.S, line 18 (as a function)
- arch/openrisc/kernel/process.c, line 235 (as a function)
- arch/powerpc/kernel/process.c, line 1122 (as a function)
- arch/riscv/kernel/entry.S, line 341 (as a function)
- arch/s390/kernel/entry.S, line 236 (as a function)
- arch/sh/kernel/process_32.c, line 173 (as a function)
- arch/um/kernel/process.c, line 86 (as a function)
- arch/unicore32/kernel/entry.S, line 494 (as a function)
- arch/x86/kernel/process_32.c, line 228 (as a function)
- arch/x86/kernel/process_64.c, line 504 (as a function)
Referenced in 24 files:
- arch/arc/include/asm/switch_to.h, line 40
- arch/arc/kernel/ctx_sw_asm.S
- arch/arc/kernel/entry.S, line 39
- arch/arc/kernel/stacktrace.c, line 78
- arch/arm/include/asm/switch_to.h, line 29
- arch/arm/kernel/entry-armv.S, line 817
- arch/arm/kernel/entry-v7m.S, line 114
- arch/c6x/include/asm/switch_to.h, line 24
- arch/c6x/kernel/switch_to.S, line 71
- arch/csky/include/asm/switch_to.h, line 33
- arch/csky/kernel/entry.S, line 345
- arch/hexagon/include/asm/switch_to.h, line 18
- arch/hexagon/kernel/vm_switch.S
- arch/ia64/include/asm/switch_to.h
- arch/powerpc/include/asm/switch_to.h, line 16
- arch/riscv/include/asm/switch_to.h, line 74
- arch/riscv/kernel/entry.S, line 387
- arch/s390/include/asm/switch_to.h, line 46
- arch/s390/kernel/entry.S, line 252
- arch/unicore32/include/asm/switch_to.h, line 23
- arch/unicore32/kernel/entry.S, line 519
- arch/x86/entry/entry_32.S, line 758
- arch/x86/entry/entry_64.S, line 323
- include/asm-generic/switch_to.h, line 23