Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
smp_hotplug_thread Struct Reference

#include <smpboot.h>

Data Fields

struct task_struct __percpu ** store
 
struct list_head list
 
int(* thread_should_run )(unsigned int cpu)
 
void(* thread_fn )(unsigned int cpu)
 
void(* setup )(unsigned int cpu)
 
void(* cleanup )(unsigned int cpu, bool online)
 
void(* park )(unsigned int cpu)
 
void(* unpark )(unsigned int cpu)
 
const charthread_comm
 

Detailed Description

struct smp_hotplug_thread - CPU hotplug related thread descriptor : Pointer to per cpu storage for the task pointers : List head for core management : Check whether the thread should run or not. Called with preemption disabled. : The associated thread function : Optional setup function, called when the thread gets operational the first time : Optional cleanup function, called when the thread should stop (module exit) : Optional park function, called when the thread is parked (cpu offline) : Optional unpark function, called when the thread is unparked (cpu online) : The base name of the thread

Definition at line 27 of file smpboot.h.

Field Documentation

void(* cleanup)(unsigned int cpu, bool online)

Definition at line 33 of file smpboot.h.

Definition at line 29 of file smpboot.h.

void(* park)(unsigned int cpu)

Definition at line 34 of file smpboot.h.

void(* setup)(unsigned int cpu)

Definition at line 32 of file smpboot.h.

Definition at line 28 of file smpboot.h.

const char* thread_comm

Definition at line 36 of file smpboot.h.

void(* thread_fn)(unsigned int cpu)

Definition at line 31 of file smpboot.h.

int(* thread_should_run)(unsigned int cpu)

Definition at line 30 of file smpboot.h.

void(* unpark)(unsigned int cpu)

Definition at line 35 of file smpboot.h.


The documentation for this struct was generated from the following file: