init_task.c File Reference

Go to the source code of this file.

Defines

#define BITS_PER_PAGE   (PAGE_SIZE*8)
#define BITS_PER_PAGE_MASK   (BITS_PER_PAGE-1)

Functions

 EXPORT_SYMBOL (system_state)
 EXPORT_SYMBOL_GPL (init_pid_ns)
struct net init_net __attribute__ ((weak))
 pcibios_set_pcie_reset_state - set reset state for device dev : the PCI-E device reset : Reset state to enter into
long do_no_restart_syscall (struct restart_block *param)

Variables

struct task_struct init_task = INIT_TASK(init_task)
enum system_states system_state
struct fs_struct init_fs
struct files_struct init_files
struct signal_struct init_signals = INIT_SIGNALS(init_signals)
struct sighand_struct init_sighand = INIT_SIGHAND(init_sighand)
struct mm_struct init_mm = INIT_MM(init_mm)
pgd_t swapper_pg_dir [PTRS_PER_PGD]
union thread_union init_thread_union = { INIT_THREAD_INFO(init_task) }
struct group_info init_groups = {.usage = ATOMIC_INIT(2)}
struct user_struct root_user
struct pid_namespace init_pid_ns
struct nsproxy init_nsproxy = INIT_NSPROXY(init_nsproxy)
struct ipc_namespace init_ipc_ns
struct user_namespace init_user_ns
struct uts_namespace init_uts_ns
struct exec_domain default_exec_domain
struct thread_info init_thread = INIT_THREAD_INFO(init_task)


Define Documentation

#define BITS_PER_PAGE   (PAGE_SIZE*8)

Definition at line 22 of file init_task.c.

#define BITS_PER_PAGE_MASK   (BITS_PER_PAGE-1)

Definition at line 23 of file init_task.c.


Function Documentation

int __attribute__ ( (weak)   )  [read]

pcibios_set_pcie_reset_state - set reset state for device dev : the PCI-E device reset : Reset state to enter into

pci_ext_cfg_enabled - can we access extended PCI config space? : The PCI device of the root bridge.

Sets the PCI-E reset state for the device. This is the default implementation. Architecture implementations can override this.

Returns 1 if we can access PCI extended config space (offsets greater than 0xff). This is the default implementation. Architecture implementations can override this.

pci_ext_cfg_enabled - can we access extended PCI config space? : The PCI device of the root bridge.

pcibios_set_pcie_reset_state - set reset state for device dev : the PCI-E device reset : Reset state to enter into

Disables architecture specific PCI resources for the device. This is the default implementation. Architecture implementations can override this.

Sets the PCI-E reset state for the device. This is the default implementation. Architecture implementations can override this.

Returns 1 if we can access PCI extended config space (offsets greater than 0xff). This is the default implementation. Architecture implementations can override this.

Definition at line 1050 of file linux26/lib/src/drivers/pci/pci.c.

long do_no_restart_syscall ( struct restart_block *  param  ) 

Definition at line 128 of file init_task.c.

EXPORT_SYMBOL ( system_state   ) 

EXPORT_SYMBOL_GPL ( init_pid_ns   ) 


Variable Documentation

struct exec_domain default_exec_domain

Initial value:

 {
        .name       = "Linux",      
        .handler    = NULL,         
        .pers_low   = 0,            
        .pers_high  = 0,            
        .signal_map = 0,            
        .signal_invmap  = 0,        
}

Definition at line 114 of file init_task.c.

struct files_struct init_files

Initial value:

 {
        .count          = ATOMIC_INIT(1),
        .fdt            = &init_files.fdtab,
        .fdtab          = {
                .max_fds        = NR_OPEN_DEFAULT,
                .fd             = &init_files.fd_array[0],
                .close_on_exec  = (fd_set *)&init_files.close_on_exec_init,
                .open_fds       = (fd_set *)&init_files.open_fds_init,
                .rcu            = RCU_HEAD_INIT,
        },
        .file_lock      = __SPIN_LOCK_UNLOCKED(init_task.file_lock),
}

Definition at line 35 of file init_task.c.

struct fs_struct init_fs

Initial value:

 {
        .count          = ATOMIC_INIT(1),
        .lock           = __RW_LOCK_UNLOCKED(init_fs.lock),
        .umask          = 0022,
}

Definition at line 29 of file init_task.c.

struct group_info init_groups = {.usage = ATOMIC_INIT(2)}

Definition at line 53 of file init_task.c.

struct ipc_namespace init_ipc_ns

Initial value:

 {
        .kref = {
                .refcount = ATOMIC_INIT(2),
        },
}

Definition at line 87 of file init_task.c.

struct mm_struct init_mm = INIT_MM(init_mm)

Definition at line 50 of file init_task.c.

struct nsproxy init_nsproxy = INIT_NSPROXY(init_nsproxy)

Definition at line 85 of file init_task.c.

struct pid_namespace init_pid_ns

Initial value:

 {
        .kref = {
                .refcount       = ATOMIC_INIT(2),
        },
        .pidmap = {
                [ 0 ... PIDMAP_ENTRIES-1] = { ATOMIC_INIT(BITS_PER_PAGE), NULL }
        },
        .last_pid = 0,
        .level = 0,
        .child_reaper = &init_task,
}

Definition at line 70 of file init_task.c.

struct sighand_struct init_sighand = INIT_SIGHAND(init_sighand)

Definition at line 49 of file init_task.c.

struct signal_struct init_signals = INIT_SIGNALS(init_signals)

Definition at line 48 of file init_task.c.

struct task_struct init_task = INIT_TASK(init_task) [read]

Definition at line 19 of file init_task.c.

struct thread_info init_thread = INIT_THREAD_INFO(init_task)

Definition at line 126 of file init_task.c.

union thread_union init_thread_union = { INIT_THREAD_INFO(init_task) }

Definition at line 52 of file init_task.c.

struct user_namespace init_user_ns

Initial value:

 { 
    .kref = { 
        .refcount   = ATOMIC_INIT(2),
    },  
}

Definition at line 93 of file init_task.c.

struct uts_namespace init_uts_ns

Initial value:

 {
        .kref = {
                .refcount   = ATOMIC_INIT(2),
        },
        .name = {
                .sysname    = "L4/DDE",
                .nodename   = "",
                .release    = "2.6",
                .version    = "25",
                .machine    = "",
                .domainname = "",
        },
}

Definition at line 100 of file init_task.c.

struct user_struct root_user

Initial value:

 {
        .__count    = ATOMIC_INIT(1),
        .processes  = ATOMIC_INIT(1),
        .files      = ATOMIC_INIT(0),
        .sigpending = ATOMIC_INIT(0),
        .mq_bytes   = 0,
        .locked_shm = 0,
}

Definition at line 55 of file init_task.c.

pgd_t swapper_pg_dir[PTRS_PER_PGD]

Definition at line 51 of file init_task.c.

enum system_states system_state

Definition at line 26 of file init_task.c.


Generated on Wed Apr 11 06:39:15 2012 for DDE - The L4 Device Driver Environment by  doxygen 1.5.6