ReactOS 0.4.16-dev-122-g325d74c
|
Go to the source code of this file.
Macros | |
#define | NDEBUG |
Variables | |
PWSTR | DatabasePath = L"\\Registry\\Machine\\System\\MountedDevices" |
PWSTR | OfflinePath = L"\\Registry\\Machine\\System\\MountedDevices\\Offline" |
UNICODE_STRING | RemoteDatabase = RTL_CONSTANT_STRING(L"\\System Volume Information\\MountPointManagerRemoteDatabase") |
#define NDEBUG |
Definition at line 28 of file database.c.
NTSTATUS AddRemoteDatabaseEntry | ( | IN HANDLE | Database, |
IN PDATABASE_ENTRY | Entry | ||
) |
Definition at line 64 of file database.c.
Referenced by ChangeRemoteDatabaseUniqueId(), MountMgrVolumeMountPointCreated(), and ReconcileThisDatabaseWithMasterWorker().
VOID ChangeRemoteDatabaseUniqueId | ( | IN PDEVICE_INFORMATION | DeviceInformation, |
IN PMOUNTDEV_UNIQUE_ID | OldUniqueId, | ||
IN PMOUNTDEV_UNIQUE_ID | NewUniqueId | ||
) |
Definition at line 1911 of file database.c.
Referenced by MountMgrUniqueIdChangeRoutine().
Definition at line 82 of file database.c.
Referenced by ChangeRemoteDatabaseUniqueId(), MountMgrVolumeMountPointCreated(), MountMgrVolumeMountPointDeleted(), and ReconcileThisDatabaseWithMasterWorker().
Definition at line 1790 of file database.c.
Referenced by OpenRemoteDatabase().
Definition at line 1685 of file database.c.
Referenced by CreateRemoteDatabase().
NTSTATUS NTAPI DeleteDriveLetterRoutine | ( | IN PWSTR | ValueName, |
IN ULONG | ValueType, | ||
IN PVOID | ValueData, | ||
IN ULONG | ValueLength, | ||
IN PVOID | Context, | ||
IN PVOID | EntryContext | ||
) |
Definition at line 2001 of file database.c.
Referenced by DeleteRegistryDriveLetter().
VOID DeleteFromLocalDatabase | ( | IN PUNICODE_STRING | SymbolicLink, |
IN PMOUNTDEV_UNIQUE_ID | UniqueId | ||
) |
Definition at line 351 of file database.c.
Referenced by MountMgrMountedDeviceArrival().
NTSTATUS NTAPI DeleteFromLocalDatabaseRoutine | ( | IN PWSTR | ValueName, |
IN ULONG | ValueType, | ||
IN PVOID | ValueData, | ||
IN ULONG | ValueLength, | ||
IN PVOID | Context, | ||
IN PVOID | EntryContext | ||
) |
Definition at line 322 of file database.c.
Referenced by DeleteFromLocalDatabase().
VOID DeleteNoDriveLetterEntry | ( | IN PMOUNTDEV_UNIQUE_ID | UniqueId | ) |
Definition at line 2100 of file database.c.
Referenced by MountMgrCreatePointWorker(), and MountMgrDeletePoints().
NTSTATUS NTAPI DeleteNoDriveLetterEntryRoutine | ( | IN PWSTR | ValueName, |
IN ULONG | ValueType, | ||
IN PVOID | ValueData, | ||
IN ULONG | ValueLength, | ||
IN PVOID | Context, | ||
IN PVOID | EntryContext | ||
) |
Definition at line 2067 of file database.c.
Referenced by DeleteNoDriveLetterEntry().
VOID DeleteRegistryDriveLetter | ( | IN PMOUNTDEV_UNIQUE_ID | UniqueId | ) |
Definition at line 2048 of file database.c.
Referenced by MountMgrCreatePointWorker().
Definition at line 233 of file database.c.
Referenced by ChangeRemoteDatabaseUniqueId(), MountMgrVolumeMountPointDeleted(), and ReconcileThisDatabaseWithMasterWorker().
PDATABASE_ENTRY GetRemoteDatabaseEntry | ( | IN HANDLE | Database, |
IN LONG | StartingOffset | ||
) |
Definition at line 125 of file database.c.
Referenced by ChangeRemoteDatabaseUniqueId(), DeleteRemoteDatabaseEntry(), MountMgrVolumeMountPointCreated(), MountMgrVolumeMountPointDeleted(), and ReconcileThisDatabaseWithMasterWorker().
Definition at line 40 of file database.c.
Referenced by AddRemoteDatabaseEntry(), and DeleteRemoteDatabaseEntry().
VOID OnlineMountedVolumes | ( | IN PDEVICE_EXTENSION | DeviceExtension, |
IN PDEVICE_INFORMATION | DeviceInformation | ||
) |
Definition at line 1460 of file database.c.
Referenced by ReconcileThisDatabaseWithMaster().
HANDLE OpenRemoteDatabase | ( | IN PDEVICE_INFORMATION | DeviceInformation, |
IN BOOLEAN | MigrateDatabase | ||
) |
Definition at line 1837 of file database.c.
Referenced by ChangeRemoteDatabaseUniqueId(), MountMgrVolumeMountPointCreated(), MountMgrVolumeMountPointDeleted(), and ReconcileThisDatabaseWithMasterWorker().
NTSTATUS QueryUniqueIdFromMaster | ( | IN PDEVICE_EXTENSION | DeviceExtension, |
IN PUNICODE_STRING | SymbolicName, | ||
OUT PMOUNTDEV_UNIQUE_ID * | UniqueId | ||
) |
Definition at line 440 of file database.c.
Referenced by ReconcileThisDatabaseWithMasterWorker().
NTSTATUS NTAPI QueryUniqueIdQueryRoutine | ( | IN PWSTR | ValueName, |
IN ULONG | ValueType, | ||
IN PVOID | ValueData, | ||
IN ULONG | ValueLength, | ||
IN PVOID | Context, | ||
IN PVOID | EntryContext | ||
) |
Definition at line 401 of file database.c.
Referenced by QueryUniqueIdFromMaster().
NTSTATUS QueryVolumeName | ( | IN HANDLE | RootDirectory, |
IN PFILE_REPARSE_POINT_INFORMATION | ReparsePointInformation, | ||
IN PUNICODE_STRING FileName | OPTIONAL, | ||
OUT PUNICODE_STRING | SymbolicName, | ||
OUT PUNICODE_STRING | VolumeName | ||
) |
Definition at line 1292 of file database.c.
Referenced by MountMgrVolumeMountPointCreated(), MountMgrVolumeMountPointDeleted(), OnlineMountedVolumes(), and ReconcileThisDatabaseWithMasterWorker().
NTSTATUS QueueWorkItem | ( | IN PDEVICE_EXTENSION | DeviceExtension, |
IN PRECONCILE_WORK_ITEM | WorkItem, | ||
IN PVOID | Context | ||
) |
Definition at line 1261 of file database.c.
Referenced by ReconcileThisDatabaseWithMaster().
VOID ReconcileAllDatabasesWithMaster | ( | IN PDEVICE_EXTENSION | DeviceExtension | ) |
Definition at line 1659 of file database.c.
Referenced by MountMgrDeviceControl().
VOID ReconcileThisDatabaseWithMaster | ( | IN PDEVICE_EXTENSION | DeviceExtension, |
IN PDEVICE_INFORMATION | DeviceInformation | ||
) |
Definition at line 1613 of file database.c.
Referenced by MountMgrCreatePointWorker(), MountMgrMountedDeviceArrival(), MountMgrTargetDeviceNotification(), MountMgrUniqueIdChangeRoutine(), MountMgrVolumeMountPointChanged(), and ReconcileAllDatabasesWithMaster().
Definition at line 560 of file database.c.
Referenced by MountMgrQueryDosVolumePaths(), and ReconcileThisDatabaseWithMaster().
VOID ReleaseRemoteDatabaseSemaphore | ( | IN PDEVICE_EXTENSION | DeviceExtension | ) |
Definition at line 391 of file database.c.
Referenced by MountMgrDeviceControl(), MountMgrUniqueIdChangeRoutine(), and ReconcileThisDatabaseWithMasterWorker().
Definition at line 91 of file database.c.
Referenced by DeleteRemoteDatabaseEntry(), GetRemoteDatabaseEntry(), and ReconcileThisDatabaseWithMasterWorker().
NTSTATUS WaitForRemoteDatabaseSemaphore | ( | IN PDEVICE_EXTENSION | DeviceExtension | ) |
Definition at line 371 of file database.c.
Referenced by MountMgrDeviceControl(), MountMgrUniqueIdChangeRoutine(), and ReconcileThisDatabaseWithMasterWorker().
Definition at line 1148 of file database.c.
Referenced by QueueWorkItem().
Definition at line 200 of file database.c.
Referenced by MountMgrVolumeMountPointCreated(), MountMgrVolumeMountPointDeleted(), and ReconcileThisDatabaseWithMasterWorker().
NTSTATUS WriteUniqueIdToMaster | ( | IN PDEVICE_EXTENSION | DeviceExtension, |
IN PDATABASE_ENTRY | DatabaseEntry | ||
) |
Definition at line 489 of file database.c.
Referenced by ReconcileThisDatabaseWithMasterWorker().
PWSTR DatabasePath = L"\\Registry\\Machine\\System\\MountedDevices" |
Definition at line 31 of file database.c.
Referenced by ChangeUniqueIdRoutine(), CreateNoDriveLetterEntry(), DeleteDriveLetterRoutine(), DeleteFromLocalDatabase(), DeleteFromLocalDatabaseRoutine(), DeleteNoDriveLetterEntry(), DeleteNoDriveLetterEntryRoutine(), DeleteRegistryDriveLetter(), DriverEntry(), GetProtoOpenNetworkDatabase(), HasNoDriveLetterEntry(), MountMgrCreatePointWorker(), MountMgrDeletePoints(), MountMgrDeletePointsDbOnly(), MountMgrMountedDeviceArrival(), MountMgrScrubRegistry(), MountMgrUniqueIdChangeRoutine(), OpenHostsFile(), OpenNetworkDatabase(), QuerySymbolicLinkNamesFromStorage(), QueryUniqueIdFromMaster(), ScrubRegistryRoutine(), and WriteUniqueIdToMaster().
PWSTR OfflinePath = L"\\Registry\\Machine\\System\\MountedDevices\\Offline" |
Definition at line 32 of file database.c.
Referenced by IsOffline().
UNICODE_STRING RemoteDatabase = RTL_CONSTANT_STRING(L"\\System Volume Information\\MountPointManagerRemoteDatabase") |
Definition at line 34 of file database.c.
Referenced by CreateRemoteDatabaseWorker(), MountMgrVolumeMountPointCreated(), MountMgrVolumeMountPointDeleted(), and OpenRemoteDatabase().