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/types.h>
#include <asm/page.h>
#include <asm/uaccess.h>

Go to the source code of this file.

Data Structures

struct  thread_info
 

Macros

#define INIT_THREAD_INFO(tsk)
 
#define init_thread_info   (init_thread_union.thread_info)
 
#define init_stack   (init_thread_union.stack)
 
#define THREAD_SIZE   ((1 << CONFIG_KERNEL_STACK_ORDER) * PAGE_SIZE)
 
#define THREAD_SIZE_ORDER   CONFIG_KERNEL_STACK_ORDER
 
#define PREEMPT_ACTIVE   0x10000000
 
#define TIF_SYSCALL_TRACE   0 /* syscall trace active */
 
#define TIF_SIGPENDING   1 /* signal pending */
 
#define TIF_NEED_RESCHED   2 /* rescheduling necessary */
 
#define TIF_RESTART_BLOCK   4
 
#define TIF_MEMDIE   5 /* is terminating due to OOM killer */
 
#define TIF_SYSCALL_AUDIT   6
 
#define TIF_RESTORE_SIGMASK   7
 
#define TIF_NOTIFY_RESUME   8
 
#define _TIF_SYSCALL_TRACE   (1 << TIF_SYSCALL_TRACE)
 
#define _TIF_SIGPENDING   (1 << TIF_SIGPENDING)
 
#define _TIF_NEED_RESCHED   (1 << TIF_NEED_RESCHED)
 
#define _TIF_MEMDIE   (1 << TIF_MEMDIE)
 
#define _TIF_SYSCALL_AUDIT   (1 << TIF_SYSCALL_AUDIT)
 

Macro Definition Documentation

#define _TIF_MEMDIE   (1 << TIF_MEMDIE)

Definition at line 77 of file thread_info.h.

#define _TIF_NEED_RESCHED   (1 << TIF_NEED_RESCHED)

Definition at line 76 of file thread_info.h.

#define _TIF_SIGPENDING   (1 << TIF_SIGPENDING)

Definition at line 75 of file thread_info.h.

#define _TIF_SYSCALL_AUDIT   (1 << TIF_SYSCALL_AUDIT)

Definition at line 78 of file thread_info.h.

#define _TIF_SYSCALL_TRACE   (1 << TIF_SYSCALL_TRACE)

Definition at line 74 of file thread_info.h.

#define init_stack   (init_thread_union.stack)

Definition at line 44 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, \
.addr_limit = KERNEL_DS, \
.restart_block = { \
}, \
.real_thread = NULL, \
}

Definition at line 29 of file thread_info.h.

#define init_thread_info   (init_thread_union.thread_info)

Definition at line 43 of file thread_info.h.

#define PREEMPT_ACTIVE   0x10000000

Definition at line 63 of file thread_info.h.

#define THREAD_SIZE   ((1 << CONFIG_KERNEL_STACK_ORDER) * PAGE_SIZE)

Definition at line 46 of file thread_info.h.

#define THREAD_SIZE_ORDER   CONFIG_KERNEL_STACK_ORDER

Definition at line 59 of file thread_info.h.

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

Definition at line 69 of file thread_info.h.

#define TIF_NEED_RESCHED   2 /* rescheduling necessary */

Definition at line 67 of file thread_info.h.

#define TIF_NOTIFY_RESUME   8

Definition at line 72 of file thread_info.h.

#define TIF_RESTART_BLOCK   4

Definition at line 68 of file thread_info.h.

#define TIF_RESTORE_SIGMASK   7

Definition at line 71 of file thread_info.h.

#define TIF_SIGPENDING   1 /* signal pending */

Definition at line 66 of file thread_info.h.

#define TIF_SYSCALL_AUDIT   6

Definition at line 70 of file thread_info.h.

#define TIF_SYSCALL_TRACE   0 /* syscall trace active */

Definition at line 65 of file thread_info.h.