Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions | Variables
process_64.c File Reference
#include <linux/mm.h>
#include <linux/fs.h>
#include <linux/ptrace.h>
#include <linux/reboot.h>
#include <linux/slab.h>
#include <linux/init.h>
#include <linux/module.h>
#include <linux/io.h>
#include <asm/syscalls.h>
#include <asm/uaccess.h>
#include <asm/pgtable.h>
#include <asm/mmu_context.h>
#include <asm/fpu.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 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)
 
asmlinkage int sys_fork (unsigned long r2, unsigned long r3, unsigned long r4, unsigned long r5, unsigned long r6, unsigned long r7, struct pt_regs *pregs)
 
asmlinkage int sys_clone (unsigned long clone_flags, unsigned long newsp, unsigned long r4, unsigned long r5, unsigned long r6, unsigned long r7, struct pt_regs *pregs)
 
asmlinkage int sys_vfork (unsigned long r2, unsigned long r3, unsigned long r4, unsigned long r5, unsigned long r6, unsigned long r7, struct pt_regs *pregs)
 
asmlinkage int sys_execve (const char *ufilename, char **uargv, char **uenvp, unsigned long r5, unsigned long r6, unsigned long r7, struct pt_regs *pregs)
 
unsigned long get_wchan (struct task_struct *p)
 

Variables

struct task_structlast_task_used_math = NULL
 
struct pt_regs fake_swapper_regs = { 0, }
 

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 405 of file process_64.c.

int dump_fpu ( struct pt_regs regs,
elf_fpregset_t fpu 
)

Definition at line 377 of file process_64.c.

void exit_thread ( void  )
inline

Definition at line 323 of file process_64.c.

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

Definition at line 348 of file process_64.c.

unsigned long get_wchan ( struct task_struct p)

Definition at line 521 of file process_64.c.

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

Definition at line 303 of file process_64.c.

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

Definition at line 290 of file process_64.c.

void release_thread ( struct task_struct dead_task)

Definition at line 371 of file process_64.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 38 of file process_64.c.

asmlinkage int sys_clone ( unsigned long  clone_flags,
unsigned long  newsp,
unsigned long  r4,
unsigned long  r5,
unsigned long  r6,
unsigned long  r7,
struct pt_regs pregs 
)

Definition at line 457 of file process_64.c.

asmlinkage int sys_execve ( const char ufilename,
char **  uargv,
char **  uenvp,
unsigned long  r5,
unsigned long  r6,
unsigned long  r7,
struct pt_regs pregs 
)

Definition at line 488 of file process_64.c.

asmlinkage int sys_fork ( unsigned long  r2,
unsigned long  r3,
unsigned long  r4,
unsigned long  r5,
unsigned long  r6,
unsigned long  r7,
struct pt_regs pregs 
)

Definition at line 449 of file process_64.c.

asmlinkage int sys_vfork ( unsigned long  r2,
unsigned long  r3,
unsigned long  r4,
unsigned long  r5,
unsigned long  r6,
unsigned long  r7,
struct pt_regs pregs 
)

Definition at line 477 of file process_64.c.

Variable Documentation

struct pt_regs fake_swapper_regs = { 0, }

Definition at line 36 of file process_64.c.

struct task_struct* last_task_used_math = NULL

Definition at line 35 of file process_64.c.