Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions | Variables
process.c File Reference
#include <linux/module.h>
#include <linux/errno.h>
#include <linux/sched.h>
#include <linux/kernel.h>
#include <linux/mm.h>
#include <linux/smp.h>
#include <linux/stddef.h>
#include <linux/unistd.h>
#include <linux/ptrace.h>
#include <linux/slab.h>
#include <linux/user.h>
#include <linux/elf.h>
#include <linux/reboot.h>
#include <linux/interrupt.h>
#include <linux/pagemap.h>
#include <linux/rcupdate.h>
#include <asm/asm-offsets.h>
#include <asm/uaccess.h>
#include <asm/setup.h>
#include <asm/pgtable.h>
#include <asm/tlb.h>
#include <asm/gdb-stub.h>
#include <asm/mb-regs.h>
#include "local.h"
#include <asm/pgalloc.h>

Go to the source code of this file.

Functions

asmlinkage void ret_from_fork (void)
 
asmlinkage void ret_from_kernel_thread (void)
 
 EXPORT_SYMBOL (pm_power_off)
 
void cpu_idle (void)
 
void machine_restart (char *__unused)
 
void machine_halt (void)
 
void machine_power_off (void)
 
void flush_thread (void)
 
unsigned long user_stack (const struct pt_regs *regs)
 
asmlinkage int sys_fork (void)
 
asmlinkage int sys_vfork (void)
 
asmlinkage int sys_clone (unsigned long clone_flags, unsigned long newsp, int __user *parent_tidptr, int __user *child_tidptr, int __user *tlsptr)
 
int copy_thread (unsigned long clone_flags, unsigned long usp, unsigned long arg, struct task_struct *p, struct pt_regs *regs)
 
unsigned long get_wchan (struct task_struct *p)
 
unsigned long thread_saved_pc (struct task_struct *tsk)
 
int elf_check_arch (const struct elf32_hdr *hdr)
 
int dump_fpu (struct pt_regs *regs, elf_fpregset_t *fpregs)
 

Variables

void(* pm_power_off )(void)
 
void(* idle )(void) = core_sleep_idle
 

Function Documentation

int copy_thread ( unsigned long  clone_flags,
unsigned long  usp,
unsigned long  arg,
struct task_struct p,
struct pt_regs regs 
)

Definition at line 175 of file process.c.

void cpu_idle ( void  )

Definition at line 70 of file process.c.

int dump_fpu ( struct pt_regs regs,
elf_fpregset_t fpregs 
)

Definition at line 327 of file process.c.

int elf_check_arch ( const struct elf32_hdr hdr)

Definition at line 259 of file process.c.

EXPORT_SYMBOL ( pm_power_off  )
void flush_thread ( void  )

Definition at line 130 of file process.c.

unsigned long get_wchan ( struct task_struct p)

Definition at line 221 of file process.c.

void machine_halt ( void  )

Definition at line 112 of file process.c.

void machine_power_off ( void  )

Definition at line 121 of file process.c.

void machine_restart ( char __unused)

Definition at line 87 of file process.c.

asmlinkage void ret_from_fork ( void  )

Definition at line 375 of file process.c.

asmlinkage void ret_from_kernel_thread ( void  )
asmlinkage int sys_clone ( unsigned long  clone_flags,
unsigned long  newsp,
int __user parent_tidptr,
int __user child_tidptr,
int __user tlsptr 
)

Definition at line 163 of file process.c.

asmlinkage int sys_fork ( void  )

Definition at line 142 of file process.c.

asmlinkage int sys_vfork ( void  )

Definition at line 152 of file process.c.

unsigned long thread_saved_pc ( struct task_struct tsk)

Definition at line 250 of file process.c.

unsigned long user_stack ( const struct pt_regs regs)
inline

Definition at line 135 of file process.c.

Variable Documentation

static int idle = core_sleep_idle

Definition at line 62 of file process.c.

void(* pm_power_off)(void)

Definition at line 45 of file process.c.