Linux Kernel
3.7.1
|
#include <linux/compiler.h>
#include <asm/page.h>
#include <asm/types.h>
#include <asm/processor.h>
#include <asm/ftrace.h>
#include <linux/atomic.h>
#include <asm/percpu.h>
Go to the source code of this file.
Data Structures | |
struct | thread_info |
Functions | |
DECLARE_PER_CPU (unsigned long, kernel_stack) | |
void | arch_task_cache_init (void) |
int | arch_dup_task_struct (struct task_struct *dst, struct task_struct *src) |
void | arch_release_task_struct (struct task_struct *tsk) |
Variables | |
struct thread_info | __attribute__ |
#define _TIF_ADDR32 (1 << TIF_ADDR32) |
Definition at line 123 of file thread_info.h.
#define _TIF_ALLWORK_MASK |
Definition at line 144 of file thread_info.h.
#define _TIF_BLOCKSTEP (1 << TIF_BLOCKSTEP) |
Definition at line 120 of file thread_info.h.
#define _TIF_DEBUG (1 << TIF_DEBUG) |
Definition at line 117 of file thread_info.h.
#define _TIF_DO_NOTIFY_MASK |
Definition at line 149 of file thread_info.h.
#define _TIF_FORCED_TF (1 << TIF_FORCED_TF) |
Definition at line 119 of file thread_info.h.
#define _TIF_FORK (1 << TIF_FORK) |
Definition at line 115 of file thread_info.h.
#define _TIF_IA32 (1 << TIF_IA32) |
Definition at line 114 of file thread_info.h.
#define _TIF_IO_BITMAP (1 << TIF_IO_BITMAP) |
Definition at line 118 of file thread_info.h.
#define _TIF_LAZY_MMU_UPDATES (1 << TIF_LAZY_MMU_UPDATES) |
Definition at line 121 of file thread_info.h.
#define _TIF_MCE_NOTIFY (1 << TIF_MCE_NOTIFY) |
Definition at line 110 of file thread_info.h.
#define _TIF_NEED_RESCHED (1 << TIF_NEED_RESCHED) |
Definition at line 106 of file thread_info.h.
#define _TIF_NOHZ (1 << TIF_NOHZ) |
Definition at line 116 of file thread_info.h.
#define _TIF_NOTIFY_RESUME (1 << TIF_NOTIFY_RESUME) |
Definition at line 103 of file thread_info.h.
#define _TIF_NOTSC (1 << TIF_NOTSC) |
Definition at line 113 of file thread_info.h.
#define _TIF_SECCOMP (1 << TIF_SECCOMP) |
Definition at line 109 of file thread_info.h.
#define _TIF_SIGPENDING (1 << TIF_SIGPENDING) |
Definition at line 104 of file thread_info.h.
#define _TIF_SINGLESTEP (1 << TIF_SINGLESTEP) |
Definition at line 105 of file thread_info.h.
#define _TIF_SYSCALL_AUDIT (1 << TIF_SYSCALL_AUDIT) |
Definition at line 108 of file thread_info.h.
#define _TIF_SYSCALL_EMU (1 << TIF_SYSCALL_EMU) |
Definition at line 107 of file thread_info.h.
#define _TIF_SYSCALL_TRACE (1 << TIF_SYSCALL_TRACE) |
Definition at line 102 of file thread_info.h.
#define _TIF_SYSCALL_TRACEPOINT (1 << TIF_SYSCALL_TRACEPOINT) |
Definition at line 122 of file thread_info.h.
#define _TIF_UPROBE (1 << TIF_UPROBE) |
Definition at line 112 of file thread_info.h.
#define _TIF_USER_RETURN_NOTIFY (1 << TIF_USER_RETURN_NOTIFY) |
Definition at line 111 of file thread_info.h.
#define _TIF_WORK_CTXSW (_TIF_IO_BITMAP|_TIF_NOTSC|_TIF_BLOCKSTEP) |
Definition at line 154 of file thread_info.h.
#define _TIF_WORK_CTXSW_NEXT (_TIF_WORK_CTXSW|_TIF_DEBUG) |
Definition at line 158 of file thread_info.h.
#define _TIF_WORK_CTXSW_PREV (_TIF_WORK_CTXSW|_TIF_USER_RETURN_NOTIFY) |
Definition at line 157 of file thread_info.h.
#define _TIF_WORK_MASK |
Definition at line 138 of file thread_info.h.
#define _TIF_WORK_SYSCALL_ENTRY |
Definition at line 127 of file thread_info.h.
#define _TIF_WORK_SYSCALL_EXIT |
Definition at line 133 of file thread_info.h.
#define _TIF_X32 (1 << TIF_X32) |
Definition at line 124 of file thread_info.h.
#define HAVE_SET_RESTORE_SIGMASK 1 |
Definition at line 247 of file thread_info.h.
#define init_stack (init_thread_union.stack) |
Definition at line 61 of file thread_info.h.
#define INIT_THREAD_INFO | ( | tsk | ) |
Definition at line 47 of file thread_info.h.
#define init_thread_info (init_thread_union.thread_info) |
Definition at line 60 of file thread_info.h.
#define KERNEL_STACK_OFFSET (5*8) |
Definition at line 199 of file thread_info.h.
#define PREEMPT_ACTIVE 0x10000000 |
Definition at line 160 of file thread_info.h.
Definition at line 99 of file thread_info.h.
#define TIF_BLOCKSTEP 25 /* set when we want DEBUGCTLMSR_BTF */ |
Definition at line 96 of file thread_info.h.
Definition at line 93 of file thread_info.h.
Definition at line 95 of file thread_info.h.
#define TIF_FORK 18 /* ret_from_fork */ |
Definition at line 90 of file thread_info.h.
#define TIF_IA32 17 /* IA32 compatibility process */ |
Definition at line 89 of file thread_info.h.
Definition at line 94 of file thread_info.h.
Definition at line 97 of file thread_info.h.
Definition at line 85 of file thread_info.h.
#define TIF_MEMDIE 20 /* is terminating due to OOM killer */ |
Definition at line 92 of file thread_info.h.
#define TIF_NEED_RESCHED 3 /* rescheduling necessary */ |
Definition at line 80 of file thread_info.h.
Definition at line 91 of file thread_info.h.
Definition at line 78 of file thread_info.h.
Definition at line 88 of file thread_info.h.
#define TIF_SECCOMP 8 /* secure computing */ |
Definition at line 84 of file thread_info.h.
#define TIF_SIGPENDING 2 /* signal pending */ |
Definition at line 79 of file thread_info.h.
Definition at line 81 of file thread_info.h.
Definition at line 83 of file thread_info.h.
Definition at line 82 of file thread_info.h.
Definition at line 77 of file thread_info.h.
#define TIF_SYSCALL_TRACEPOINT 28 /* syscall tracepoint instrumentation */ |
Definition at line 98 of file thread_info.h.
#define TIF_UPROBE 12 /* breakpointed or singlestepping */ |
Definition at line 87 of file thread_info.h.
Definition at line 86 of file thread_info.h.
Definition at line 100 of file thread_info.h.
#define TS_COMPAT 0x0002 /* 32bit syscall active (64BIT)*/ |
Definition at line 240 of file thread_info.h.
#define TS_POLLING |
Definition at line 241 of file thread_info.h.
#define TS_RESTORE_SIGMASK 0x0008 /* restore signal mask in do_signal() */ |
Definition at line 242 of file thread_info.h.
#define tsk_is_polling | ( | t | ) | (task_thread_info(t)->status & TS_POLLING) |
Definition at line 244 of file thread_info.h.
int arch_dup_task_struct | ( | struct task_struct * | dst, |
struct task_struct * | src | ||
) |
void arch_release_task_struct | ( | struct task_struct * | tsk | ) |
DECLARE_PER_CPU | ( | unsigned | long, |
kernel_stack | |||
) |