Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Variables
init_task.h File Reference
#include <linux/rcupdate.h>
#include <linux/irqflags.h>
#include <linux/utsname.h>
#include <linux/lockdep.h>
#include <linux/ftrace.h>
#include <linux/ipc.h>
#include <linux/pid_namespace.h>
#include <linux/user_namespace.h>
#include <linux/securebits.h>
#include <net/net_namespace.h>

Go to the source code of this file.

Macros

#define INIT_PUSHABLE_TASKS(tsk)
 
#define INIT_GROUP_RWSEM(sig)
 
#define INIT_CPUSET_SEQ
 
#define INIT_SIGNALS(sig)
 
#define INIT_SIGHAND(sighand)
 
#define INIT_STRUCT_PID
 
#define INIT_PID_LINK(type)
 
#define INIT_IDS
 
#define INIT_TASK_RCU_BOOST()
 
#define INIT_TASK_RCU_TREE_PREEMPT(tsk)
 
#define INIT_TASK_RCU_PREEMPT(tsk)
 
#define INIT_CGROUP_SCHED(tsk)
 
#define INIT_PERF_EVENTS(tsk)
 
#define INIT_TASK_COMM   "swapper"
 
#define INIT_TASK(tsk)
 
#define INIT_CPU_TIMERS(cpu_timers)
 
#define __init_task_data   __attribute__((__section__(".data..init_task")))
 

Variables

struct files_struct init_files
 
struct fs_struct init_fs
 
struct nsproxy init_nsproxy
 
struct group_info init_groups
 
struct cred init_cred
 
struct task_group root_task_group
 

Macro Definition Documentation

#define __init_task_data   __attribute__((__section__(".data..init_task")))

Definition at line 224 of file init_task.h.

#define INIT_CGROUP_SCHED (   tsk)

Definition at line 132 of file init_task.h.

#define INIT_CPU_TIMERS (   cpu_timers)
Value:
{ \
LIST_HEAD_INIT(cpu_timers[0]), \
LIST_HEAD_INIT(cpu_timers[1]), \
LIST_HEAD_INIT(cpu_timers[2]), \
}

Definition at line 216 of file init_task.h.

#define INIT_CPUSET_SEQ

Definition at line 36 of file init_task.h.

#define INIT_GROUP_RWSEM (   sig)

Definition at line 29 of file init_task.h.

#define INIT_IDS

Definition at line 98 of file init_task.h.

#define INIT_PERF_EVENTS (   tsk)

Definition at line 141 of file init_task.h.

#define INIT_PID_LINK (   type)
Value:
{ \
.node = { \
.next = NULL, \
.pprev = NULL, \
}, \
.pid = &init_struct_pid, \
}

Definition at line 84 of file init_task.h.

#define INIT_PUSHABLE_TASKS (   tsk)

Definition at line 19 of file init_task.h.

#define INIT_SIGHAND (   sighand)
Value:
{ \
.count = ATOMIC_INIT(1), \
.action = { { { .sa_handler = SIG_DFL, } }, }, \
.siglock = __SPIN_LOCK_UNLOCKED(sighand.siglock), \
.signalfd_wqh = __WAIT_QUEUE_HEAD_INITIALIZER(sighand.signalfd_wqh), \
}

Definition at line 60 of file init_task.h.

#define INIT_SIGNALS (   sig)
Value:
{ \
.nr_threads = 1, \
.wait_chldexit = __WAIT_QUEUE_HEAD_INITIALIZER(sig.wait_chldexit),\
.shared_pending = { \
.list = LIST_HEAD_INIT(sig.shared_pending.list), \
.signal = {{0}}}, \
.posix_timers = LIST_HEAD_INIT(sig.posix_timers), \
.cpu_timers = INIT_CPU_TIMERS(sig.cpu_timers), \
.rlim = INIT_RLIMITS, \
.cputimer = { \
.cputime = INIT_CPUTIME, \
.running = 0, \
.lock = __RAW_SPIN_LOCK_UNLOCKED(sig.cputimer.lock), \
}, \
.cred_guard_mutex = \
__MUTEX_INITIALIZER(sig.cred_guard_mutex), \
INIT_GROUP_RWSEM(sig) \
}

Definition at line 39 of file init_task.h.

#define INIT_STRUCT_PID
Value:
{ \
.count = ATOMIC_INIT(1), \
.tasks = { \
{ .first = NULL }, \
{ .first = NULL }, \
{ .first = NULL }, \
}, \
.level = 0, \
.numbers = { { \
.nr = 0, \
.ns = &init_pid_ns, \
.pid_chain = { .next = NULL, .pprev = NULL }, \
}, } \
}

Definition at line 69 of file init_task.h.

#define INIT_TASK (   tsk)

Definition at line 150 of file init_task.h.

#define INIT_TASK_COMM   "swapper"

Definition at line 144 of file init_task.h.

#define INIT_TASK_RCU_BOOST ( )

Definition at line 105 of file init_task.h.

#define INIT_TASK_RCU_PREEMPT (   tsk)

Definition at line 121 of file init_task.h.

#define INIT_TASK_RCU_TREE_PREEMPT (   tsk)

Definition at line 111 of file init_task.h.

Variable Documentation

struct cred init_cred

Definition at line 46 of file cred.c.

struct files_struct init_files

Definition at line 510 of file file.c.

struct fs_struct init_fs

Definition at line 161 of file fs_struct.c.

struct group_info init_groups

Definition at line 12 of file groups.c.

struct nsproxy init_nsproxy

Definition at line 31 of file nsproxy.c.

struct task_group root_task_group