Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
process_32.c File Reference
#include <linux/module.h>
#include <linux/mm.h>
#include <linux/slab.h>
#include <linux/elfcore.h>
#include <linux/kallsyms.h>
#include <linux/fs.h>
#include <linux/ftrace.h>
#include <linux/hw_breakpoint.h>
#include <linux/prefetch.h>
#include <linux/stackprotector.h>
#include <asm/uaccess.h>
#include <asm/mmu_context.h>
#include <asm/fpu.h>
#include <asm/syscalls.h>
#include <asm/switch_to.h>

Go to the source code of this file.

Functions

void show_regs (struct pt_regs *regs)
 
__noreturn void kernel_thread_helper (void *arg, int(*fn)(void *))
 
int kernel_thread (int(*fn)(void *), void *arg, unsigned long flags)
 
 EXPORT_SYMBOL (kernel_thread)
 
void start_thread (struct pt_regs *regs, unsigned long new_pc, unsigned long new_sp)
 
 EXPORT_SYMBOL (start_thread)
 
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)
 
 EXPORT_SYMBOL (dump_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)
 
__notrace_funcgraph struct
task_struct
__switch_to (struct task_struct *prev, struct task_struct *next)
 
asmlinkage int sys_fork (unsigned long r4, unsigned long r5, unsigned long r6, unsigned long r7, struct pt_regs __regs)
 
asmlinkage int sys_clone (unsigned long clone_flags, unsigned long newsp, unsigned long parent_tidptr, unsigned long child_tidptr, struct pt_regs __regs)
 
asmlinkage int sys_vfork (unsigned long r4, unsigned long r5, unsigned long r6, unsigned long r7, 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 r7, struct pt_regs __regs)
 
unsigned long get_wchan (struct task_struct *p)
 

Function Documentation

__notrace_funcgraph struct task_struct* __switch_to ( struct task_struct prev,
struct task_struct next 
)
read

Definition at line 211 of file process_32.c.

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

Definition at line 161 of file process_32.c.

int dump_fpu ( struct pt_regs regs,
elf_fpregset_t fpu 
)

Definition at line 141 of file process_32.c.

void exit_thread ( void  )
inline

Definition at line 118 of file process_32.c.

EXPORT_SYMBOL ( kernel_thread  )
EXPORT_SYMBOL ( start_thread  )
EXPORT_SYMBOL ( dump_fpu  )
void flush_thread ( void  )

Definition at line 122 of file process_32.c.

unsigned long get_wchan ( struct task_struct p)

Definition at line 314 of file process_32.c.

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

Definition at line 80 of file process_32.c.

__noreturn void kernel_thread_helper ( void arg,
int(*)(void *)  fn 
)

Definition at line 74 of file process_32.c.

void release_thread ( struct task_struct dead_task)

Definition at line 135 of file process_32.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 32 of file process_32.c.

void start_thread ( struct pt_regs regs,
unsigned long  new_pc,
unsigned long  new_sp 
)

Definition at line 103 of file process_32.c.

asmlinkage int sys_clone ( unsigned long  clone_flags,
unsigned long  newsp,
unsigned long  parent_tidptr,
unsigned long  child_tidptr,
struct pt_regs  __regs 
)

Definition at line 259 of file process_32.c.

asmlinkage int sys_execve ( const char __user ufilename,
const char __user *const __user uargv,
const char __user *const __user uenvp,
unsigned long  r7,
struct pt_regs  __regs 
)

Definition at line 294 of file process_32.c.

asmlinkage int sys_fork ( unsigned long  r4,
unsigned long  r5,
unsigned long  r6,
unsigned long  r7,
struct pt_regs  __regs 
)

Definition at line 246 of file process_32.c.

asmlinkage int sys_vfork ( unsigned long  r4,
unsigned long  r5,
unsigned long  r6,
unsigned long  r7,
struct pt_regs  __regs 
)

Definition at line 282 of file process_32.c.