Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Typedefs | Functions | Variables
node.h File Reference
#include <linux/device.h>
#include <linux/cpumask.h>
#include <linux/workqueue.h>

Go to the source code of this file.

Data Structures

struct  node


#define to_node(device)   container_of(device, struct node, dev)


typedef void(* node_registration_func_t )(struct node *)


int register_node (struct node *, int, struct node *)
void unregister_node (struct node *node)


struct node node_devices []

Macro Definition Documentation

#define to_node (   device)    container_of(device, struct node, dev)

Definition at line 83 of file node.h.

Typedef Documentation

typedef void(* node_registration_func_t)(struct node *)

Definition at line 31 of file node.h.

Function Documentation

int register_node ( struct node ,
int  ,
struct node  

Definition at line 262 of file node.c.

void unregister_node ( struct node node)

unregister_node - unregister a node device : node going away

Unregisters a node device . All the devices on the node must be unregistered before calling this function.

Definition at line 294 of file node.c.

Variable Documentation

struct node node_devices[]

Definition at line 309 of file node.c.