Defined in 2 files as a prototype:
Defined in 12 files as a macro:
- arch/alpha/include/asm/thread_info.h, line 46 (as a macro)
- arch/frv/include/asm/thread_info.h, line 73 (as a macro)
- arch/hexagon/include/asm/thread_info.h, line 96 (as a macro)
- arch/ia64/include/asm/thread_info.h, line 50 (as a macro)
- arch/ia64/include/asm/thread_info.h, line 55 (as a macro)
- arch/openrisc/include/asm/thread_info.h, line 86 (as a macro)
- arch/parisc/include/asm/thread_info.h, line 31 (as a macro)
- arch/score/include/asm/thread_info.h, line 65 (as a macro)
- arch/sparc/include/asm/thread_info_32.h, line 70 (as a macro)
- arch/sparc/include/asm/thread_info_64.h, line 127 (as a macro)
- arch/tile/include/asm/thread_info.h, line 86 (as a macro)
- include/linux/thread_info.h, line 21 (as a macro)
Defined in 20 files as a function:
- arch/arc/include/asm/thread_info.h, line 68 (as a function)
- arch/arm/include/asm/thread_info.h, line 91 (as a function)
- arch/avr32/include/asm/thread_info.h, line 49 (as a function)
- arch/blackfin/include/asm/thread_info.h, line 67 (as a function)
- arch/c6x/include/asm/thread_info.h, line 68 (as a function)
- arch/cris/include/arch-v10/arch/thread_info.h, line 5 (as a function)
- arch/cris/include/arch-v32/arch/thread_info.h, line 5 (as a function)
- arch/h8300/include/asm/thread_info.h, line 52 (as a function)
- arch/m32r/include/asm/thread_info.h, line 62 (as a function)
- arch/m68k/include/asm/thread_info.h, line 47 (as a function)
- arch/metag/include/asm/thread_info.h, line 83 (as a function)
- arch/microblaze/include/asm/thread_info.h, line 93 (as a function)
- arch/mips/include/asm/thread_info.h, line 58 (as a function)
- arch/mn10300/include/asm/thread_info.h, line 92 (as a function)
- arch/nios2/include/asm/thread_info.h, line 70 (as a function)
- arch/powerpc/include/asm/thread_info.h, line 74 (as a function)
- arch/sh/include/asm/thread_info.h, line 72 (as a function)
- arch/um/include/asm/thread_info.h, line 42 (as a function)
- arch/unicore32/include/asm/thread_info.h, line 98 (as a function)
- arch/xtensa/include/asm/thread_info.h, line 84 (as a function)
Referenced in 189 files:
- arch/alpha/include/asm/current.h, line 6
- arch/alpha/include/asm/elf.h, line 114
- arch/alpha/include/asm/ptrace.h, line 17
- arch/alpha/include/asm/smp.h, line 43
- 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 549
- arch/alpha/kernel/smp.c, line 454
- arch/alpha/kernel/traps.c, 5 times
- arch/alpha/math-emu/math.c, 2 times
- arch/alpha/mm/fault.c, line 48
- arch/arc/include/asm/smp.h, line 18
- arch/arc/kernel/kprobes.c, line 21
- arch/arm/common/bL_switcher.c, line 128
- arch/arm/include/asm/domain.h, line 95
- arch/arm/include/asm/smp.h, line 21
- arch/arm/include/asm/tls.h, line 61
- arch/arm/include/asm/uaccess.h, 5 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 51
- arch/arm/kernel/traps.c, line 697
- arch/arm/kernel/xscale-cp0.c, line 47
- arch/arm/mm/alignment.c, line 972
- arch/arm/nwfpe/fpa11.h, 2 times
- arch/arm/probes/kprobes/core.c, line 41
- arch/arm/vfp/vfpmodule.c, 6 times
- arch/arm64/include/asm/uaccess.h, 4 times
- arch/arm64/kernel/signal.c, line 433
- arch/avr32/include/asm/current.h, line 10
- arch/avr32/kernel/ptrace.c, line 243
- arch/blackfin/include/asm/uaccess.h, 2 times
- arch/blackfin/kernel/trace.c, line 764
- arch/cris/include/asm/current.h, line 10
- arch/cris/include/asm/uaccess.h, 2 times
- arch/cris/kernel/ptrace.c, line 65
- arch/h8300/include/asm/ptrace.h, line 25
- arch/hexagon/include/asm/mmu_context.h, line 93
- arch/hexagon/include/asm/smp.h, line 26
- arch/hexagon/include/uapi/asm/ptrace.h, line 37
- arch/hexagon/kernel/smp.c, line 175
- arch/ia64/include/asm/smp.h, line 51
- arch/ia64/include/asm/uaccess.h, 2 times
- arch/ia64/kernel/smpboot.c, line 551
- arch/m32r/include/asm/current.h, line 10
- arch/m32r/include/asm/ptrace.h, line 42
- arch/m32r/include/asm/smp.h, line 63
- arch/m32r/include/asm/thread_info.h, 2 times
- arch/m32r/include/asm/uaccess.h, 4 times
- arch/m32r/kernel/setup.c, line 412
- arch/m32r/kernel/smpboot.c, line 143
- arch/m32r/mm/mmu.S, 2 times
- arch/m68k/include/asm/current.h, line 21
- arch/m68k/include/asm/ptrace.h, line 17
- arch/m68k/include/asm/segment.h, 2 times
- arch/m68k/kernel/sys_m68k.c, 2 times
- arch/metag/include/asm/ptrace.h, line 28
- arch/metag/include/asm/smp.h, line 6
- arch/metag/include/asm/uaccess.h, 2 times
- arch/metag/kernel/irq.c, 2 times
- arch/metag/kernel/setup.c, line 551
- arch/metag/kernel/signal.c, line 331
- arch/metag/kernel/smp.c, line 421
- arch/metag/kernel/traps.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 225
- arch/mips/include/asm/irq_regs.h, 2 times
- arch/mips/include/asm/kprobes.h, line 69
- arch/mips/include/asm/smp.h, line 28
- arch/mips/include/asm/syscall.h, line 32
- arch/mips/include/asm/uaccess.h, 2 times
- arch/mips/kernel/pm-cps.c, line 155
- arch/mips/kernel/pm.c, line 56
- arch/mips/kernel/ptrace.c, line 893
- arch/mips/kernel/smp.c, line 417
- arch/mips/kernel/traps.c, 3 times
- arch/mn10300/include/asm/current.h, line 31
- arch/mn10300/include/asm/smp.h, line 70
- arch/mn10300/include/asm/thread_info.h, line 106
- arch/mn10300/include/asm/uaccess.h, 4 times
- arch/mn10300/kernel/gdb-stub.c, line 1734
- arch/mn10300/kernel/kgdb.c, 3 times
- arch/mn10300/kernel/smp.c, line 912
- arch/mn10300/kernel/traps.c, line 320
- arch/mn10300/lib/usercopy.c, 2 times
- arch/nios2/include/asm/ptrace.h, line 74
- arch/nios2/include/asm/uaccess.h, 2 times
- arch/openrisc/include/asm/uaccess.h, 2 times
- arch/openrisc/kernel/signal.c, line 323
- arch/parisc/include/asm/current.h, line 10
- arch/parisc/include/asm/smp.h, line 35
- arch/parisc/include/asm/uaccess.h, 2 times
- arch/parisc/kernel/irq.c, line 405
- arch/parisc/kernel/traps.c, line 141
- arch/powerpc/include/asm/ptrace.h, line 122
- arch/powerpc/include/asm/smp.h, line 82
- arch/powerpc/include/asm/thread_info.h, line 153
- arch/powerpc/kernel/irq.c, 2 times
- arch/powerpc/kernel/kgdb.c, line 174
- arch/powerpc/kernel/machine_kexec_64.c, 2 times
- arch/powerpc/kernel/process.c, 8 times
- arch/powerpc/kernel/syscalls.c, line 137
- arch/score/include/asm/irq_regs.h, line 8
- arch/score/include/asm/segment.h, 2 times
- arch/score/include/asm/uaccess.h, line 13
- arch/score/kernel/traps.c, line 149
- arch/sh/include/asm/kprobes.h, 2 times
- arch/sh/include/asm/segment.h, 2 times
- arch/sh/include/asm/smp.h, line 15
- arch/sh/include/asm/thread_info.h, 2 times
- arch/sh/include/asm/uaccess.h, 2 times
- arch/sh/kernel/cpu/init.c, line 300
- 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 63
- arch/sparc/include/asm/compat.h, line 232
- arch/sparc/include/asm/current.h, line 29
- arch/sparc/include/asm/fpumacro.h, line 17
- 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 106
- arch/sparc/include/asm/smp_64.h, line 44
- arch/sparc/include/asm/switch_to_64.h, line 26
- arch/sparc/include/asm/thread_info_64.h, line 138
- arch/sparc/include/asm/uaccess_64.h, 2 times
- arch/sparc/kernel/perf_event.c, 4 times
- arch/sparc/kernel/process_32.c, line 208
- 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 254
- arch/sparc/kernel/smp_64.c, line 122
- 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 441
- arch/sparc/mm/fault_64.c, line 295
- arch/tile/include/asm/compat.h, line 267
- arch/tile/include/asm/current.h, line 24
- arch/tile/include/asm/elf.h, 2 times
- arch/tile/include/asm/kprobes.h, line 53
- arch/tile/include/asm/processor.h, line 167
- arch/tile/include/asm/switch_to.h, line 62
- arch/tile/include/asm/uaccess.h, 3 times
- arch/tile/kernel/irq.c, line 108
- arch/tile/kernel/messaging.c, line 60
- arch/tile/kernel/process.c, line 500
- arch/tile/kernel/ptrace.c, line 256
- arch/tile/kernel/single_step.c, 3 times
- arch/tile/kernel/smpboot.c, line 62
- arch/tile/kernel/stack.c, 3 times
- arch/tile/kernel/traps.c, line 345
- arch/tile/kernel/unaligned.c, line 1453
- arch/tile/lib/uaccess.c, line 20
- arch/tile/mm/fault.c, line 730
- arch/um/kernel/irq.c, 2 times
- arch/um/kernel/process.c, 4 times
- arch/unicore32/kernel/process.c, 2 times
- arch/unicore32/kernel/ptrace.c, 2 times
- arch/unicore32/kernel/signal.c, line 307
- arch/unicore32/kernel/traps.c, line 217
- arch/x86/entry/common.c, 6 times
- arch/x86/include/asm/mwait.h, 2 times
- arch/x86/kernel/process.c, 2 times
- arch/x86/kernel/smpboot.c, line 1655
- arch/x86/um/signal.c, 2 times
- arch/xtensa/include/asm/current.h, line 22
- arch/xtensa/include/asm/smp.h, line 14
- arch/xtensa/kernel/process.c, line 132
- arch/xtensa/kernel/signal.c, 2 times
- include/asm-generic/current.h, line 6
- include/asm-generic/preempt.h, 2 times
- include/asm-generic/uaccess.h, 2 times
- include/linux/thread_info.h, 5 times