1 /**************************************************************************** 2 **************************************************************************** 3 *** 4 *** This header was automatically generated from a Linux kernel header 5 *** of the same name, to make information necessary for userspace to 6 *** call into the kernel available to libc. It contains only constants, 7 *** structures, and macros generated from the original header, and thus, 8 *** contains no copyrightable information. 9 *** 10 *** To edit the content of this header, modify the corresponding 11 *** source file (e.g. under external/kernel-headers/original/) then 12 *** run bionic/libc/kernel/tools/update_all.py 13 *** 14 *** Any manual change here will be lost the next time this script will 15 *** be run. You've been warned! 16 *** 17 **************************************************************************** 18 ****************************************************************************/ 19 #ifndef __DLMCONSTANTS_DOT_H__ 20 #define __DLMCONSTANTS_DOT_H__ 21 #define DLM_LOCKSPACE_LEN 64 22 #define DLM_RESNAME_MAXLEN 64 23 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 24 #define DLM_LOCK_IV (- 1) 25 #define DLM_LOCK_NL 0 26 #define DLM_LOCK_CR 1 27 #define DLM_LOCK_CW 2 28 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 29 #define DLM_LOCK_PR 3 30 #define DLM_LOCK_PW 4 31 #define DLM_LOCK_EX 5 32 #define DLM_LKF_NOQUEUE 0x00000001 33 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 34 #define DLM_LKF_CANCEL 0x00000002 35 #define DLM_LKF_CONVERT 0x00000004 36 #define DLM_LKF_VALBLK 0x00000008 37 #define DLM_LKF_QUECVT 0x00000010 38 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 39 #define DLM_LKF_IVVALBLK 0x00000020 40 #define DLM_LKF_CONVDEADLK 0x00000040 41 #define DLM_LKF_PERSISTENT 0x00000080 42 #define DLM_LKF_NODLCKWT 0x00000100 43 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 44 #define DLM_LKF_NODLCKBLK 0x00000200 45 #define DLM_LKF_EXPEDITE 0x00000400 46 #define DLM_LKF_NOQUEUEBAST 0x00000800 47 #define DLM_LKF_HEADQUE 0x00001000 48 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 49 #define DLM_LKF_NOORDER 0x00002000 50 #define DLM_LKF_ORPHAN 0x00004000 51 #define DLM_LKF_ALTPR 0x00008000 52 #define DLM_LKF_ALTCW 0x00010000 53 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 54 #define DLM_LKF_FORCEUNLOCK 0x00020000 55 #define DLM_LKF_TIMEOUT 0x00040000 56 #define DLM_ECANCEL 0x10001 57 #define DLM_EUNLOCK 0x10002 58 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 59 #endif 60