Linux Kernel
3.7.1
|
#include <linux/types.h>
#include <linux/list.h>
#include <linux/dlmconstants.h>
#include "dlm/dlmapi.h"
#include <linux/dlm.h>
Go to the source code of this file.
Data Structures | |
struct | ocfs2_protocol_version |
struct | fsdlm_lksb_plus_lvb |
struct | ocfs2_dlm_lksb |
struct | ocfs2_locking_protocol |
struct | ocfs2_cluster_connection |
struct | ocfs2_stack_operations |
struct | ocfs2_stack_plugin |
Macros | |
#define | DLM_LKF_LOCAL 0x00100000 |
#define | GROUP_NAME_MAX 64 |
#define DLM_LKF_LOCAL 0x00100000 |
Definition at line 40 of file stackglue.h.
#define GROUP_NAME_MAX 64 |
Definition at line 46 of file stackglue.h.
int ocfs2_cluster_connect | ( | const char * | stack_name, |
const char * | group, | ||
int | grouplen, | ||
struct ocfs2_locking_protocol * | lproto, | ||
void(*)(int node_num, void *recovery_data) | recovery_handler, | ||
void * | recovery_data, | ||
struct ocfs2_cluster_connection ** | conn | ||
) |
Definition at line 311 of file stackglue.c.
int ocfs2_cluster_connect_agnostic | ( | const char * | group, |
int | grouplen, | ||
struct ocfs2_locking_protocol * | lproto, | ||
void(*)(int node_num, void *recovery_data) | recovery_handler, | ||
void * | recovery_data, | ||
struct ocfs2_cluster_connection ** | conn | ||
) |
Definition at line 377 of file stackglue.c.
int ocfs2_cluster_disconnect | ( | struct ocfs2_cluster_connection * | conn, |
int | hangup_pending | ||
) |
Definition at line 395 of file stackglue.c.
Definition at line 451 of file stackglue.c.
Definition at line 463 of file stackglue.c.
void ocfs2_dlm_dump_lksb | ( | struct ocfs2_dlm_lksb * | lksb | ) |
Definition at line 285 of file stackglue.c.
int ocfs2_dlm_lock | ( | struct ocfs2_cluster_connection * | conn, |
int | mode, | ||
struct ocfs2_dlm_lksb * | lksb, | ||
u32 | flags, | ||
void * | name, | ||
unsigned int | namelen | ||
) |
Definition at line 241 of file stackglue.c.
int ocfs2_dlm_lock_status | ( | struct ocfs2_dlm_lksb * | lksb | ) |
Definition at line 267 of file stackglue.c.
void* ocfs2_dlm_lvb | ( | struct ocfs2_dlm_lksb * | lksb | ) |
Definition at line 279 of file stackglue.c.
int ocfs2_dlm_lvb_valid | ( | struct ocfs2_dlm_lksb * | lksb | ) |
Definition at line 273 of file stackglue.c.
int ocfs2_dlm_unlock | ( | struct ocfs2_cluster_connection * | conn, |
struct ocfs2_dlm_lksb * | lksb, | ||
u32 | flags | ||
) |
Definition at line 257 of file stackglue.c.
int ocfs2_plock | ( | struct ocfs2_cluster_connection * | conn, |
u64 | ino, | ||
struct file * | file, | ||
int | cmd, | ||
struct file_lock * | fl | ||
) |
Definition at line 301 of file stackglue.c.
int ocfs2_stack_glue_register | ( | struct ocfs2_stack_plugin * | plugin | ) |
Definition at line 172 of file stackglue.c.
void ocfs2_stack_glue_set_max_proto_version | ( | struct ocfs2_protocol_version * | max_proto | ) |
Definition at line 216 of file stackglue.c.
void ocfs2_stack_glue_unregister | ( | struct ocfs2_stack_plugin * | plugin | ) |
Definition at line 195 of file stackglue.c.
Definition at line 291 of file stackglue.c.