Linux Kernel
3.7.1
|
#include <linux/signal.h>
#include <linux/module.h>
#include <linux/fs.h>
#include <linux/types.h>
#include <linux/crc32.h>
#include "ocfs2_lockingver.h"
#include "stackglue.h"
#include "userdlm.h"
#include "cluster/masklog.h"
Go to the source code of this file.
Macros | |
#define | MLOG_MASK_PREFIX ML_DLMFS |
#define | user_log_dlm_error(_func, _stat, _lockres) |
Functions | |
int | user_dlm_cluster_lock (struct user_lock_res *lockres, int level, int lkm_flags) |
void | user_dlm_cluster_unlock (struct user_lock_res *lockres, int level) |
void | user_dlm_write_lvb (struct inode *inode, const char *val, unsigned int len) |
ssize_t | user_dlm_read_lvb (struct inode *inode, char *val, unsigned int len) |
void | user_dlm_lock_res_init (struct user_lock_res *lockres, struct dentry *dentry) |
int | user_dlm_destroy_lock (struct user_lock_res *lockres) |
void | user_dlm_set_locking_protocol (void) |
struct ocfs2_cluster_connection * | user_dlm_register (struct qstr *name) |
void | user_dlm_unregister (struct ocfs2_cluster_connection *conn) |
#define user_log_dlm_error | ( | _func, | |
_stat, | |||
_lockres | |||
) |
int user_dlm_cluster_lock | ( | struct user_lock_res * | lockres, |
int | level, | ||
int | lkm_flags | ||
) |
void user_dlm_cluster_unlock | ( | struct user_lock_res * | lockres, |
int | level | ||
) |
int user_dlm_destroy_lock | ( | struct user_lock_res * | lockres | ) |
void user_dlm_lock_res_init | ( | struct user_lock_res * | lockres, |
struct dentry * | dentry | ||
) |
|
read |
void user_dlm_unregister | ( | struct ocfs2_cluster_connection * | conn | ) |