Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
process.c File Reference
#include <linux/sched.h>
#include <linux/preempt.h>
#include <linux/module.h>
#include <linux/fs.h>
#include <linux/kprobes.h>
#include <linux/elfcore.h>
#include <linux/tick.h>
#include <linux/init.h>
#include <linux/mm.h>
#include <linux/compat.h>
#include <linux/hardirq.h>
#include <linux/syscalls.h>
#include <linux/kernel.h>
#include <linux/tracehook.h>
#include <linux/signal.h>
#include <asm/stack.h>
#include <asm/switch_to.h>
#include <asm/homecache.h>
#include <asm/syscalls.h>
#include <asm/traps.h>
#include <asm/setup.h>
#include <arch/chip.h>
#include <arch/abi.h>
#include <arch/sim_def.h>

Go to the source code of this file.


 early_param ("idle", idle_setup)
void cpu_idle (void)
void arch_release_thread_info (struct thread_info *info)
int copy_thread (unsigned long clone_flags, unsigned long sp, unsigned long stack_size, struct task_struct *p, struct pt_regs *regs)
struct task_structvalidate_current (void)
struct task_structsim_notify_fork (struct task_struct *prev)
int dump_task_regs (struct task_struct *tsk, elf_gregset_t *regs)
void _prepare_arch_switch (struct task_struct *next)
struct task_struct *__sched _switch_to (struct task_struct *prev, struct task_struct *next)
int do_work_pending (struct pt_regs *regs, u32 thread_info_flags)
 SYSCALL_DEFINE5 (clone, unsigned long, clone_flags, unsigned long, newsp, void __user *, parent_tidptr, void __user *, child_tidptr, struct pt_regs *, regs)
 SYSCALL_DEFINE4 (execve, const char __user *, path, const char __user *const __user *, argv, const char __user *const __user *, envp, struct pt_regs *, regs)
unsigned long get_wchan (struct task_struct *p)
int kernel_thread (int(*fn)(void *), void *arg, unsigned long flags)
 EXPORT_SYMBOL (kernel_thread)
void flush_thread (void)
void exit_thread (void)
void show_regs (struct pt_regs *regs)

Function Documentation

void _prepare_arch_switch ( struct task_struct next)

Definition at line 457 of file process.c.

struct task_struct* __sched _switch_to ( struct task_struct prev,
struct task_struct next 

Definition at line 482 of file process.c.

void arch_release_thread_info ( struct thread_info info)

Definition at line 120 of file process.c.

int copy_thread ( unsigned long  clone_flags,
unsigned long  sp,
unsigned long  stack_size,
struct task_struct p,
struct pt_regs regs 

Definition at line 159 of file process.c.

void cpu_idle ( void  )

Definition at line 73 of file process.c.

int do_work_pending ( struct pt_regs regs,
u32  thread_info_flags 

Definition at line 545 of file process.c.

int dump_task_regs ( struct task_struct tsk,
elf_gregset_t regs 

Definition at line 290 of file process.c.

early_param ( "idle"  ,
void exit_thread ( void  )

Definition at line 693 of file process.c.

EXPORT_SYMBOL ( kernel_thread  )
void flush_thread ( void  )

Definition at line 685 of file process.c.

unsigned long get_wchan ( struct task_struct p)

Definition at line 636 of file process.c.

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

Definition at line 667 of file process.c.

void show_regs ( struct pt_regs regs)

Definition at line 698 of file process.c.

struct task_struct* sim_notify_fork ( struct task_struct prev)

Definition at line 280 of file process.c.

SYSCALL_DEFINE4 ( execve  ,
const char __user ,
path  ,
const char __user *const __user ,
argv  ,
const char __user *const __user ,
envp  ,
struct pt_regs ,

Definition at line 594 of file process.c.

SYSCALL_DEFINE5 ( clone  ,
unsigned  long,
clone_flags  ,
unsigned  long,
newsp  ,
void __user ,
parent_tidptr  ,
void __user ,
child_tidptr  ,
struct pt_regs ,

Definition at line 581 of file process.c.

struct task_struct* validate_current ( void  )

Definition at line 266 of file process.c.