Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Functions
stop_machine.c File Reference
#include <linux/completion.h>
#include <linux/cpu.h>
#include <linux/init.h>
#include <linux/kthread.h>
#include <linux/export.h>
#include <linux/percpu.h>
#include <linux/sched.h>
#include <linux/stop_machine.h>
#include <linux/interrupt.h>
#include <linux/kallsyms.h>
#include <linux/atomic.h>

Go to the source code of this file.

Data Structures

struct  cpu_stop_done
 
struct  cpu_stopper
 

Functions

int stop_one_cpu (unsigned int cpu, cpu_stop_fn_t fn, void *arg)
 
void stop_one_cpu_nowait (unsigned int cpu, cpu_stop_fn_t fn, void *arg, struct cpu_stop_work *work_buf)
 
int stop_cpus (const struct cpumask *cpumask, cpu_stop_fn_t fn, void *arg)
 
int try_stop_cpus (const struct cpumask *cpumask, cpu_stop_fn_t fn, void *arg)
 
void sched_set_stop_task (int cpu, struct task_struct *stop)
 
 early_initcall (cpu_stop_init)
 

Function Documentation

early_initcall ( cpu_stop_init  )
void sched_set_stop_task ( int  cpu,
struct task_struct stop 
)

Definition at line 803 of file core.c.

int stop_cpus ( const struct cpumask cpumask,
cpu_stop_fn_t  fn,
void arg 
)

Definition at line 206 of file stop_machine.c.

int stop_one_cpu ( unsigned int  cpu,
cpu_stop_fn_t  fn,
void arg 
)

Definition at line 105 of file stop_machine.c.

void stop_one_cpu_nowait ( unsigned int  cpu,
cpu_stop_fn_t  fn,
void arg,
struct cpu_stop_work work_buf 
)

Definition at line 129 of file stop_machine.c.

int try_stop_cpus ( const struct cpumask cpumask,
cpu_stop_fn_t  fn,
void arg 
)

Definition at line 235 of file stop_machine.c.