Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
process.c File Reference
#include <linux/fs.h>
#include <linux/slab.h>
#include <linux/module.h>
#include <linux/ptrace.h>
#include <linux/unistd.h>
#include <linux/hardirq.h>
#include <linux/rcupdate.h>
#include <asm/io.h>
#include <asm/uaccess.h>
#include <asm/mmu_context.h>
#include <asm/elf.h>
#include <asm/m32r.h>
#include <linux/err.h>

Go to the source code of this file.

Macros

#define DPRINTK(fmt, args...)
 
#define first_sched   ((unsigned long) scheduling_functions_start_here)
 
#define last_sched   ((unsigned long) scheduling_functions_end_here)
 

Functions

unsigned long thread_saved_pc (struct task_struct *tsk)
 
 EXPORT_SYMBOL (pm_power_off)
 
void cpu_idle (void)
 
void machine_restart (char *__unused)
 
void machine_halt (void)
 
void machine_power_off (void)
 
 __setup ("idle=", idle_setup)
 
void show_regs (struct pt_regs *regs)
 
int kernel_thread (int(*fn)(void *), void *arg, unsigned long flags)
 
void exit_thread (void)
 
void flush_thread (void)
 
void release_thread (struct task_struct *dead_task)
 
int dump_fpu (struct pt_regs *regs, elf_fpregset_t *fpu)
 
int copy_thread (unsigned long clone_flags, unsigned long spu, unsigned long unused, struct task_struct *tsk, struct pt_regs *regs)
 
asmlinkage int sys_fork (unsigned long r0, unsigned long r1, unsigned long r2, unsigned long r3, unsigned long r4, unsigned long r5, unsigned long r6, struct pt_regs regs)
 
asmlinkage int sys_clone (unsigned long clone_flags, unsigned long newsp, unsigned long parent_tidptr, unsigned long child_tidptr, unsigned long r4, unsigned long r5, unsigned long r6, struct pt_regs regs)
 
asmlinkage int sys_vfork (unsigned long r0, unsigned long r1, unsigned long r2, unsigned long r3, unsigned long r4, unsigned long r5, unsigned long r6, struct pt_regs regs)
 
asmlinkage int sys_execve (const char __user *ufilename, const char __user *const __user *uargv, const char __user *const __user *uenvp, unsigned long r3, unsigned long r4, unsigned long r5, unsigned long r6, struct pt_regs regs)
 
unsigned long get_wchan (struct task_struct *p)
 

Variables

void(* pm_power_off )(void) = NULL
 

Macro Definition Documentation

#define DPRINTK (   fmt,
  args... 
)

Definition at line 16 of file process.c.

#define first_sched   ((unsigned long) scheduling_functions_start_here)

Definition at line 315 of file process.c.

#define last_sched   ((unsigned long) scheduling_functions_end_here)

Definition at line 316 of file process.c.

Function Documentation

__setup ( )
int copy_thread ( unsigned long  clone_flags,
unsigned long  spu,
unsigned long  unused,
struct task_struct tsk,
struct pt_regs regs 
)

Definition at line 229 of file process.c.

void cpu_idle ( void  )

Definition at line 82 of file process.c.

int dump_fpu ( struct pt_regs regs,
elf_fpregset_t fpu 
)

Definition at line 224 of file process.c.

void exit_thread ( void  )

Definition at line 205 of file process.c.

EXPORT_SYMBOL ( pm_power_off  )
void flush_thread ( void  )

Definition at line 211 of file process.c.

unsigned long get_wchan ( struct task_struct p)

Definition at line 318 of file process.c.

int kernel_thread ( int(*)(void *)  fn,
void arg,
unsigned long  flags 
)

Definition at line 185 of file process.c.

void machine_halt ( void  )

Definition at line 111 of file process.c.

void machine_power_off ( void  )

Definition at line 118 of file process.c.

void machine_restart ( char __unused)

Definition at line 100 of file process.c.

void release_thread ( struct task_struct dead_task)

Definition at line 217 of file process.c.

void show_regs ( struct pt_regs regs)

Definition at line 138 of file process.c.

asmlinkage int sys_clone ( unsigned long  clone_flags,
unsigned long  newsp,
unsigned long  parent_tidptr,
unsigned long  child_tidptr,
unsigned long  r4,
unsigned long  r5,
unsigned long  r6,
struct pt_regs  regs 
)

Definition at line 258 of file process.c.

asmlinkage int sys_execve ( const char __user ufilename,
const char __user *const __user uargv,
const char __user *const __user uenvp,
unsigned long  r3,
unsigned long  r4,
unsigned long  r5,
unsigned long  r6,
struct pt_regs  regs 
)

Definition at line 292 of file process.c.

asmlinkage int sys_fork ( unsigned long  r0,
unsigned long  r1,
unsigned long  r2,
unsigned long  r3,
unsigned long  r4,
unsigned long  r5,
unsigned long  r6,
struct pt_regs  regs 
)

Definition at line 247 of file process.c.

asmlinkage int sys_vfork ( unsigned long  r0,
unsigned long  r1,
unsigned long  r2,
unsigned long  r3,
unsigned long  r4,
unsigned long  r5,
unsigned long  r6,
struct pt_regs  regs 
)

Definition at line 281 of file process.c.

unsigned long thread_saved_pc ( struct task_struct tsk)

Definition at line 42 of file process.c.

Variable Documentation

void(* pm_power_off)(void) = NULL

Definition at line 52 of file process.c.