#include <linux/module.h>
#include <linux/fs.h>
#include <linux/types.h>
#include <linux/slab.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 <linux/delay.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.
|
int | dlm_init_lock_cache (void) |
|
void | dlm_destroy_lock_cache (void) |
|
void | dlm_revert_pending_lock (struct dlm_lock_resource *res, struct dlm_lock *lock) |
|
void | dlm_lock_get (struct dlm_lock *lock) |
|
void | dlm_lock_put (struct dlm_lock *lock) |
|
void | dlm_lock_attach_lockres (struct dlm_lock *lock, struct dlm_lock_resource *res) |
|
struct dlm_lock * | dlm_new_lock (int type, u8 node, u64 cookie, struct dlm_lockstatus *lksb) |
|
int | dlm_create_lock_handler (struct o2net_msg *msg, u32 len, void *data, void **ret_data) |
|
enum dlm_status | dlmlock (struct dlm_ctxt *dlm, int mode, struct dlm_lockstatus *lksb, int flags, const char *name, int namelen, dlm_astlockfunc_t *ast, void *data, dlm_bastlockfunc_t *bast) |
|
| EXPORT_SYMBOL_GPL (dlmlock) |
|
#define MLOG_MASK_PREFIX ML_DLM |