Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

57 lines
1.1 KiB

/*++
Copyright (c) 1990 Microsoft Corporation
Module Name:
remlock.c
Abstract:
This is the NT SCSI port driver.
Authors:
Peter Wieland
Kenneth Ray
Environment:
kernel mode only
Notes:
This module is a driver dll for scsi miniports.
Revision History:
--*/
#define RTL_REMOVE_LOCK_SIG 'COLR'
#if DBG
typedef struct _RTL_REMOVE_LOCK_TRACKING_BLOCK {
struct _RTL_REMOVE_LOCK_TRACKING_BLOCK * Link;
PVOID Tag;
LARGE_INTEGER TimeLocked;
PCSTR File;
ULONG Line;
} RTL_REMOVE_LOCK_TRACKING_BLOCK, *PRTL_REMOVE_LOCK_TRACKING_BLOCK;
#endif
typedef struct _RTL_REMOVE_LOCK {
LONG Signature;
BOOLEAN Removed;
BOOLEAN Reserved [3];
LONG IoCount;
KEVENT RemoveEvent;
#if DBG
LONG HighWatermark;
LONG MaxLockedMinutes;
LONG AllocateTag;
LIST_ENTRY LockList;
KSPIN_LOCK Spin;
RTL_REMOVE_LOCK_TRACKING_BLOCK Blocks;
#endif
} RTL_REMOVE_LOCK, *PRTL_REMOVE_LOCK;