Changeset View
Changeset View
Standalone View
Standalone View
sys/sys/lockmgr.h
Show First 20 Lines • Show All 158 Lines • ▼ Show 20 Lines | |||||
*/ | */ | ||||
#define LK_EATTR_MASK 0x00FF00 | #define LK_EATTR_MASK 0x00FF00 | ||||
#define LK_INTERLOCK 0x000100 | #define LK_INTERLOCK 0x000100 | ||||
#define LK_NOWAIT 0x000200 | #define LK_NOWAIT 0x000200 | ||||
#define LK_RETRY 0x000400 | #define LK_RETRY 0x000400 | ||||
#define LK_SLEEPFAIL 0x000800 | #define LK_SLEEPFAIL 0x000800 | ||||
#define LK_TIMELOCK 0x001000 | #define LK_TIMELOCK 0x001000 | ||||
#define LK_NODDLKTREAT 0x002000 | #define LK_NODDLKTREAT 0x002000 | ||||
#define LK_IGNORE_INTERLOCK 0x004000 | |||||
/* | /* | ||||
* Operations for lockmgr(). | * Operations for lockmgr(). | ||||
*/ | */ | ||||
#define LK_TYPE_MASK 0xFF0000 | #define LK_TYPE_MASK 0xFF0000 | ||||
#define LK_DOWNGRADE 0x010000 | #define LK_DOWNGRADE 0x010000 | ||||
#define LK_DRAIN 0x020000 | #define LK_DRAIN 0x020000 | ||||
#define LK_EXCLOTHER 0x040000 | #define LK_EXCLOTHER 0x040000 | ||||
Show All 30 Lines |