Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Enumerations
ocfs2_lockid.h File Reference

Go to the source code of this file.

Macros

#define OCFS2_LOCK_ID_MAX_LEN   32
 
#define OCFS2_LOCK_ID_PAD   "000000"
 
#define OCFS2_DENTRY_LOCK_INO_START   18
 

Enumerations

enum  ocfs2_lock_type {
  OCFS2_LOCK_TYPE_META = 0, OCFS2_LOCK_TYPE_DATA, OCFS2_LOCK_TYPE_SUPER, OCFS2_LOCK_TYPE_RENAME,
  OCFS2_LOCK_TYPE_RW, OCFS2_LOCK_TYPE_DENTRY, OCFS2_LOCK_TYPE_OPEN, OCFS2_LOCK_TYPE_FLOCK,
  OCFS2_LOCK_TYPE_QINFO, OCFS2_LOCK_TYPE_NFS_SYNC, OCFS2_LOCK_TYPE_ORPHAN_SCAN, OCFS2_LOCK_TYPE_REFCOUNT,
  OCFS2_NUM_LOCK_TYPES
}
 

Macro Definition Documentation

#define OCFS2_DENTRY_LOCK_INO_START   18

Definition at line 38 of file ocfs2_lockid.h.

#define OCFS2_LOCK_ID_MAX_LEN   32

Definition at line 35 of file ocfs2_lockid.h.

#define OCFS2_LOCK_ID_PAD   "000000"

Definition at line 36 of file ocfs2_lockid.h.

Enumeration Type Documentation

Enumerator:
OCFS2_LOCK_TYPE_META 
OCFS2_LOCK_TYPE_DATA 
OCFS2_LOCK_TYPE_SUPER 
OCFS2_LOCK_TYPE_RENAME 
OCFS2_LOCK_TYPE_RW 
OCFS2_LOCK_TYPE_DENTRY 
OCFS2_LOCK_TYPE_OPEN 
OCFS2_LOCK_TYPE_FLOCK 
OCFS2_LOCK_TYPE_QINFO 
OCFS2_LOCK_TYPE_NFS_SYNC 
OCFS2_LOCK_TYPE_ORPHAN_SCAN 
OCFS2_LOCK_TYPE_REFCOUNT 
OCFS2_NUM_LOCK_TYPES 

Definition at line 40 of file ocfs2_lockid.h.