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

Go to the source code of this file.

Macros

#define DLM_LOCKSPACE_LEN   64
 
#define DLM_RESNAME_MAXLEN   64
 
#define DLM_LOCK_IV   (-1) /* invalid */
 
#define DLM_LOCK_NL   0 /* null */
 
#define DLM_LOCK_CR   1 /* concurrent read */
 
#define DLM_LOCK_CW   2 /* concurrent write */
 
#define DLM_LOCK_PR   3 /* protected read */
 
#define DLM_LOCK_PW   4 /* protected write */
 
#define DLM_LOCK_EX   5 /* exclusive */
 
#define DLM_LKF_NOQUEUE   0x00000001
 
#define DLM_LKF_CANCEL   0x00000002
 
#define DLM_LKF_CONVERT   0x00000004
 
#define DLM_LKF_VALBLK   0x00000008
 
#define DLM_LKF_QUECVT   0x00000010
 
#define DLM_LKF_IVVALBLK   0x00000020
 
#define DLM_LKF_CONVDEADLK   0x00000040
 
#define DLM_LKF_PERSISTENT   0x00000080
 
#define DLM_LKF_NODLCKWT   0x00000100
 
#define DLM_LKF_NODLCKBLK   0x00000200
 
#define DLM_LKF_EXPEDITE   0x00000400
 
#define DLM_LKF_NOQUEUEBAST   0x00000800
 
#define DLM_LKF_HEADQUE   0x00001000
 
#define DLM_LKF_NOORDER   0x00002000
 
#define DLM_LKF_ORPHAN   0x00004000
 
#define DLM_LKF_ALTPR   0x00008000
 
#define DLM_LKF_ALTCW   0x00010000
 
#define DLM_LKF_FORCEUNLOCK   0x00020000
 
#define DLM_LKF_TIMEOUT   0x00040000
 
#define DLM_ECANCEL   0x10001
 
#define DLM_EUNLOCK   0x10002
 

Macro Definition Documentation

#define DLM_ECANCEL   0x10001

Definition at line 160 of file dlmconstants.h.

#define DLM_EUNLOCK   0x10002

Definition at line 161 of file dlmconstants.h.

#define DLM_LKF_ALTCW   0x00010000

Definition at line 152 of file dlmconstants.h.

#define DLM_LKF_ALTPR   0x00008000

Definition at line 151 of file dlmconstants.h.

#define DLM_LKF_CANCEL   0x00000002

Definition at line 137 of file dlmconstants.h.

#define DLM_LKF_CONVDEADLK   0x00000040

Definition at line 142 of file dlmconstants.h.

#define DLM_LKF_CONVERT   0x00000004

Definition at line 138 of file dlmconstants.h.

#define DLM_LKF_EXPEDITE   0x00000400

Definition at line 146 of file dlmconstants.h.

#define DLM_LKF_FORCEUNLOCK   0x00020000

Definition at line 153 of file dlmconstants.h.

#define DLM_LKF_HEADQUE   0x00001000

Definition at line 148 of file dlmconstants.h.

#define DLM_LKF_IVVALBLK   0x00000020

Definition at line 141 of file dlmconstants.h.

#define DLM_LKF_NODLCKBLK   0x00000200

Definition at line 145 of file dlmconstants.h.

#define DLM_LKF_NODLCKWT   0x00000100

Definition at line 144 of file dlmconstants.h.

#define DLM_LKF_NOORDER   0x00002000

Definition at line 149 of file dlmconstants.h.

#define DLM_LKF_NOQUEUE   0x00000001

Definition at line 136 of file dlmconstants.h.

#define DLM_LKF_NOQUEUEBAST   0x00000800

Definition at line 147 of file dlmconstants.h.

#define DLM_LKF_ORPHAN   0x00004000

Definition at line 150 of file dlmconstants.h.

#define DLM_LKF_PERSISTENT   0x00000080

Definition at line 143 of file dlmconstants.h.

#define DLM_LKF_QUECVT   0x00000010

Definition at line 140 of file dlmconstants.h.

#define DLM_LKF_TIMEOUT   0x00040000

Definition at line 154 of file dlmconstants.h.

#define DLM_LKF_VALBLK   0x00000008

Definition at line 139 of file dlmconstants.h.

#define DLM_LOCK_CR   1 /* concurrent read */

Definition at line 31 of file dlmconstants.h.

#define DLM_LOCK_CW   2 /* concurrent write */

Definition at line 32 of file dlmconstants.h.

#define DLM_LOCK_EX   5 /* exclusive */

Definition at line 35 of file dlmconstants.h.

#define DLM_LOCK_IV   (-1) /* invalid */

Definition at line 29 of file dlmconstants.h.

#define DLM_LOCK_NL   0 /* null */

Definition at line 30 of file dlmconstants.h.

#define DLM_LOCK_PR   3 /* protected read */

Definition at line 33 of file dlmconstants.h.

#define DLM_LOCK_PW   4 /* protected write */

Definition at line 34 of file dlmconstants.h.

#define DLM_LOCKSPACE_LEN   64

Definition at line 21 of file dlmconstants.h.

#define DLM_RESNAME_MAXLEN   64

Definition at line 22 of file dlmconstants.h.