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/stddef.h>
#include <linux/err.h>
#include <linux/hardirq.h>
#include <linux/mm.h>
#include <linux/module.h>
#include <linux/personality.h>
#include <linux/proc_fs.h>
#include <linux/ptrace.h>
#include <linux/random.h>
#include <linux/slab.h>
#include <linux/sched.h>
#include <linux/seq_file.h>
#include <linux/tick.h>
#include <linux/threads.h>
#include <linux/tracehook.h>
#include <asm/current.h>
#include <asm/pgtable.h>
#include <asm/mmu_context.h>
#include <asm/uaccess.h>
#include <as-layout.h>
#include <kern_util.h>
#include <os.h>
#include <skas.h>

Go to the source code of this file.

Functions

int pid_to_processor_id (int pid)
 
void free_stack (unsigned long stack, int order)
 
unsigned long alloc_stack (int order, int atomic)
 
void arch_switch_to (struct task_struct *to)
 
void__switch_to (struct task_struct *from, struct task_struct *to)
 
void interrupt_end (void)
 
void exit_thread (void)
 
int get_current_pid (void)
 
void new_thread_handler (void)
 
void fork_handler (void)
 
int copy_thread (unsigned long clone_flags, unsigned long sp, unsigned long arg, struct task_struct *p, struct pt_regs *regs)
 
void initial_thread_cb (void(*proc)(void *), void *arg)
 
void default_idle (void)
 
void cpu_idle (void)
 
int __cant_sleep (void)
 
int user_context (unsigned long sp)
 
void do_uml_exitcalls (void)
 
charuml_strdup (const char *string)
 
 EXPORT_SYMBOL (uml_strdup)
 
int copy_to_user_proc (void __user *to, void *from, int size)
 
int copy_from_user_proc (void *to, void __user *from, int size)
 
int clear_user_proc (void __user *buf, int size)
 
int strlen_user_proc (char __user *str)
 
int smp_sigio_handler (void)
 
int cpu (void)
 
void set_using_sysemu (int value)
 
int get_using_sysemu (void)
 
int __init make_proc_sysemu (void)
 
 late_initcall (make_proc_sysemu)
 
int singlestepping (void *t)
 
unsigned long arch_align_stack (unsigned long sp)
 
unsigned long get_wchan (struct task_struct *p)
 
int elf_core_copy_fpregs (struct task_struct *t, elf_fpregset_t *fpu)
 

Variables

struct cpu_task cpu_tasks [NR_CPUS] = { [0 ... NR_CPUS - 1] = { -1, NULL } }
 
exitcall_t __uml_exitcall_begin
 
exitcall_t __uml_exitcall_end
 
int sysemu_supported
 

Function Documentation

int __cant_sleep ( void  )

Definition at line 243 of file process.c.

void* __switch_to ( struct task_struct from,
struct task_struct to 
)
read

Definition at line 80 of file process.c.

unsigned long alloc_stack ( int  order,
int  atomic 
)

Definition at line 60 of file process.c.

unsigned long arch_align_stack ( unsigned long  sp)

Definition at line 398 of file process.c.

void arch_switch_to ( struct task_struct to)

Definition at line 13 of file ptrace_32.c.

int clear_user_proc ( void __user buf,
int  size 
)

Definition at line 283 of file process.c.

int copy_from_user_proc ( void to,
void __user from,
int  size 
)

Definition at line 278 of file process.c.

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

Definition at line 163 of file process.c.

int copy_to_user_proc ( void __user to,
void from,
int  size 
)

Definition at line 273 of file process.c.

int cpu ( void  )

Definition at line 304 of file process.c.

void cpu_idle ( void  )

Definition at line 237 of file process.c.

void default_idle ( void  )

Definition at line 214 of file process.c.

void do_uml_exitcalls ( void  )

Definition at line 258 of file process.c.

int elf_core_copy_fpregs ( struct task_struct t,
elf_fpregset_t fpu 
)

Definition at line 441 of file process.c.

void exit_thread ( void  )
inline

Definition at line 112 of file process.c.

EXPORT_SYMBOL ( uml_strdup  )
void fork_handler ( void  )

Definition at line 145 of file process.c.

void free_stack ( unsigned long  stack,
int  order 
)

Definition at line 55 of file process.c.

int get_current_pid ( void  )

Definition at line 116 of file process.c.

int get_using_sysemu ( void  )

Definition at line 319 of file process.c.

unsigned long get_wchan ( struct task_struct p)

Definition at line 406 of file process.c.

void initial_thread_cb ( void(*)(void *)  proc,
void arg 
)

Definition at line 205 of file process.c.

void interrupt_end ( void  )

Definition at line 102 of file process.c.

late_initcall ( make_proc_sysemu  )
int __init make_proc_sysemu ( void  )

Definition at line 358 of file process.c.

void new_thread_handler ( void  )

Definition at line 125 of file process.c.

int pid_to_processor_id ( int  pid)

Definition at line 44 of file process.c.

void set_using_sysemu ( int  value)

Definition at line 312 of file process.c.

int singlestepping ( void t)

Definition at line 377 of file process.c.

int smp_sigio_handler ( void  )

Definition at line 293 of file process.c.

int strlen_user_proc ( char __user str)

Definition at line 288 of file process.c.

char* uml_strdup ( const char string)

Definition at line 267 of file process.c.

int user_context ( unsigned long  sp)

Definition at line 248 of file process.c.

Variable Documentation

exitcall_t __uml_exitcall_begin
exitcall_t __uml_exitcall_end
struct cpu_task cpu_tasks[NR_CPUS] = { [0 ... NR_CPUS - 1] = { -1, NULL } }

Definition at line 36 of file process.c.

int sysemu_supported

Definition at line 310 of file process.c.