ReactOS 0.4.16-dev-197-g92996da
|
#include "disk.h"
#include "initguid.h"
#include "ntddstor.h"
#include "ntddvol.h"
#include "ioevent.h"
Go to the source code of this file.
Classes | |
struct | _DISK_GEOMETRY_EX_INTERNAL |
Macros | |
#define | DEBUG_MAIN_SOURCE 1 |
#define | DiskCompareGuid(_First, _Second) (memcmp ((_First),(_Second), sizeof (GUID))) |
#define | TRANSLATE_RETENTION_PRIORITY(_x) |
#define | IOCTL_VOLUME_GET_VOLUME_DISK_EXTENTS_ADMIN CTL_CODE(IOCTL_VOLUME_BASE, 0, METHOD_BUFFERED, FILE_READ_ACCESS) |
Typedefs | |
typedef struct _DISK_GEOMETRY_EX_INTERNAL | DISK_GEOMETRY_EX_INTERNAL |
typedef struct _DISK_GEOMETRY_EX_INTERNAL * | PDISK_GEOMETRY_EX_INTERNAL |
Variables | |
BOOLEAN | DiskETWEnabled = FALSE |
BOOLEAN | DiskIsPastReinit = FALSE |
const GUID | GUID_NULL = { 0 } |
#define IOCTL_VOLUME_GET_VOLUME_DISK_EXTENTS_ADMIN CTL_CODE(IOCTL_VOLUME_BASE, 0, METHOD_BUFFERED, FILE_READ_ACCESS) |
Definition at line 2012 of file disk.c.
VOID NTAPI DiskBootDriverReinit | ( | IN PDRIVER_OBJECT | DriverObject, |
IN PVOID | Nothing, | ||
IN ULONG | Count | ||
) |
Definition at line 123 of file disk.c.
Referenced by DriverEntry().
NTSTATUS DiskCreateFdo | ( | IN PDRIVER_OBJECT | DriverObject, |
IN PDEVICE_OBJECT | PhysicalDeviceObject, | ||
IN PULONG | DeviceCount, | ||
IN BOOLEAN | DasdAccessOnly | ||
) |
Definition at line 307 of file disk.c.
Referenced by DiskAddDevice().
NTSTATUS DiskDetermineMediaTypes | ( | IN PDEVICE_OBJECT | Fdo, |
IN PIRP | Irp, | ||
IN UCHAR | MediumType, | ||
IN UCHAR | DensityCode, | ||
IN BOOLEAN | MediaPresent, | ||
IN BOOLEAN | IsWritable | ||
) |
Definition at line 655 of file disk.c.
Referenced by DiskIoctlGetMediaTypesEx().
NTSTATUS NTAPI DiskDeviceControl | ( | PDEVICE_OBJECT | DeviceObject, |
PIRP | Irp | ||
) |
Definition at line 937 of file disk.c.
Referenced by DriverEntry().
VOID DiskEtwEnableCallback | ( | _In_ LPCGUID | SourceId, |
_In_ ULONG | IsEnabled, | ||
_In_ UCHAR | Level, | ||
_In_ ULONGLONG | MatchAnyKeyword, | ||
_In_ ULONGLONG | MatchAllKeyword, | ||
_In_opt_ PEVENT_FILTER_DESCRIPTOR | FilterData, | ||
_In_opt_ PVOID | CallbackContext | ||
) |
Definition at line 6155 of file disk.c.
VOID NTAPI DiskFdoProcessError | ( | PDEVICE_OBJECT | Fdo, |
PSCSI_REQUEST_BLOCK | Srb, | ||
NTSTATUS * | Status, | ||
BOOLEAN * | Retry | ||
) |
Definition at line 2276 of file disk.c.
Referenced by DriverEntry().
Definition at line 1699 of file disk.c.
VOID DiskFlushDispatch | ( | IN PDEVICE_OBJECT | Fdo, |
IN PDISK_GROUP_CONTEXT | FlushContext | ||
) |
Definition at line 1534 of file disk.c.
Referenced by DiskShutdownFlush().
NTSTATUS NTAPI DiskGetCacheInformation | ( | IN PFUNCTIONAL_DEVICE_EXTENSION | FdoExtension, |
IN PDISK_CACHE_INFORMATION | CacheInfo | ||
) |
Definition at line 3019 of file disk.c.
Referenced by DiskIoctlGetCacheInformation(), and DiskStartFdo().
NTSTATUS DiskGetInfoExceptionInformation | ( | IN PFUNCTIONAL_DEVICE_EXTENSION | FdoExtension, |
IN PMODE_INFO_EXCEPTIONS | ReturnPageData | ||
) |
Definition at line 2896 of file disk.c.
Referenced by DiskFdoExecuteWmiMethod(), and DiskFdoQueryWmiDataBlock().
Definition at line 5313 of file disk.c.
Referenced by DiskDeviceControl().
Definition at line 4419 of file disk.c.
Referenced by DiskDeviceControl().
Definition at line 3840 of file disk.c.
Referenced by DiskDeviceControl().
NTSTATUS DiskIoctlGetCacheSetting | ( | IN PDEVICE_OBJECT | DeviceObject, |
IN PIRP | Irp | ||
) |
Definition at line 3347 of file disk.c.
Referenced by DiskDeviceControl().
Definition at line 3582 of file disk.c.
Referenced by DiskDeviceControl().
Definition at line 3672 of file disk.c.
Referenced by DiskDeviceControl().
Definition at line 3492 of file disk.c.
Referenced by DiskDeviceControl().
Definition at line 3994 of file disk.c.
Referenced by DiskDeviceControl().
Definition at line 5461 of file disk.c.
Referenced by DiskDeviceControl().
Definition at line 5063 of file disk.c.
Referenced by DiskDeviceControl().
Definition at line 4268 of file disk.c.
Referenced by DiskDeviceControl().
Definition at line 4648 of file disk.c.
Referenced by DiskDeviceControl().
Definition at line 4855 of file disk.c.
Referenced by DiskDeviceControl().
Definition at line 3917 of file disk.c.
Referenced by DiskDeviceControl().
NTSTATUS DiskIoctlSetCacheSetting | ( | IN PDEVICE_OBJECT | DeviceObject, |
IN PIRP | Irp | ||
) |
Definition at line 3415 of file disk.c.
Referenced by DiskDeviceControl().
Definition at line 5264 of file disk.c.
Referenced by DiskDeviceControl().
Definition at line 5540 of file disk.c.
Referenced by DiskDeviceControl().
Definition at line 5663 of file disk.c.
Referenced by DiskDeviceControl().
Definition at line 5890 of file disk.c.
Referenced by DiskDeviceControl().
Definition at line 5362 of file disk.c.
Referenced by DiskDeviceControl().
Definition at line 4526 of file disk.c.
Referenced by DiskDeviceControl().
Definition at line 2046 of file disk.c.
VOID DiskLogCacheInformation | ( | IN PFUNCTIONAL_DEVICE_EXTENSION | FdoExtension, |
IN PDISK_CACHE_INFORMATION | CacheInfo, | ||
IN NTSTATUS | Status | ||
) |
Definition at line 2856 of file disk.c.
Referenced by DiskIoctlSetCacheInformation().
NTSTATUS DiskModeSelect | ( | IN PDEVICE_OBJECT | Fdo, |
_In_reads_bytes_(Length) PCHAR | ModeSelectBuffer, | ||
IN ULONG | Length, | ||
IN BOOLEAN | SavePage | ||
) |
Definition at line 1802 of file disk.c.
Referenced by DiskSetCacheInformation(), and DiskSetInfoExceptionInformation().
Definition at line 546 of file disk.c.
Referenced by DriverEntry().
NTSTATUS NTAPI DiskSetCacheInformation | ( | IN PFUNCTIONAL_DEVICE_EXTENSION | FdoExtension, |
IN PDISK_CACHE_INFORMATION | CacheInfo | ||
) |
Definition at line 3167 of file disk.c.
Referenced by DiskIoctlSetCacheInformation(), and DiskStartFdo().
NTSTATUS DiskSetInfoExceptionInformation | ( | IN PFUNCTIONAL_DEVICE_EXTENSION | FdoExtension, |
IN PMODE_INFO_EXCEPTIONS | PageData | ||
) |
Definition at line 2985 of file disk.c.
Referenced by DiskFdoExecuteWmiMethod(), and DiskFdoSetWmiDataBlock().
Definition at line 2602 of file disk.c.
Referenced by DiskInitFdo().
Definition at line 1122 of file disk.c.
Referenced by DriverEntry().
VOID NTAPI DiskUnload | ( | IN PDRIVER_OBJECT | DriverObject | ) |
Definition at line 281 of file disk.c.
Referenced by DriverEntry().
NTSTATUS NTAPI DriverEntry | ( | IN PDRIVER_OBJECT | DriverObject, |
IN PUNICODE_STRING | RegistryPath | ||
) |
Definition at line 146 of file disk.c.
VOID ResetBus | ( | IN PDEVICE_OBJECT | Fdo | ) |
Definition at line 2705 of file disk.c.
Referenced by DiskFdoProcessError().
Definition at line 79 of file disk.c.
Referenced by DiskEtwEnableCallback().
Definition at line 81 of file disk.c.
Referenced by DiskDriverReinit().