Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
dlmconvert.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 "dlmconvert.h"
#include "cluster/masklog.h"

Go to the source code of this file.

Macros

#define MLOG_MASK_PREFIX   ML_DLM
 

Functions

enum dlm_status dlmconvert_master (struct dlm_ctxt *dlm, struct dlm_lock_resource *res, struct dlm_lock *lock, int flags, int type)
 
void dlm_revert_pending_convert (struct dlm_lock_resource *res, struct dlm_lock *lock)
 
enum dlm_status dlmconvert_remote (struct dlm_ctxt *dlm, struct dlm_lock_resource *res, struct dlm_lock *lock, int flags, int type)
 
int dlm_convert_lock_handler (struct o2net_msg *msg, u32 len, void *data, void **ret_data)
 

Macro Definition Documentation

#define MLOG_MASK_PREFIX   ML_DLM

Definition at line 50 of file dlmconvert.c.

Function Documentation

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

Definition at line 421 of file dlmconvert.c.

void dlm_revert_pending_convert ( struct dlm_lock_resource res,
struct dlm_lock lock 
)

Definition at line 247 of file dlmconvert.c.

enum dlm_status dlmconvert_master ( struct dlm_ctxt dlm,
struct dlm_lock_resource res,
struct dlm_lock lock,
int  flags,
int  type 
)

Definition at line 76 of file dlmconvert.c.

enum dlm_status dlmconvert_remote ( struct dlm_ctxt dlm,
struct dlm_lock_resource res,
struct dlm_lock lock,
int  flags,
int  type 
)

Definition at line 263 of file dlmconvert.c.