dlmconstants.h revision 96c1db7b9d601c31d103389cac074a6cce0d7633
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#define DLM_LOCK_IV (- 1) 24#define DLM_LOCK_NL 0 25#define DLM_LOCK_CR 1 26#define DLM_LOCK_CW 2 27#define DLM_LOCK_PR 3 28#define DLM_LOCK_PW 4 29#define DLM_LOCK_EX 5 30#define DLM_LKF_NOQUEUE 0x00000001 31#define DLM_LKF_CANCEL 0x00000002 32#define DLM_LKF_CONVERT 0x00000004 33#define DLM_LKF_VALBLK 0x00000008 34#define DLM_LKF_QUECVT 0x00000010 35#define DLM_LKF_IVVALBLK 0x00000020 36#define DLM_LKF_CONVDEADLK 0x00000040 37#define DLM_LKF_PERSISTENT 0x00000080 38#define DLM_LKF_NODLCKWT 0x00000100 39#define DLM_LKF_NODLCKBLK 0x00000200 40#define DLM_LKF_EXPEDITE 0x00000400 41#define DLM_LKF_NOQUEUEBAST 0x00000800 42#define DLM_LKF_HEADQUE 0x00001000 43#define DLM_LKF_NOORDER 0x00002000 44#define DLM_LKF_ORPHAN 0x00004000 45#define DLM_LKF_ALTPR 0x00008000 46#define DLM_LKF_ALTCW 0x00010000 47#define DLM_LKF_FORCEUNLOCK 0x00020000 48#define DLM_LKF_TIMEOUT 0x00040000 49#define DLM_ECANCEL 0x10001 50#define DLM_EUNLOCK 0x10002 51#endif 52