00001 // 00002 // Kernel Mutex Level Numbers (must be globallly assigned within executive) 00003 // The third token in the name is the sub-component name that defines and 00004 // uses the level number. 00005 // 00006 00007 // 00008 // Used by Vdm for protecting io simulation structures 00009 // 00010 00011 #define MUTEX_LEVEL_VDM_IO (ULONG)0x00000001 00012 00013 #define MUTEX_LEVEL_EX_PROFILE (ULONG)0x00000040 00014 00015 // 00016 // The LANMAN Redirector uses the file system major function, but defines 00017 // it's own mutex levels. We can do this safely because we know that the 00018 // local filesystem will never call the remote filesystem and vice versa. 00019 // 00020 00021 #define MUTEX_LEVEL_RDR_FILESYS_DATABASE (ULONG)0x10100000 00022 #define MUTEX_LEVEL_RDR_FILESYS_SECURITY (ULONG)0x10100001 00023 00024 // 00025 // File System levels. 00026 // 00027 00028 #define MUTEX_LEVEL_FILESYSTEM_RAW_VCB (ULONG)0x11000006 00029 00030 // 00031 // In the NT STREAMS environment, a mutex is used to serialize open, close 00032 // and Scheduler threads executing in a subsystem-parallelized stack. 00033 // 00034 00035 #define MUTEX_LEVEL_STREAMS_SUBSYS (ULONG)0x11001001 00036 00037 // 00038 // Mutex level used by LDT support on x86 00039 // 00040 00041 #define MUTEX_LEVEL_PS_LDT (ULONG)0x1F000000