Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Variables
lock_dlm.c File Reference
#include <linux/fs.h>
#include <linux/dlm.h>
#include <linux/slab.h>
#include <linux/types.h>
#include <linux/delay.h>
#include <linux/gfs2_ondisk.h>
#include "incore.h"
#include "glock.h"
#include "util.h"
#include "sys.h"
#include "trace_gfs2.h"

Go to the source code of this file.

Macros

#define JID_BITMAP_OFFSET   8 /* 4 byte generation number + 4 byte unused */
 
#define RECOVER_SIZE_INC   16
 

Variables

struct workqueue_structgfs2_control_wq
 
struct dlm_lockspace_ops gdlm_lockspace_ops
 
struct lm_lockops gfs2_dlm_ops
 

Macro Definition Documentation

#define JID_BITMAP_OFFSET   8 /* 4 byte generation number + 4 byte unused */

Definition at line 448 of file lock_dlm.c.

#define RECOVER_SIZE_INC   16

Definition at line 998 of file lock_dlm.c.

Variable Documentation

struct dlm_lockspace_ops gdlm_lockspace_ops
Initial value:
= {
.recover_prep = gdlm_recover_prep,
.recover_slot = gdlm_recover_slot,
.recover_done = gdlm_recover_done,
}

Definition at line 1165 of file lock_dlm.c.

struct workqueue_struct* gfs2_control_wq

Definition at line 32 of file main.c.

struct lm_lockops gfs2_dlm_ops
Initial value:
= {
.lm_proto_name = "lock_dlm",
.lm_mount = gdlm_mount,
.lm_first_done = gdlm_first_done,
.lm_recovery_result = gdlm_recovery_result,
.lm_unmount = gdlm_unmount,
.lm_put_lock = gdlm_put_lock,
.lm_lock = gdlm_lock,
.lm_cancel = gdlm_cancel,
.lm_tokens = &dlm_tokens,
}

Definition at line 1312 of file lock_dlm.c.