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 <stdarg.h>
#include <linux/export.h>
#include <linux/sched.h>
#include <linux/kernel.h>
#include <linux/mm.h>
#include <linux/stddef.h>
#include <linux/unistd.h>
#include <linux/user.h>
#include <linux/delay.h>
#include <linux/reboot.h>
#include <linux/interrupt.h>
#include <linux/kallsyms.h>
#include <linux/init.h>
#include <linux/cpu.h>
#include <linux/elfcore.h>
#include <linux/pm.h>
#include <linux/tick.h>
#include <linux/utsname.h>
#include <linux/uaccess.h>
#include <linux/random.h>
#include <linux/hw_breakpoint.h>
#include <linux/personality.h>
#include <linux/notifier.h>
#include <asm/compat.h>
#include <asm/cacheflush.h>
#include <asm/processor.h>
#include <asm/stacktrace.h>
#include <asm/fpsimd.h>

Go to the source code of this file.


#define kernel_thread_exit   do_exit


void soft_restart (unsigned long addr)
 EXPORT_SYMBOL_GPL (pm_power_off)
 EXPORT_SYMBOL_GPL (pm_restart)
void machine_shutdown (void)
void machine_halt (void)
void machine_power_off (void)
void machine_restart (char *cmd)
void __show_regs (struct pt_regs *regs)
void show_regs (struct pt_regs *regs)
void exit_thread (void)
void flush_thread (void)
void release_thread (struct task_struct *dead_task)
int arch_dup_task_struct (struct task_struct *dst, struct task_struct *src)
asmlinkage void ret_from_fork (void)
struct task_struct__switch_to (struct task_struct *prev, struct task_struct *next)
void kernel_thread_helper (void)
 asm (".section .text\n"" .align\n"" .type kernel_thread_helper, #function\n""kernel_thread_helper:\n"" mov x0, x1\n"" mov x30, x3\n"" br x2\n"" .size kernel_thread_helper, . - kernel_thread_helper\n"" .previous")
pid_t kernel_thread (int(*fn)(void *), void *arg, unsigned long flags)
 EXPORT_SYMBOL (kernel_thread)
unsigned long get_wchan (struct task_struct *p)
unsigned long arch_align_stack (unsigned long sp)
unsigned long arch_randomize_brk (struct mm_struct *mm)
unsigned long randomize_et_dyn (unsigned long base)


void(* pm_power_off )(void)
void(* pm_restart )(const char *cmd)
void(* pm_idle )(void)

Macro Definition Documentation

#define kernel_thread_exit   do_exit

Definition at line 328 of file process.c.

Function Documentation

void __show_regs ( struct pt_regs regs)

Definition at line 181 of file process.c.

struct task_struct* __switch_to ( struct task_struct prev,
struct task_struct next 

Definition at line 297 of file process.c.

unsigned long arch_align_stack ( unsigned long  sp)

Definition at line 369 of file process.c.

int arch_dup_task_struct ( struct task_struct dst,
struct task_struct src 

Definition at line 227 of file process.c.

unsigned long arch_randomize_brk ( struct mm_struct mm)

Definition at line 382 of file process.c.

asm ( ".section .text\n"" .align\n"" .type  kernel_thread_helper,
#function\n""kernel_thread_helper:\n""mov  x0,
x1\n""mov  x30,
x3\n""br x2\n"".size  kernel_thread_helper,
void exit_thread ( void  )

Definition at line 213 of file process.c.

EXPORT_SYMBOL ( kernel_thread  )
EXPORT_SYMBOL_GPL ( pm_power_off  )
EXPORT_SYMBOL_GPL ( pm_restart  )
void flush_thread ( void  )

Definition at line 217 of file process.c.

unsigned long get_wchan ( struct task_struct p)

Definition at line 349 of file process.c.

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

Definition at line 333 of file process.c.

void kernel_thread_helper ( void  )
void machine_halt ( void  )

Definition at line 149 of file process.c.

void machine_power_off ( void  )

Definition at line 155 of file process.c.

void machine_restart ( char cmd)

Definition at line 162 of file process.c.

void machine_shutdown ( void  )

Definition at line 142 of file process.c.

unsigned long randomize_et_dyn ( unsigned long  base)

Definition at line 387 of file process.c.

void release_thread ( struct task_struct dead_task)

Definition at line 223 of file process.c.

asmlinkage void ret_from_fork ( void  )

Definition at line 234 of file process.c.

void show_regs ( struct pt_regs regs)

Definition at line 203 of file process.c.

void soft_restart ( unsigned long  addr)

Definition at line 71 of file process.c.

Variable Documentation

void(* pm_idle)(void)

Definition at line 100 of file process.c.

void(* pm_power_off)(void)

Definition at line 80 of file process.c.

void(* pm_restart)(const char *cmd)

Definition at line 83 of file process.c.