Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
process.c File Reference
#include <linux/sched.h>
#include <linux/slab.h>
#include <linux/err.h>
#include <linux/fs.h>
#include <arch/svinto.h>
#include <linux/init.h>
#include <arch/system.h>

Go to the source code of this file.

Functions

void default_idle (void)
 
void exit_thread (void)
 
void hard_reset_now (void)
 
unsigned long thread_saved_pc (struct task_struct *t)
 
int kernel_thread (int(*fn)(void *), void *arg, unsigned long flags)
 
asmlinkage void ret_from_fork (void)
 
int copy_thread (unsigned long clone_flags, unsigned long usp, unsigned long unused, struct task_struct *p, struct pt_regs *regs)
 
asmlinkage int sys_fork (long r10, long r11, long r12, long r13, long mof, long srp, struct pt_regs *regs)
 
asmlinkage int sys_clone (unsigned long newusp, unsigned long flags, int *parent_tid, int *child_tid, long mof, long srp, struct pt_regs *regs)
 
asmlinkage int sys_vfork (long r10, long r11, long r12, long r13, long mof, long srp, struct pt_regs *regs)
 
asmlinkage int sys_execve (const char *fname, const char *const *argv, const char *const *envp, long r13, long mof, long srp, struct pt_regs *regs)
 
unsigned long get_wchan (struct task_struct *p)
 
void show_regs (struct pt_regs *regs)
 

Function Documentation

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

Definition at line 119 of file process.c.

void default_idle ( void  )

Definition at line 29 of file process.c.

void exit_thread ( void  )

Definition at line 40 of file process.c.

unsigned long get_wchan ( struct task_struct p)

Definition at line 228 of file process.c.

void hard_reset_now ( void  )

Definition at line 50 of file process.c.

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

Definition at line 93 of file process.c.

asmlinkage void ret_from_fork ( void  )

Definition at line 375 of file process.c.

void show_regs ( struct pt_regs regs)

Definition at line 258 of file process.c.

asmlinkage int sys_clone ( unsigned long  newusp,
unsigned long  flags,
int parent_tid,
int child_tid,
long  mof,
long  srp,
struct pt_regs regs 
)

Definition at line 186 of file process.c.

asmlinkage int sys_execve ( const char fname,
const char *const argv,
const char *const envp,
long  r13,
long  mof,
long  srp,
struct pt_regs regs 
)

Definition at line 208 of file process.c.

asmlinkage int sys_fork ( long  r10,
long  r11,
long  r12,
long  r13,
long  mof,
long  srp,
struct pt_regs regs 
)

Definition at line 178 of file process.c.

asmlinkage int sys_vfork ( long  r10,
long  r11,
long  r12,
long  r13,
long  mof,
long  srp,
struct pt_regs regs 
)

Definition at line 199 of file process.c.

unsigned long thread_saved_pc ( struct task_struct t)

Definition at line 79 of file process.c.