ReactOS 0.4.15-dev-5875-g7c755d9
|
#include <ntifs.h>
#include <mountdev.h>
#include <ntddvol.h>
#include <ntdddisk.h>
#include <ndk/psfuncs.h>
#include <ndk/section_attribs.h>
#include <ioevent.h>
#include <stdio.h>
#include <debug/driverdbg.h>
#include "debug.h"
Go to the source code of this file.
Classes | |
struct | _DISK_GEOMETRY_EX_INTERNAL |
struct | _FDO_EXTENSION |
struct | _PARTITION_EXTENSION |
Macros | |
#define | TAG_PARTMGR 'MtrP' |
Typedefs | |
typedef struct _DISK_GEOMETRY_EX_INTERNAL | DISK_GEOMETRY_EX_INTERNAL |
typedef struct _DISK_GEOMETRY_EX_INTERNAL * | PDISK_GEOMETRY_EX_INTERNAL |
typedef struct _FDO_EXTENSION | FDO_EXTENSION |
typedef struct _FDO_EXTENSION * | PFDO_EXTENSION |
typedef struct _PARTITION_EXTENSION | PARTITION_EXTENSION |
typedef struct _PARTITION_EXTENSION * | PPARTITION_EXTENSION |
typedef struct _FDO_EXTENSION FDO_EXTENSION |
typedef struct _FDO_EXTENSION * PFDO_EXTENSION |
typedef struct _PARTITION_EXTENSION * PPARTITION_EXTENSION |
Definition at line 5 of file utils.c.
NTSTATUS IssueSyncIoControlRequest | ( | _In_ UINT32 | IoControlCode, |
_In_ PDEVICE_OBJECT | DeviceObject, | ||
_In_ PVOID | InputBuffer, | ||
_In_ ULONG | InputBufferLength, | ||
_In_ PVOID | OutputBuffer, | ||
_In_ ULONG | OutputBufferLength, | ||
_In_ BOOLEAN | InternalDeviceIoControl | ||
) |
Definition at line 19 of file utils.c.
Referenced by FdoHandleStartDevice(), FdoIoctlDiskGetDriveGeometryEx(), and PartMgrRefreshDiskData().
NTSTATUS PartitionCreateDevice | ( | _In_ PDEVICE_OBJECT | FDObject, |
_In_ PPARTITION_INFORMATION_EX | PartitionEntry, | ||
_In_ UINT32 | OnDiskNumber, | ||
_In_ PARTITION_STYLE | PartitionStyle, | ||
_Out_ PDEVICE_OBJECT * | PDO | ||
) |
Definition at line 15 of file partition.c.
Referenced by PartMgrUpdatePartitionDevices().
NTSTATUS PartitionHandleDeviceControl | ( | _In_ PDEVICE_OBJECT | DeviceObject, |
_In_ PIRP | Irp | ||
) |
Definition at line 449 of file partition.c.
Referenced by PartMgrDeviceControl().
NTSTATUS PartitionHandlePnp | ( | _In_ PDEVICE_OBJECT | DeviceObject, |
_In_ PIRP | Irp | ||
) |
Definition at line 385 of file partition.c.
Referenced by PartMgrPnp().
NTSTATUS PartitionHandleRemove | ( | _In_ PPARTITION_EXTENSION | PartExt, |
_In_ BOOLEAN | FinalRemove | ||
) |
Definition at line 175 of file partition.c.
Referenced by FdoHandleSurpriseRemoval(), PartitionHandlePnp(), and PartMgrUpdatePartitionDevices().
FORCEINLINE VOID PartMgrAcquireLayoutLock | ( | _In_ PFDO_EXTENSION | FDOExtension | ) |
Definition at line 177 of file partmgr.h.
Referenced by FdoHandleDeviceRelations(), FdoIoctlDiskCreateDisk(), FdoIoctlDiskDeleteDriveLayout(), FdoIoctlDiskGetDriveGeometryEx(), FdoIoctlDiskGetDriveLayout(), FdoIoctlDiskGetDriveLayoutEx(), FdoIoctlDiskGetPartitionInfo(), FdoIoctlDiskGetPartitionInfoEx(), FdoIoctlDiskSetDriveLayout(), FdoIoctlDiskSetDriveLayoutEx(), FdoIoctlDiskUpdateProperties(), PartitionHandleDeviceControl(), and PartitionHandleQueryId().
FORCEINLINE VOID PartMgrReleaseLayoutLock | ( | _In_ PFDO_EXTENSION | FDOExtension | ) |
Definition at line 187 of file partmgr.h.
Referenced by FdoHandleDeviceRelations(), FdoIoctlDiskCreateDisk(), FdoIoctlDiskDeleteDriveLayout(), FdoIoctlDiskGetDriveGeometryEx(), FdoIoctlDiskGetDriveLayout(), FdoIoctlDiskGetDriveLayoutEx(), FdoIoctlDiskGetPartitionInfo(), FdoIoctlDiskGetPartitionInfoEx(), FdoIoctlDiskSetDriveLayout(), FdoIoctlDiskSetDriveLayoutEx(), FdoIoctlDiskUpdateProperties(), PartitionHandleDeviceControl(), and PartitionHandleQueryId().
Definition at line 162 of file partmgr.h.
Referenced by FdoIoctlDiskCreateDisk(), FdoIoctlDiskSetDriveLayout(), FdoIoctlDiskSetDriveLayoutEx(), PartitionHandleDeviceControl(), and ScsiPortDeviceControl().
Definition at line 147 of file partmgr.h.
Referenced by FdoIoctlDiskGetDriveLayout(), FdoIoctlDiskGetDriveLayoutEx(), FdoIoctlDiskGetPartitionInfo(), FdoIoctlDiskGetPartitionInfoEx(), PartitionHandleDeviceControl(), and ScsiPortDeviceControl().