• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * This header was generated from the Linux kernel headers by update_headers.py,
3  * to provide necessary information from kernel to userspace, such as constants,
4  * structures, and macros, and thus, contains no copyrightable information.
5  */
6 #ifndef __DLMCONSTANTS_DOT_H__
7 #define __DLMCONSTANTS_DOT_H__
8 #define DLM_LOCKSPACE_LEN       64
9 #define DLM_RESNAME_MAXLEN      64
10 #define DLM_LOCK_IV		(-1)
11 #define DLM_LOCK_NL		0
12 #define DLM_LOCK_CR		1
13 #define DLM_LOCK_CW		2
14 #define DLM_LOCK_PR		3
15 #define DLM_LOCK_PW		4
16 #define DLM_LOCK_EX		5
17 #define DLM_LKF_NOQUEUE		0x00000001
18 #define DLM_LKF_CANCEL		0x00000002
19 #define DLM_LKF_CONVERT		0x00000004
20 #define DLM_LKF_VALBLK		0x00000008
21 #define DLM_LKF_QUECVT		0x00000010
22 #define DLM_LKF_IVVALBLK	0x00000020
23 #define DLM_LKF_CONVDEADLK	0x00000040
24 #define DLM_LKF_PERSISTENT	0x00000080
25 #define DLM_LKF_NODLCKWT	0x00000100
26 #define DLM_LKF_NODLCKBLK	0x00000200
27 #define DLM_LKF_EXPEDITE	0x00000400
28 #define DLM_LKF_NOQUEUEBAST	0x00000800
29 #define DLM_LKF_HEADQUE		0x00001000
30 #define DLM_LKF_NOORDER		0x00002000
31 #define DLM_LKF_ORPHAN		0x00004000
32 #define DLM_LKF_ALTPR		0x00008000
33 #define DLM_LKF_ALTCW		0x00010000
34 #define DLM_LKF_FORCEUNLOCK	0x00020000
35 #define DLM_LKF_TIMEOUT		0x00040000
36 #define DLM_ECANCEL		0x10001
37 #define DLM_EUNLOCK		0x10002
38 #endif
39