Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Enumerations | Functions | Variables
nodemanager.h File Reference
#include "ocfs2_nodemanager.h"
#include <linux/configfs.h>
#include <linux/rbtree.h>

Go to the source code of this file.

Data Structures

struct  o2nm_node
 
struct  o2nm_cluster
 

Enumerations

enum  o2nm_fence_method { O2NM_FENCE_RESET = 0, O2NM_FENCE_PANIC, O2NM_FENCE_METHODS }
 

Functions

u8 o2nm_this_node (void)
 
int o2nm_configured_node_map (unsigned long *map, unsigned bytes)
 
struct o2nm_nodeo2nm_get_node_by_num (u8 node_num)
 
struct o2nm_nodeo2nm_get_node_by_ip (__be32 addr)
 
void o2nm_node_get (struct o2nm_node *node)
 
void o2nm_node_put (struct o2nm_node *node)
 
int o2nm_depend_item (struct config_item *item)
 
void o2nm_undepend_item (struct config_item *item)
 
int o2nm_depend_this_node (void)
 
void o2nm_undepend_this_node (void)
 

Variables

struct o2nm_clustero2nm_single_cluster
 

Enumeration Type Documentation

Enumerator:
O2NM_FENCE_RESET 
O2NM_FENCE_PANIC 
O2NM_FENCE_METHODS 

Definition at line 36 of file nodemanager.h.

Function Documentation

int o2nm_configured_node_map ( unsigned long map,
unsigned  bytes 
)

Definition at line 61 of file nodemanager.c.

int o2nm_depend_item ( struct config_item item)

Definition at line 893 of file nodemanager.c.

int o2nm_depend_this_node ( void  )

Definition at line 903 of file nodemanager.c.

struct o2nm_node* o2nm_get_node_by_ip ( __be32  addr)
read

Definition at line 113 of file nodemanager.c.

struct o2nm_node* o2nm_get_node_by_num ( u8  node_num)
read

Definition at line 44 of file nodemanager.c.

void o2nm_node_get ( struct o2nm_node node)

Definition at line 138 of file nodemanager.c.

void o2nm_node_put ( struct o2nm_node node)

Definition at line 132 of file nodemanager.c.

u8 o2nm_this_node ( void  )

Definition at line 144 of file nodemanager.c.

void o2nm_undepend_item ( struct config_item item)

Definition at line 898 of file nodemanager.c.

void o2nm_undepend_this_node ( void  )

Definition at line 921 of file nodemanager.c.

Variable Documentation

struct o2nm_cluster* o2nm_single_cluster

Definition at line 37 of file nodemanager.c.