Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
member.c File Reference
#include "dlm_internal.h"
#include "lockspace.h"
#include "member.h"
#include "recoverd.h"
#include "recover.h"
#include "rcom.h"
#include "config.h"
#include "lowcomms.h"

Go to the source code of this file.

Macros

#define SLOT_DEBUG_LINE   128
 

Functions

int dlm_slots_version (struct dlm_header *h)
 
void dlm_slot_save (struct dlm_ls *ls, struct dlm_rcom *rc, struct dlm_member *memb)
 
void dlm_slots_copy_out (struct dlm_ls *ls, struct dlm_rcom *rc)
 
int dlm_slots_copy_in (struct dlm_ls *ls)
 
int dlm_slots_assign (struct dlm_ls *ls, int *num_slots, int *slots_size, struct dlm_slot **slots_out, uint32_t *gen_out)
 
int dlm_is_member (struct dlm_ls *ls, int nodeid)
 
int dlm_is_removed (struct dlm_ls *ls, int nodeid)
 
void dlm_clear_members (struct dlm_ls *ls)
 
void dlm_clear_members_gone (struct dlm_ls *ls)
 
void dlm_lsop_recover_done (struct dlm_ls *ls)
 
int dlm_recover_members (struct dlm_ls *ls, struct dlm_recover *rv, int *neg_out)
 
int dlm_ls_stop (struct dlm_ls *ls)
 
int dlm_ls_start (struct dlm_ls *ls)
 

Macro Definition Documentation

#define SLOT_DEBUG_LINE   128

Definition at line 61 of file member.c.

Function Documentation

void dlm_clear_members ( struct dlm_ls ls)

Definition at line 379 of file member.c.

void dlm_clear_members_gone ( struct dlm_ls ls)

Definition at line 385 of file member.c.

int dlm_is_member ( struct dlm_ls ls,
int  nodeid 
)

Definition at line 354 of file member.c.

int dlm_is_removed ( struct dlm_ls ls,
int  nodeid 
)

Definition at line 361 of file member.c.

int dlm_ls_start ( struct dlm_ls ls)

Definition at line 677 of file member.c.

int dlm_ls_stop ( struct dlm_ls ls)

Definition at line 601 of file member.c.

void dlm_lsop_recover_done ( struct dlm_ls ls)

Definition at line 488 of file member.c.

int dlm_recover_members ( struct dlm_ls ls,
struct dlm_recover rv,
int neg_out 
)

Definition at line 532 of file member.c.

void dlm_slot_save ( struct dlm_ls ls,
struct dlm_rcom rc,
struct dlm_member memb 
)

Definition at line 29 of file member.c.

int dlm_slots_assign ( struct dlm_ls ls,
int num_slots,
int slots_size,
struct dlm_slot **  slots_out,
uint32_t gen_out 
)

Definition at line 169 of file member.c.

int dlm_slots_copy_in ( struct dlm_ls ls)

Definition at line 101 of file member.c.

void dlm_slots_copy_out ( struct dlm_ls ls,
struct dlm_rcom rc 
)

Definition at line 41 of file member.c.

int dlm_slots_version ( struct dlm_header h)

Definition at line 22 of file member.c.