Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros
thread_info.h File Reference
#include <asm/lowcore.h>
#include <asm/page.h>
#include <asm/processor.h>

Go to the source code of this file.

Data Structures

struct  thread_info
 

Macros

#define THREAD_ORDER   1
 
#define ASYNC_ORDER   1
 
#define THREAD_SIZE   (PAGE_SIZE << THREAD_ORDER)
 
#define ASYNC_SIZE   (PAGE_SIZE << ASYNC_ORDER)
 
#define INIT_THREAD_INFO(tsk)
 
#define init_thread_info   (init_thread_union.thread_info)
 
#define init_stack   (init_thread_union.stack)
 
#define THREAD_SIZE_ORDER   THREAD_ORDER
 
#define TIF_SYSCALL   0 /* inside a system call */
 
#define TIF_NOTIFY_RESUME   1 /* callback before returning to user */
 
#define TIF_SIGPENDING   2 /* signal pending */
 
#define TIF_NEED_RESCHED   3 /* rescheduling necessary */
 
#define TIF_PER_TRAP   6 /* deliver sigtrap on return to user */
 
#define TIF_MCCK_PENDING   7 /* machine check handling is pending */
 
#define TIF_SYSCALL_TRACE   8 /* syscall trace active */
 
#define TIF_SYSCALL_AUDIT   9 /* syscall auditing active */
 
#define TIF_SECCOMP   10 /* secure computing */
 
#define TIF_SYSCALL_TRACEPOINT   11 /* syscall tracepoint instrumentation */
 
#define TIF_31BIT   17 /* 32bit process */
 
#define TIF_MEMDIE   18 /* is terminating due to OOM killer */
 
#define TIF_RESTORE_SIGMASK   19 /* restore signal mask in do_signal() */
 
#define TIF_SINGLE_STEP   20 /* This task is single stepped */
 
#define _TIF_SYSCALL   (1<<TIF_SYSCALL)
 
#define _TIF_NOTIFY_RESUME   (1<<TIF_NOTIFY_RESUME)
 
#define _TIF_SIGPENDING   (1<<TIF_SIGPENDING)
 
#define _TIF_NEED_RESCHED   (1<<TIF_NEED_RESCHED)
 
#define _TIF_PER_TRAP   (1<<TIF_PER_TRAP)
 
#define _TIF_MCCK_PENDING   (1<<TIF_MCCK_PENDING)
 
#define _TIF_SYSCALL_TRACE   (1<<TIF_SYSCALL_TRACE)
 
#define _TIF_SYSCALL_AUDIT   (1<<TIF_SYSCALL_AUDIT)
 
#define _TIF_SECCOMP   (1<<TIF_SECCOMP)
 
#define _TIF_SYSCALL_TRACEPOINT   (1<<TIF_SYSCALL_TRACEPOINT)
 
#define _TIF_31BIT   (1<<TIF_31BIT)
 
#define _TIF_SINGLE_STEP   (1<<TIF_SINGLE_STEP)
 
#define is_32bit_task()   (1)
 
#define PREEMPT_ACTIVE   0x4000000
 

Macro Definition Documentation

#define _TIF_31BIT   (1<<TIF_31BIT)

Definition at line 109 of file thread_info.h.

#define _TIF_MCCK_PENDING   (1<<TIF_MCCK_PENDING)

Definition at line 104 of file thread_info.h.

#define _TIF_NEED_RESCHED   (1<<TIF_NEED_RESCHED)

Definition at line 102 of file thread_info.h.

#define _TIF_NOTIFY_RESUME   (1<<TIF_NOTIFY_RESUME)

Definition at line 100 of file thread_info.h.

#define _TIF_PER_TRAP   (1<<TIF_PER_TRAP)

Definition at line 103 of file thread_info.h.

#define _TIF_SECCOMP   (1<<TIF_SECCOMP)

Definition at line 107 of file thread_info.h.

#define _TIF_SIGPENDING   (1<<TIF_SIGPENDING)

Definition at line 101 of file thread_info.h.

#define _TIF_SINGLE_STEP   (1<<TIF_SINGLE_STEP)

Definition at line 110 of file thread_info.h.

#define _TIF_SYSCALL   (1<<TIF_SYSCALL)

Definition at line 99 of file thread_info.h.

#define _TIF_SYSCALL_AUDIT   (1<<TIF_SYSCALL_AUDIT)

Definition at line 106 of file thread_info.h.

#define _TIF_SYSCALL_TRACE   (1<<TIF_SYSCALL_TRACE)

Definition at line 105 of file thread_info.h.

#define _TIF_SYSCALL_TRACEPOINT   (1<<TIF_SYSCALL_TRACEPOINT)

Definition at line 108 of file thread_info.h.

#define ASYNC_ORDER   1

Definition at line 15 of file thread_info.h.

#define ASYNC_SIZE   (PAGE_SIZE << ASYNC_ORDER)

Definition at line 27 of file thread_info.h.

#define init_stack   (init_thread_union.stack)

Definition at line 69 of file thread_info.h.

#define INIT_THREAD_INFO (   tsk)
Value:
{ \
.task = &tsk, \
.exec_domain = &default_exec_domain, \
.flags = 0, \
.cpu = 0, \
.preempt_count = INIT_PREEMPT_COUNT, \
.restart_block = { \
}, \
}

Definition at line 56 of file thread_info.h.

#define init_thread_info   (init_thread_union.thread_info)

Definition at line 68 of file thread_info.h.

#define is_32bit_task ( )    (1)

Definition at line 115 of file thread_info.h.

#define PREEMPT_ACTIVE   0x4000000

Definition at line 118 of file thread_info.h.

#define THREAD_ORDER   1

Definition at line 14 of file thread_info.h.

#define THREAD_SIZE   (PAGE_SIZE << THREAD_ORDER)

Definition at line 26 of file thread_info.h.

#define THREAD_SIZE_ORDER   THREAD_ORDER

Definition at line 77 of file thread_info.h.

#define TIF_31BIT   17 /* 32bit process */

Definition at line 94 of file thread_info.h.

#define TIF_MCCK_PENDING   7 /* machine check handling is pending */

Definition at line 89 of file thread_info.h.

#define TIF_MEMDIE   18 /* is terminating due to OOM killer */

Definition at line 95 of file thread_info.h.

#define TIF_NEED_RESCHED   3 /* rescheduling necessary */

Definition at line 87 of file thread_info.h.

#define TIF_NOTIFY_RESUME   1 /* callback before returning to user */

Definition at line 85 of file thread_info.h.

#define TIF_PER_TRAP   6 /* deliver sigtrap on return to user */

Definition at line 88 of file thread_info.h.

#define TIF_RESTORE_SIGMASK   19 /* restore signal mask in do_signal() */

Definition at line 96 of file thread_info.h.

#define TIF_SECCOMP   10 /* secure computing */

Definition at line 92 of file thread_info.h.

#define TIF_SIGPENDING   2 /* signal pending */

Definition at line 86 of file thread_info.h.

#define TIF_SINGLE_STEP   20 /* This task is single stepped */

Definition at line 97 of file thread_info.h.

#define TIF_SYSCALL   0 /* inside a system call */

Definition at line 84 of file thread_info.h.

#define TIF_SYSCALL_AUDIT   9 /* syscall auditing active */

Definition at line 91 of file thread_info.h.

#define TIF_SYSCALL_TRACE   8 /* syscall trace active */

Definition at line 90 of file thread_info.h.

#define TIF_SYSCALL_TRACEPOINT   11 /* syscall tracepoint instrumentation */

Definition at line 93 of file thread_info.h.