Defined in 3 files as a prototype:
Defined in 9 files as a macro:
Defined in 13 files as a function:
- arch/arc/include/asm/thread_info.h, line 62 (as a function)
- arch/arm/include/asm/thread_info.h, line 88 (as a function)
- arch/c6x/include/asm/thread_info.h, line 62 (as a function)
- arch/csky/include/asm/thread_info.h, line 43 (as a function)
- arch/h8300/include/asm/thread_info.h, line 50 (as a function)
- arch/m68k/include/asm/thread_info.h, line 46 (as a function)
- arch/microblaze/include/asm/thread_info.h, line 90 (as a function)
- arch/mips/include/asm/thread_info.h, line 55 (as a function)
- arch/nios2/include/asm/thread_info.h, line 67 (as a function)
- arch/sh/include/asm/thread_info.h, line 70 (as a function)
- arch/um/include/asm/thread_info.h, line 44 (as a function)
- arch/unicore32/include/asm/thread_info.h, line 92 (as a function)
- arch/xtensa/include/asm/thread_info.h, line 84 (as a function)
Referenced in 146 files:
- arch/alpha/include/asm/elf.h, line 115
- arch/alpha/include/asm/ptrace.h, line 18
- arch/alpha/include/asm/smp.h, line 44
- arch/alpha/include/asm/uaccess.h, 2 times
- arch/alpha/kernel/osf_sys.c, 6 times
- arch/alpha/kernel/process.c, 3 times
- arch/alpha/kernel/signal.c, line 539
- arch/alpha/kernel/smp.c, line 455
- arch/alpha/kernel/traps.c, 5 times
- arch/alpha/math-emu/math.c, 2 times
- arch/alpha/mm/fault.c, line 49
- arch/arc/include/asm/smp.h, line 15
- arch/arc/kernel/kprobes.c, line 18
- arch/arm/common/bL_switcher.c, line 126
- arch/arm/include/asm/domain.h, line 92
- arch/arm/include/asm/smp.h, line 18
- arch/arm/include/asm/stackprotector.h, line 43
- arch/arm/include/asm/tls.h, line 62
- arch/arm/include/asm/uaccess.h, 6 times
- arch/arm/kernel/process.c, 2 times
- arch/arm/kernel/ptrace.c, 4 times
- arch/arm/kernel/signal.c, 5 times
- arch/arm/kernel/thumbee.c, line 39
- arch/arm/kernel/traps.c, 2 times
- arch/arm/kernel/xscale-cp0.c, line 44
- arch/arm/mm/alignment.c, line 993
- arch/arm/nwfpe/fpa11.h, 2 times
- arch/arm/probes/kprobes/core.c, line 35
- arch/arm/vfp/vfpmodule.c, 5 times
- arch/arm64/include/asm/preempt.h, 11 times
- arch/arm64/include/asm/uaccess.h, 5 times
- arch/arm64/kernel/signal.c, line 938
- arch/arm64/kernel/syscall.c, 2 times
- arch/csky/include/asm/ptrace.h, line 17
- arch/csky/include/asm/segment.h, 2 times
- arch/csky/include/asm/smp.h, line 22
- arch/csky/include/asm/uaccess.h, line 21
- arch/h8300/include/asm/ptrace.h, line 28
- arch/hexagon/include/asm/mmu_context.h, line 82
- arch/hexagon/include/asm/smp.h, line 13
- arch/hexagon/include/uapi/asm/ptrace.h, line 38
- arch/hexagon/kernel/smp.c, line 163
- arch/ia64/include/asm/smp.h, line 52
- arch/ia64/include/asm/uaccess.h, 2 times
- arch/ia64/kernel/smpboot.c, line 550
- arch/m68k/include/asm/current.h, line 22
- arch/m68k/include/asm/ptrace.h, line 18
- arch/m68k/include/asm/segment.h, 2 times
- arch/m68k/kernel/sys_m68k.c, 2 times
- arch/microblaze/include/asm/uaccess.h, 2 times
- arch/microblaze/kernel/signal.c, line 297
- arch/mips/include/asm/compat.h, line 124
- arch/mips/include/asm/irq_regs.h, 2 times
- arch/mips/include/asm/smp.h, line 35
- arch/mips/include/asm/syscall.h, line 41
- arch/mips/include/asm/uaccess.h, 2 times
- arch/mips/kernel/pm-cps.c, line 150
- arch/mips/kernel/pm.c, line 52
- arch/mips/kernel/ptrace.c, 3 times
- arch/mips/kernel/smp.c, line 421
- arch/mips/kernel/traps.c, 3 times
- arch/nds32/include/asm/uaccess.h, 2 times
- arch/nios2/include/asm/ptrace.h, line 74
- arch/nios2/include/asm/uaccess.h, 2 times
- arch/openrisc/include/asm/smp.h, line 15
- arch/openrisc/include/asm/uaccess.h, 2 times
- arch/openrisc/kernel/signal.c, line 319
- arch/parisc/include/asm/smp.h, line 37
- arch/parisc/include/asm/uaccess.h, 2 times
- arch/parisc/kernel/irq.c, line 401
- arch/parisc/kernel/traps.c, line 146
- arch/powerpc/include/asm/thread_info.h, line 143
- arch/powerpc/kernel/machine_kexec_64.c, 2 times
- arch/powerpc/kernel/process.c, 5 times
- arch/powerpc/kernel/ptrace.c, line 3282
- arch/powerpc/kernel/syscalls.c, line 132
- arch/powerpc/mm/book3s64/slb.c, 3 times
- arch/riscv/include/asm/smp.h, line 44
- arch/riscv/include/asm/uaccess.h, 2 times
- arch/sh/include/asm/kprobes.h, 2 times
- arch/sh/include/asm/segment.h, 2 times
- arch/sh/include/asm/smp.h, line 16
- arch/sh/include/asm/thread_info.h, 2 times
- arch/sh/include/asm/uaccess.h, 2 times
- arch/sh/kernel/cpu/init.c, line 297
- arch/sh/kernel/cpu/sh2/entry.S, 3 times
- arch/sh/kernel/cpu/sh2a/entry.S, 3 times
- arch/sh/kernel/cpu/sh5/entry.S, 2 times
- arch/sh/kernel/entry-common.S, 10 times
- arch/sh/kernel/irq.c, 2 times
- arch/sh/kernel/smp.c, line 61
- arch/sparc/include/asm/compat.h, line 148
- arch/sparc/include/asm/current.h, line 30
- arch/sparc/include/asm/fpumacro.h, line 18
- arch/sparc/include/asm/processor_64.h, 14 times
- arch/sparc/include/asm/ptrace.h, 3 times
- arch/sparc/include/asm/sfp-machine_64.h, 3 times
- arch/sparc/include/asm/smp_32.h, line 107
- arch/sparc/include/asm/smp_64.h, line 48
- arch/sparc/include/asm/switch_to_64.h, line 27
- arch/sparc/include/asm/thread_info_64.h, line 140
- arch/sparc/include/asm/uaccess_64.h, 2 times
- arch/sparc/kernel/perf_event.c, 4 times
- arch/sparc/kernel/process_32.c, line 204
- arch/sparc/kernel/process_64.c, 9 times
- arch/sparc/kernel/setup_64.c, 2 times
- arch/sparc/kernel/signal32.c, 6 times
- arch/sparc/kernel/signal_32.c, 4 times
- arch/sparc/kernel/signal_64.c, 11 times
- arch/sparc/kernel/sigutil_32.c, 3 times
- arch/sparc/kernel/sigutil_64.c, 11 times
- arch/sparc/kernel/smp_32.c, line 255
- arch/sparc/kernel/smp_64.c, line 127
- arch/sparc/kernel/stacktrace.c, 2 times
- arch/sparc/kernel/sys_sparc_64.c, 16 times
- arch/sparc/kernel/traps_64.c, 4 times
- arch/sparc/kernel/unaligned_64.c, 18 times
- arch/sparc/kernel/visemul.c, 4 times
- arch/sparc/kernel/windows.c, 2 times
- arch/sparc/math-emu/math_64.c, 22 times
- arch/sparc/mm/fault_32.c, line 435
- arch/sparc/mm/fault_64.c, line 278
- arch/um/kernel/irq.c, 2 times
- arch/um/kernel/process.c, 6 times
- arch/um/kernel/signal.c, 4 times
- arch/unicore32/kernel/process.c, 2 times
- arch/unicore32/kernel/ptrace.c, 2 times
- arch/unicore32/kernel/signal.c, line 304
- arch/unicore32/kernel/traps.c, line 217
- arch/x86/entry/common.c, 6 times
- arch/x86/include/asm/mwait.h, 2 times
- arch/x86/include/asm/thread_info.h, line 233
- arch/x86/kernel/cpu/bugs.c, line 149
- arch/x86/kernel/process.c, 2 times
- arch/x86/kernel/process_64.c, 3 times
- arch/x86/kernel/signal.c, line 796
- arch/x86/kernel/smpboot.c, line 1698
- arch/x86/um/signal.c, 2 times
- arch/xtensa/include/asm/current.h, line 24
- arch/xtensa/include/asm/smp.h, line 14
- arch/xtensa/kernel/process.c, 2 times
- arch/xtensa/kernel/signal.c, 2 times
- include/asm-generic/current.h, line 7
- include/asm-generic/preempt.h, 2 times
- include/asm-generic/uaccess.h, 2 times
- include/linux/thread_info.h, 6 times