Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
process_32.c File Reference
#include <linux/cpu.h>
#include <linux/errno.h>
#include <linux/sched.h>
#include <linux/fs.h>
#include <linux/kernel.h>
#include <linux/mm.h>
#include <linux/elfcore.h>
#include <linux/smp.h>
#include <linux/stddef.h>
#include <linux/slab.h>
#include <linux/vmalloc.h>
#include <linux/user.h>
#include <linux/interrupt.h>
#include <linux/delay.h>
#include <linux/reboot.h>
#include <linux/init.h>
#include <linux/mc146818rtc.h>
#include <linux/module.h>
#include <linux/kallsyms.h>
#include <linux/ptrace.h>
#include <linux/personality.h>
#include <linux/percpu.h>
#include <linux/prctl.h>
#include <linux/ftrace.h>
#include <linux/uaccess.h>
#include <linux/io.h>
#include <linux/kdebug.h>
#include <asm/pgtable.h>
#include <asm/ldt.h>
#include <asm/processor.h>
#include <asm/i387.h>
#include <asm/fpu-internal.h>
#include <asm/desc.h>
#include <linux/err.h>
#include <asm/tlbflush.h>
#include <asm/cpu.h>
#include <asm/idle.h>
#include <asm/syscalls.h>
#include <asm/debugreg.h>
#include <asm/switch_to.h>

Go to the source code of this file.

Macros

#define top_esp   (THREAD_SIZE - sizeof(unsigned long))
 
#define top_ebp   (THREAD_SIZE - 2*sizeof(unsigned long))
 

Functions

asmlinkage void ret_from_fork (asmlinkage void ret_from_kernel_thread() __asm__("ret_from_kernel_thread") void)
 
void __show_regs (struct pt_regs *regs, int all)
 
void release_thread (struct task_struct *dead_task)
 
int copy_thread (unsigned long clone_flags, unsigned long sp, unsigned long arg, struct task_struct *p, struct pt_regs *regs)
 
void start_thread (struct pt_regs *regs, unsigned long new_ip, unsigned long new_sp)
 
 EXPORT_SYMBOL_GPL (start_thread)
 
__notrace_funcgraph struct
task_struct
__switch_to (struct task_struct *prev_p, struct task_struct *next_p)
 
unsigned long get_wchan (struct task_struct *p)
 

Macro Definition Documentation

#define top_ebp   (THREAD_SIZE - 2*sizeof(unsigned long))

Definition at line 321 of file process_32.c.

#define top_esp   (THREAD_SIZE - sizeof(unsigned long))

Definition at line 320 of file process_32.c.

Function Documentation

void __show_regs ( struct pt_regs regs,
int  all 
)

Definition at line 70 of file process_32.c.

__notrace_funcgraph struct task_struct* __switch_to ( struct task_struct prev_p,
struct task_struct next_p 
)
read

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

EXPORT_SYMBOL_GPL ( start_thread  )
unsigned long get_wchan ( struct task_struct p)

Definition at line 323 of file process_32.c.

void release_thread ( struct task_struct dead_task)

Definition at line 124 of file process_32.c.

asmlinkage void ret_from_fork ( asmlinkage void ret_from_kernel_thread() __asm__("ret_from_kernel_thread")  void)

Definition at line 59 of file process_32.c.

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

Definition at line 200 of file process_32.c.