Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
dlmast.c File Reference
#include <linux/module.h>
#include <linux/fs.h>
#include <linux/types.h>
#include <linux/highmem.h>
#include <linux/init.h>
#include <linux/sysctl.h>
#include <linux/random.h>
#include <linux/blkdev.h>
#include <linux/socket.h>
#include <linux/inet.h>
#include <linux/spinlock.h>
#include "cluster/heartbeat.h"
#include "cluster/nodemanager.h"
#include "cluster/tcp.h"
#include "dlmapi.h"
#include "dlmcommon.h"
#include "cluster/masklog.h"

Go to the source code of this file.

Macros

#define MLOG_MASK_PREFIX   ML_DLM
 

Functions

void __dlm_queue_ast (struct dlm_ctxt *dlm, struct dlm_lock *lock)
 
void dlm_queue_ast (struct dlm_ctxt *dlm, struct dlm_lock *lock)
 
void __dlm_queue_bast (struct dlm_ctxt *dlm, struct dlm_lock *lock)
 
void dlm_queue_bast (struct dlm_ctxt *dlm, struct dlm_lock *lock)
 
void dlm_do_local_ast (struct dlm_ctxt *dlm, struct dlm_lock_resource *res, struct dlm_lock *lock)
 
int dlm_do_remote_ast (struct dlm_ctxt *dlm, struct dlm_lock_resource *res, struct dlm_lock *lock)
 
void dlm_do_local_bast (struct dlm_ctxt *dlm, struct dlm_lock_resource *res, struct dlm_lock *lock, int blocked_type)
 
int dlm_proxy_ast_handler (struct o2net_msg *msg, u32 len, void *data, void **ret_data)
 
int dlm_send_proxy_ast_msg (struct dlm_ctxt *dlm, struct dlm_lock_resource *res, struct dlm_lock *lock, int msg_type, int blocked_type, int flags)
 

Macro Definition Documentation

#define MLOG_MASK_PREFIX   ML_DLM

Definition at line 48 of file dlmast.c.

Function Documentation

void __dlm_queue_ast ( struct dlm_ctxt dlm,
struct dlm_lock lock 
)

Definition at line 91 of file dlmast.c.

void __dlm_queue_bast ( struct dlm_ctxt dlm,
struct dlm_lock lock 
)

Definition at line 157 of file dlmast.c.

void dlm_do_local_ast ( struct dlm_ctxt dlm,
struct dlm_lock_resource res,
struct dlm_lock lock 
)

Definition at line 223 of file dlmast.c.

void dlm_do_local_bast ( struct dlm_ctxt dlm,
struct dlm_lock_resource res,
struct dlm_lock lock,
int  blocked_type 
)

Definition at line 267 of file dlmast.c.

int dlm_do_remote_ast ( struct dlm_ctxt dlm,
struct dlm_lock_resource res,
struct dlm_lock lock 
)

Definition at line 243 of file dlmast.c.

int dlm_proxy_ast_handler ( struct o2net_msg msg,
u32  len,
void data,
void **  ret_data 
)

Definition at line 285 of file dlmast.c.

void dlm_queue_ast ( struct dlm_ctxt dlm,
struct dlm_lock lock 
)

Definition at line 146 of file dlmast.c.

void dlm_queue_bast ( struct dlm_ctxt dlm,
struct dlm_lock lock 
)

Definition at line 183 of file dlmast.c.

int dlm_send_proxy_ast_msg ( struct dlm_ctxt dlm,
struct dlm_lock_resource res,
struct dlm_lock lock,
int  msg_type,
int  blocked_type,
int  flags 
)

Definition at line 448 of file dlmast.c.