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/user.h>
#include <linux/interrupt.h>
#include <linux/delay.h>
#include <linux/reboot.h>
#include <linux/percpu.h>
#include <linux/err.h>
#include <linux/fs.h>
#include <linux/slab.h>
#include <linux/rcupdate.h>
#include <asm/uaccess.h>
#include <asm/pgtable.h>
#include <asm/io.h>
#include <asm/processor.h>
#include <asm/mmu_context.h>
#include <asm/fpu.h>
#include <asm/reset-regs.h>
#include <asm/gdb-stub.h>
#include "internal.h"

Go to the source code of this file.

Functions

 EXPORT_SYMBOL (pm_idle)
 
unsigned long thread_saved_pc (struct task_struct *tsk)
 
 EXPORT_SYMBOL (pm_power_off)
 
void cpu_idle (void)
 
void release_segments (struct mm_struct *mm)
 
void machine_restart (char *cmd)
 
void machine_halt (void)
 
void machine_power_off (void)
 
void show_regs (struct pt_regs *regs)
 
void exit_thread (void)
 
void flush_thread (void)
 
void release_thread (struct task_struct *dead_task)
 
void copy_segments (struct task_struct *p, struct mm_struct *new_mm)
 
int arch_dup_task_struct (struct task_struct *dst, struct task_struct *src)
 
int copy_thread (unsigned long clone_flags, unsigned long c_usp, unsigned long ustk_size, struct task_struct *p, struct pt_regs *kregs)
 
asmlinkage long sys_clone (unsigned long clone_flags, unsigned long newsp, int __user *parent_tidptr, int __user *child_tidptr, int __user *tlsptr)
 
asmlinkage long sys_fork (void)
 
asmlinkage long sys_vfork (void)
 
unsigned long get_wchan (struct task_struct *p)
 

Variables

void(* pm_idle )(void)
 
void(* pm_power_off )(void)
 

Function Documentation

int arch_dup_task_struct ( struct task_struct dst,
struct task_struct src 
)

Definition at line 196 of file process.c.

void copy_segments ( struct task_struct p,
struct mm_struct new_mm 
)

Definition at line 188 of file process.c.

int copy_thread ( unsigned long  clone_flags,
unsigned long  c_usp,
unsigned long  ustk_size,
struct task_struct p,
struct pt_regs kregs 
)

Definition at line 207 of file process.c.

void cpu_idle ( void  )

Definition at line 107 of file process.c.

void exit_thread ( void  )

Definition at line 170 of file process.c.

EXPORT_SYMBOL ( pm_idle  )
EXPORT_SYMBOL ( pm_power_off  )
void flush_thread ( void  )

Definition at line 175 of file process.c.

unsigned long get_wchan ( struct task_struct p)

Definition at line 276 of file process.c.

void machine_halt ( void  )

Definition at line 149 of file process.c.

void machine_power_off ( void  )

Definition at line 156 of file process.c.

void machine_restart ( char cmd)

Definition at line 136 of file process.c.

void release_segments ( struct mm_struct mm)

Definition at line 132 of file process.c.

void release_thread ( struct task_struct dead_task)

Definition at line 180 of file process.c.

void show_regs ( struct pt_regs regs)

Definition at line 163 of file process.c.

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

Definition at line 256 of file process.c.

asmlinkage long sys_fork ( void  )

Definition at line 264 of file process.c.

asmlinkage long sys_vfork ( void  )

Definition at line 270 of file process.c.

unsigned long thread_saved_pc ( struct task_struct tsk)

Definition at line 48 of file process.c.

Variable Documentation

void(* pm_idle)(void)
default

Definition at line 42 of file process.c.

void(* pm_power_off)(void)

Definition at line 56 of file process.c.