|
Linux Kernel
3.7.1
|
#include <linux/module.h>#include <linux/fs.h>#include <linux/types.h>#include <linux/workqueue.h>Go to the source code of this file.
Data Structures | |
| struct | user_lock_res |
| struct | dlmfs_inode_private |
| struct | dlmfs_filp_private |
Macros | |
| #define | USER_LOCK_ATTACHED |
| #define | USER_LOCK_BUSY |
| #define | USER_LOCK_BLOCKED |
| #define | USER_LOCK_IN_TEARDOWN |
| #define | USER_LOCK_QUEUED |
| #define | USER_LOCK_IN_CANCEL (0x00000020) |
| #define | USER_DLM_LOCK_ID_MAX_LEN 32 |
| #define | DLMFS_MAGIC 0x76a9f425 |
Functions | |
| void | user_dlm_lock_res_init (struct user_lock_res *lockres, struct dentry *dentry) |
| int | user_dlm_destroy_lock (struct user_lock_res *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) |
| 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) |
| struct ocfs2_cluster_connection * | user_dlm_register (struct qstr *name) |
| void | user_dlm_unregister (struct ocfs2_cluster_connection *conn) |
| void | user_dlm_set_locking_protocol (void) |
Variables | |
| struct workqueue_struct * | user_dlm_worker |
| #define USER_LOCK_ATTACHED |
| #define USER_LOCK_BLOCKED |
| #define USER_LOCK_BUSY |
| #define USER_LOCK_IN_TEARDOWN |
| #define USER_LOCK_QUEUED |
| 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 | ) |
| struct workqueue_struct* user_dlm_worker |
1.8.2