Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
process.c File Reference
#include <linux/cpu.h>
#include <linux/pm.h>
#include <linux/elf.h>
#include <linux/errno.h>
#include <linux/kallsyms.h>
#include <linux/kernel.h>
#include <linux/mm.h>
#include <linux/slab.h>
#include <linux/module.h>
#include <linux/notifier.h>
#include <linux/personality.h>
#include <linux/sched.h>
#include <linux/stddef.h>
#include <linux/thread_info.h>
#include <linux/unistd.h>
#include <linux/efi.h>
#include <linux/interrupt.h>
#include <linux/delay.h>
#include <linux/kdebug.h>
#include <linux/utsname.h>
#include <linux/tracehook.h>
#include <linux/rcupdate.h>
#include <asm/cpu.h>
#include <asm/delay.h>
#include <asm/elf.h>
#include <asm/irq.h>
#include <asm/kexec.h>
#include <asm/pgalloc.h>
#include <asm/processor.h>
#include <asm/sal.h>
#include <asm/switch_to.h>
#include <asm/tlbflush.h>
#include <asm/uaccess.h>
#include <asm/unwind.h>
#include <asm/user.h>
#include "entry.h"
#include "sigframe.h"

Go to the source code of this file.

Macros

#define THREAD_FLAGS_TO_CLEAR
 
#define THREAD_FLAGS_TO_SET   0
 

Functions

 EXPORT_SYMBOL (boot_option_idle_override)
 
 EXPORT_SYMBOL (pm_idle)
 
 EXPORT_SYMBOL (pm_power_off)
 
void ia64_do_show_stack (struct unw_frame_info *info, void *arg)
 
void show_stack (struct task_struct *task, unsigned long *sp)
 
void dump_stack (void)
 
 EXPORT_SYMBOL (dump_stack)
 
void show_regs (struct pt_regs *regs)
 
void console_print (const char *s)
 
void do_notify_resume_user (sigset_t *unused, struct sigscratch *scr, long in_syscall)
 
 __setup ("nohalt", nohalt_setup)
 
void update_pal_halt_status (int status)
 
void default_idle (void)
 
void __attribute__ ((noreturn))
 
void ia64_save_extra (struct task_struct *task)
 
void ia64_load_extra (struct task_struct *task)
 
int copy_thread (unsigned long clone_flags, unsigned long user_stack_base, unsigned long user_stack_size, struct task_struct *p, struct pt_regs *regs)
 
void do_dump_task_fpu (struct task_struct *task, struct unw_frame_info *info, void *arg)
 
void do_copy_regs (struct unw_frame_info *info, void *arg)
 
void do_dump_fpu (struct unw_frame_info *info, void *arg)
 
void ia64_elf_core_copy_regs (struct pt_regs *pt, elf_gregset_t dst)
 
int dump_fpu (struct pt_regs *pt, elf_fpregset_t dst)
 
long sys_execve (const char __user *filename, const char __user *const __user *argv, const char __user *const __user *envp, struct pt_regs *regs)
 
pid_t kernel_thread (int(*fn)(void *), void *arg, unsigned long flags)
 
 EXPORT_SYMBOL (kernel_thread)
 
int kernel_thread_helper (int(*fn)(void *), void *arg)
 
void flush_thread (void)
 
void exit_thread (void)
 
unsigned long get_wchan (struct task_struct *p)
 
void cpu_halt (void)
 
void machine_shutdown (void)
 
void machine_restart (char *restart_cmd)
 
void machine_halt (void)
 
void machine_power_off (void)
 

Variables

void(* ia64_mark_idle )(int)
 
unsigned long boot_option_idle_override = IDLE_NO_OVERRIDE
 
void(* pm_idle )(void)
 
void(* pm_power_off )(void)
 

Macro Definition Documentation

#define THREAD_FLAGS_TO_CLEAR
#define THREAD_FLAGS_TO_SET   0

Function Documentation

Definition at line 275 of file process.c.

__setup ( "nohalt"  ,
nohalt_setup   
)
void console_print ( const char s)

Definition at line 167 of file process.c.

int copy_thread ( unsigned long  clone_flags,
unsigned long  user_stack_base,
unsigned long  user_stack_size,
struct task_struct p,
struct pt_regs regs 
)

Definition at line 394 of file process.c.

void cpu_halt ( void  )

Definition at line 725 of file process.c.

void default_idle ( void  )

Definition at line 234 of file process.c.

void do_copy_regs ( struct unw_frame_info info,
void arg 
)

Definition at line 587 of file process.c.

void do_dump_fpu ( struct unw_frame_info info,
void arg 
)

Definition at line 593 of file process.c.

void do_dump_task_fpu ( struct task_struct task,
struct unw_frame_info info,
void arg 
)

Definition at line 566 of file process.c.

void do_notify_resume_user ( sigset_t unused,
struct sigscratch scr,
long  in_syscall 
)

Definition at line 173 of file process.c.

int dump_fpu ( struct pt_regs pt,
elf_fpregset_t  dst 
)

Definition at line 605 of file process.c.

void dump_stack ( void  )

Definition at line 101 of file process.c.

void exit_thread ( void  )

Definition at line 678 of file process.c.

EXPORT_SYMBOL ( boot_option_idle_override  )
EXPORT_SYMBOL ( pm_idle  )
EXPORT_SYMBOL ( pm_power_off  )
EXPORT_SYMBOL ( dump_stack  )
EXPORT_SYMBOL ( kernel_thread  )
void flush_thread ( void  )

Definition at line 666 of file process.c.

unsigned long get_wchan ( struct task_struct p)

Definition at line 694 of file process.c.

void ia64_do_show_stack ( struct unw_frame_info info,
void arg 
)

Definition at line 66 of file process.c.

void ia64_elf_core_copy_regs ( struct pt_regs pt,
elf_gregset_t  dst 
)

Definition at line 599 of file process.c.

void ia64_load_extra ( struct task_struct task)

Definition at line 343 of file process.c.

void ia64_save_extra ( struct task_struct task)

Definition at line 323 of file process.c.

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

Definition at line 631 of file process.c.

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

Definition at line 657 of file process.c.

void machine_halt ( void  )

Definition at line 770 of file process.c.

void machine_power_off ( void  )

Definition at line 777 of file process.c.

void machine_restart ( char restart_cmd)

Definition at line 763 of file process.c.

void machine_shutdown ( void  )

Definition at line 747 of file process.c.

void show_regs ( struct pt_regs regs)

Definition at line 109 of file process.c.

void show_stack ( struct task_struct task,
unsigned long sp 
)

Definition at line 88 of file process.c.

long sys_execve ( const char __user filename,
const char __user *const __user argv,
const char __user *const __user envp,
struct pt_regs regs 
)

Definition at line 612 of file process.c.

void update_pal_halt_status ( int  status)

Definition at line 225 of file process.c.

Variable Documentation

unsigned long boot_option_idle_override = IDLE_NO_OVERRIDE

Definition at line 58 of file process.c.

void(* ia64_mark_idle)(int)

Definition at line 56 of file process.c.

void(* pm_idle)(void)
default

Definition at line 60 of file process.c.

void(* pm_power_off)(void)

Definition at line 62 of file process.c.