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/sched.h>
#include <linux/module.h>
#include <linux/kallsyms.h>
#include <linux/fs.h>
#include <linux/pm.h>
#include <linux/ptrace.h>
#include <linux/slab.h>
#include <linux/reboot.h>
#include <linux/tick.h>
#include <linux/uaccess.h>
#include <linux/unistd.h>
#include <asm/sysreg.h>
#include <asm/ocd.h>
#include <asm/syscalls.h>
#include <mach/pm.h>

Go to the source code of this file.

Functions

 EXPORT_SYMBOL (pm_power_off)
 
void cpu_idle (void)
 
void machine_halt (void)
 
void machine_power_off (void)
 
void machine_restart (char *cmd)
 
asmlinkage void kernel_thread_helper (void)
 
 __asm__ (" .type kernel_thread_helper, @function\n""kernel_thread_helper:\n"" mov r12, r0\n"" mov lr, r2\n"" mov pc, r1\n"" .size kernel_thread_helper, . - kernel_thread_helper")
 
int kernel_thread (int(*fn)(void *), void *arg, unsigned long flags)
 
 EXPORT_SYMBOL (kernel_thread)
 
void exit_thread (void)
 
void flush_thread (void)
 
void release_thread (struct task_struct *dead_task)
 
void show_stack_log_lvl (struct task_struct *tsk, unsigned long sp, struct pt_regs *regs, const char *log_lvl)
 
void show_stack (struct task_struct *tsk, unsigned long *stack)
 
void dump_stack (void)
 
 EXPORT_SYMBOL (dump_stack)
 
void show_regs_log_lvl (struct pt_regs *regs, const char *log_lvl)
 
void show_regs (struct pt_regs *regs)
 
 EXPORT_SYMBOL (show_regs)
 
int dump_fpu (struct pt_regs *regs, elf_fpregset_t *fpu)
 
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 (struct pt_regs *regs)
 
asmlinkage int sys_clone (unsigned long clone_flags, unsigned long newsp, void __user *parent_tidptr, void __user *child_tidptr, struct pt_regs *regs)
 
asmlinkage int sys_vfork (struct pt_regs *regs)
 
asmlinkage int sys_execve (const char __user *ufilename, const char __user *const __user *uargv, const char __user *const __user *uenvp, struct pt_regs *regs)
 
unsigned long get_wchan (struct task_struct *p)
 

Variables

void(* pm_power_off )(void)
 

Function Documentation

__asm__ ( " .type  kernel_thread_helper,
@function\n""kernel_thread_helper:\n""mov  r12,
r0\n""mov  lr,
r2\n""mov  pc,
r1\n"".size  kernel_thread_helper,
.-kernel_thread_helper  
)
int copy_thread ( unsigned long  clone_flags,
unsigned long  usp,
unsigned long  unused,
struct task_struct p,
struct pt_regs regs 
)

Definition at line 336 of file process.c.

void cpu_idle ( void  )

Definition at line 33 of file process.c.

int dump_fpu ( struct pt_regs regs,
elf_fpregset_t fpu 
)

Definition at line 328 of file process.c.

void dump_stack ( void  )

Definition at line 254 of file process.c.

void exit_thread ( void  )

Definition at line 112 of file process.c.

EXPORT_SYMBOL ( pm_power_off  )
EXPORT_SYMBOL ( kernel_thread  )
EXPORT_SYMBOL ( dump_stack  )
EXPORT_SYMBOL ( show_regs  )
void flush_thread ( void  )

Definition at line 117 of file process.c.

unsigned long get_wchan ( struct task_struct p)

Definition at line 410 of file process.c.

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

Definition at line 91 of file process.c.

asmlinkage void kernel_thread_helper ( void  )
void machine_halt ( void  )

Definition at line 47 of file process.c.

void machine_power_off ( void  )

Definition at line 58 of file process.c.

void machine_restart ( char cmd)

Definition at line 64 of file process.c.

void release_thread ( struct task_struct dead_task)

Definition at line 122 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 315 of file process.c.

void show_regs_log_lvl ( struct pt_regs regs,
const char log_lvl 
)

Definition at line 267 of file process.c.

void show_stack ( struct task_struct tsk,
unsigned long stack 
)

Definition at line 249 of file process.c.

void show_stack_log_lvl ( struct task_struct tsk,
unsigned long  sp,
struct pt_regs regs,
const char log_lvl 
)

Definition at line 226 of file process.c.

asmlinkage int sys_clone ( unsigned long  clone_flags,
unsigned long  newsp,
void __user parent_tidptr,
void __user child_tidptr,
struct pt_regs regs 
)

Definition at line 369 of file process.c.

asmlinkage int sys_execve ( const char __user ufilename,
const char __user *const __user uargv,
const char __user *const __user uenvp,
struct pt_regs regs 
)

Definition at line 385 of file process.c.

asmlinkage int sys_fork ( struct pt_regs regs)

Definition at line 364 of file process.c.

asmlinkage int sys_vfork ( struct pt_regs regs)

Definition at line 379 of file process.c.

Variable Documentation

void(* pm_power_off)(void)

Definition at line 26 of file process.c.