ReactOS 0.4.16-dev-1214-gd663eb4
|
Go to the source code of this file.
Macros | |
#define | NDEBUG |
#define | MODULE_INVOLVED_IN_ARM3 |
|
static |
Definition at line 399 of file section.c.
Referenced by MiMapViewInSystemSpace().
|
static |
Definition at line 714 of file section.c.
Referenced by MiDeleteARM3Section(), MiDereferenceControlArea(), MiRemoveMappedPtes(), MiRemoveMappedView(), and MmCreateArm3Section().
|
static |
Definition at line 530 of file section.c.
Referenced by MiMapViewInSystemSpace(), and MiMapViewOfDataSection().
|
static |
Definition at line 1406 of file section.c.
Referenced by MmCreateArm3Section().
|
static |
Definition at line 1421 of file section.c.
Referenced by MmCreateArm3Section().
Definition at line 2951 of file section.c.
Referenced by MmpDeleteSection().
|
static |
Definition at line 749 of file section.c.
Referenced by MiMapViewInSystemSpace(), and MiMapViewOfDataSection().
Definition at line 462 of file section.c.
Referenced by MiMapViewInSystemSpace(), and MmCreateVirtualMappingUnsafeEx().
VOID NTAPI MiFlushTbAndCapture | ( | IN PMMVAD | FoundVad, |
IN PMMPTE | PointerPte, | ||
IN ULONG | ProtectionMask, | ||
IN PMMPFN | Pfn1, | ||
IN BOOLEAN | UpdateDirty | ||
) |
Definition at line 1821 of file section.c.
Referenced by MiProtectVirtualMemory().
|
static |
Definition at line 1559 of file section.c.
Referenced by MmGetFileNameForAddress(), and NtAreMappedFilesTheSame().
BOOLEAN NTAPI MiInitializeSystemSpaceMap | ( | IN PMMSESSION InputSession | OPTIONAL | ) |
Definition at line 222 of file section.c.
Referenced by MiBuildPagedPool(), and MiSessionCreateInternal().
|
static |
Definition at line 288 of file section.c.
Referenced by MiMapViewInSystemSpace().
|
static |
Definition at line 117 of file section.c.
Referenced by MmMapViewOfArm3Section().
Definition at line 556 of file section.c.
Referenced by MiDeleteVirtualAddresses().
Definition at line 140 of file section.c.
Referenced by MiIsProtectionCompatible(), MiProtectVirtualMemory(), MmCreateArm3Section(), MmCreateSection(), MmCreateVirtualMappingUnsafeEx(), MmInsertMemoryArea(), MmMapViewOfArm3Section(), MmSetPageProtect(), NtAllocateVirtualMemory(), and NtMapViewOfSection().
NTSTATUS MiMapViewInSystemSpace | ( | _In_ PVOID | Section, |
_In_ PMMSESSION | Session, | ||
_Outptr_result_bytebuffer_ *ViewSize PVOID * | MappedBase, | ||
_Inout_ PSIZE_T | ViewSize, | ||
_Inout_ PLARGE_INTEGER | SectionOffset | ||
) |
Definition at line 1039 of file section.c.
Referenced by MmMapViewInSessionSpace(), and MmMapViewInSystemSpaceEx().
|
static |
Definition at line 1151 of file section.c.
Referenced by MmMapViewOfArm3Section().
NTSTATUS NTAPI MiQueryMemorySectionName | ( | IN HANDLE | ProcessHandle, |
IN PVOID | BaseAddress, | ||
OUT PVOID | MemoryInformation, | ||
IN SIZE_T | MemoryInformationLength, | ||
OUT PSIZE_T | ReturnLength | ||
) |
Definition at line 1754 of file section.c.
Referenced by NtQueryVirtualMemory().
|
static |
Definition at line 2024 of file section.c.
Referenced by MiUnmapViewInSystemSpace().
|
static |
Definition at line 1922 of file section.c.
Referenced by MiUnmapViewInSystemSpace().
Definition at line 766 of file section.c.
Referenced by MiUnmapViewOfSection(), and MmCleanProcessAddressSpace().
Definition at line 591 of file section.c.
Referenced by MiCheckControlArea().
Definition at line 923 of file section.c.
Referenced by MiMapViewInSystemSpace().
|
static |
Definition at line 2068 of file section.c.
Referenced by MmUnmapViewInSessionSpace(), and MmUnmapViewInSystemSpace().
|
static |
Definition at line 804 of file section.c.
Referenced by MmUnmapViewOfSection(), and NtUnmapViewOfSection().
Definition at line 2788 of file section.c.
NTSTATUS NTAPI MmCreateArm3Section | ( | OUT PVOID * | SectionObject, |
IN ACCESS_MASK | DesiredAccess, | ||
IN POBJECT_ATTRIBUTES ObjectAttributes | OPTIONAL, | ||
IN PLARGE_INTEGER | InputMaximumSize, | ||
IN ULONG | SectionPageProtection, | ||
IN ULONG | AllocationAttributes, | ||
IN HANDLE FileHandle | OPTIONAL, | ||
IN PFILE_OBJECT FileObject | OPTIONAL | ||
) |
Definition at line 2102 of file section.c.
Referenced by MmCreateSection().
BOOLEAN NTAPI MmDisableModifiedWriteOfSection | ( | IN PSECTION_OBJECT_POINTERS | SectionObjectPointer | ) |
ULONG NTAPI MmDoesFileHaveUserWritableReferences | ( | IN PSECTION_OBJECT_POINTERS | SectionPointer | ) |
Definition at line 2987 of file section.c.
Referenced by FatCheckShareAccess().
BOOLEAN NTAPI MmForceSectionClosed | ( | IN PSECTION_OBJECT_POINTERS | SectionObjectPointer, |
IN BOOLEAN | DelayClose | ||
) |
Definition at line 2677 of file section.c.
Referenced by RxPurgeFcbInSystemCache(), and RxPurgeNetFcb().
Definition at line 1691 of file section.c.
Referenced by DbgkpPostFakeModuleMessages(), and MiQueryMemorySectionName().
|
static |
Definition at line 1638 of file section.c.
Referenced by MmGetFileNameForAddress(), and MmGetFileNameForSection().
NTSTATUS NTAPI MmGetFileNameForSection | ( | IN PVOID | Section, |
OUT POBJECT_NAME_INFORMATION * | ModuleName | ||
) |
Definition at line 1670 of file section.c.
Referenced by DbgkCreateThread(), and DbgkpSectionToFileHandle().
PFILE_OBJECT NTAPI MmGetFileObjectForSection | ( | IN PVOID | SectionObject | ) |
Definition at line 1540 of file section.c.
Referenced by CcGetFileObjectFromBcb(), CcGetFileObjectFromSectionPtrs(), CcShutdownSystem(), MmGetFileNameForSection(), MmInitializeProcessAddressSpace(), and PsReferenceProcessFilePointer().
VOID NTAPI MmGetImageInformation | ( | OUT PSECTION_IMAGE_INFORMATION | ImageInformation | ) |
Definition at line 1617 of file section.c.
Referenced by NtQueryInformationProcess().
NTSTATUS NTAPI MmMapViewInSessionSpace | ( | IN PVOID | Section, |
OUT PVOID * | MappedBase, | ||
IN OUT PSIZE_T | ViewSize | ||
) |
Definition at line 2689 of file section.c.
Referenced by _Success_(), InitGdiHandleTable(), and UserCreateHeap().
NTSTATUS NTAPI MmMapViewOfArm3Section | ( | IN PVOID | SectionObject, |
IN PEPROCESS | Process, | ||
IN OUT PVOID * | BaseAddress, | ||
IN ULONG_PTR | ZeroBits, | ||
IN SIZE_T | CommitSize, | ||
IN OUT PLARGE_INTEGER SectionOffset | OPTIONAL, | ||
IN OUT PSIZE_T | ViewSize, | ||
IN SECTION_INHERIT | InheritDisposition, | ||
IN ULONG | AllocationType, | ||
IN ULONG | Protect | ||
) |
Definition at line 2531 of file section.c.
Referenced by MmMapViewOfSection().
Definition at line 2724 of file section.c.
Referenced by EngFreeSectionMem(), and IntFreeDesktopHeap().
Definition at line 2763 of file section.c.
Referenced by CcRosInternalFreeVacb(), EngFreeModule(), MmUnmapViewInSessionSpace(), and SharedMem_Release().
Definition at line 2752 of file section.c.
Referenced by _Function_class_(), _Success_(), EngUnmapSectionView(), IntMapDesktopView(), IntUnmapDesktopView(), IntUserHeapCreate(), LpcpDeletePort(), MiLoadImageSection(), and UnmapGlobalUserHeap().
NTSTATUS NTAPI NtAreMappedFilesTheSame | ( | IN PVOID | File1MappedAsAnImage, |
IN PVOID | File2MappedAsFile | ||
) |
Definition at line 2997 of file section.c.
NTSTATUS NTAPI NtCreateSection | ( | OUT PHANDLE | SectionHandle, |
IN ACCESS_MASK | DesiredAccess, | ||
IN POBJECT_ATTRIBUTES ObjectAttributes | OPTIONAL, | ||
IN PLARGE_INTEGER MaximumSize | OPTIONAL, | ||
IN ULONG SectionPageProtection | OPTIONAL, | ||
IN ULONG | AllocationAttributes, | ||
IN HANDLE FileHandle | OPTIONAL | ||
) |
Definition at line 3076 of file section.c.
Referenced by BasepMapFile(), CabinetExtractFile(), CabinetOpen(), CON_API(), CreateFileMappingW(), CreateProcessInternalW(), CreateSection(), CSR_API(), CsrpConnectToServer(), CsrSrvCreateSharedSection(), get_binary_type(), get_manifest_in_manifest_file(), get_manifest_in_pe_file(), GRAPHICS_BUFFER_Initialize(), GuiConsoleShowConsoleProperties(), InitFunctionPtrs(), IntGetCodePageEntry(), LdrpCheckForLoadedDll(), LdrpCreateDllSection(), LdrVerifyImageMatchesChecksum(), MapFile(), SdbpOpenMemMappedFile(), SetupCopyFile(), SmpInitializeKnownDllsInternal(), START_TEST(), Test_BasedSection(), Test_EmptyFile(), Test_ImageSection(), Test_ImageSection2(), Test_PageFileSection(), Test_RawSize(), Test_SectionContents(), Test_Truncate(), and TH32CreateSnapshotSectionInitialize().
Definition at line 3516 of file section.c.
NTSTATUS NTAPI NtMapViewOfSection | ( | IN HANDLE | SectionHandle, |
IN HANDLE | ProcessHandle, | ||
IN OUT PVOID * | BaseAddress, | ||
IN ULONG_PTR | ZeroBits, | ||
IN SIZE_T | CommitSize, | ||
IN OUT PLARGE_INTEGER SectionOffset | OPTIONAL, | ||
IN OUT PSIZE_T | ViewSize, | ||
IN SECTION_INHERIT | InheritDisposition, | ||
IN ULONG | AllocationType, | ||
IN ULONG | Protect | ||
) |
Definition at line 3257 of file section.c.
Referenced by BasepLoadLibraryAsDatafile(), CabinetExtractFile(), CabinetOpen(), CON_API(), CsrSrvAttachSharedSection(), CsrSrvCreateSharedSection(), get_manifest_in_manifest_file(), get_manifest_in_pe_file(), GRAPHICS_BUFFER_Initialize(), GuiApplyUserSettings(), GuiConsoleShowConsoleProperties(), Heap32ListFirst(), Heap32ListNext(), InitFunctionPtrs(), LdrpMapDll(), LdrVerifyImageMatchesChecksum(), MapFile(), MapViewOfFileEx(), Module32FirstW(), Module32NextW(), Process32FirstW(), Process32NextW(), SdbpOpenMemMappedFile(), SetupCopyFile(), START_TEST(), Test_BasedSection(), Test_ImageSection(), Test_ImageSection2(), Test_PageFileSection(), Test_RawSize(), Test_SectionContents(), Test_Truncate(), TestPhysicalMemorySection(), TH32CreateSnapshotSectionInitialize(), Thread32First(), and Thread32Next().
NTSTATUS NTAPI NtOpenSection | ( | OUT PHANDLE | SectionHandle, |
IN ACCESS_MASK | DesiredAccess, | ||
IN POBJECT_ATTRIBUTES | ObjectAttributes | ||
) |
Definition at line 3204 of file section.c.
Referenced by IntGetCodePageEntry(), LdrpCheckForKnownDll(), NtOpenObject(), and OpenFileMappingW().
Definition at line 3483 of file section.c.
Referenced by BasepSxsCloseHandles(), CabinetExtractFile(), CloseCabinet(), CON_API(), CsrSrvCreateSharedSection(), FreeLibrary(), FreeLibraryAndExitThread(), get_manifest_in_manifest_file(), get_manifest_in_pe_file(), GRAPHICS_BUFFER_Destroy(), GRAPHICS_BUFFER_Initialize(), GuiApplyUserSettings(), GuiConsoleShowConsoleProperties(), Heap32ListFirst(), Heap32ListNext(), InitFunctionPtrs(), LdrpCheckForLoadedDll(), LdrpMapDll(), LdrUnloadDll(), LdrVerifyImageMatchesChecksum(), Module32FirstW(), Module32NextW(), Process32FirstW(), Process32NextW(), SdbpCloseMemMappedFile(), SetupCopyFile(), START_TEST(), Test_ImageSection(), Test_PageFileSection(), Test_RawSize(), Test_SectionContents(), Test_Truncate(), TH32CreateSnapshotSectionInitialize(), Thread32First(), Thread32Next(), UnMapFile(), and UnmapViewOfFile().
ULONG MmCompatibleProtectionMask[8] |
Definition at line 84 of file section.c.
Referenced by MiIsProtectionCompatible().
PVOID MmHighSectionBase |
Definition at line 111 of file section.c.
Referenced by MmArmInitSystem(), and MmCreateArm3Section().
ACCESS_MASK MmMakeFileAccess[8] |
Definition at line 32 of file section.c.
Referenced by MmCreateArm3Section(), and MmCreateSection().
ACCESS_MASK MmMakeSectionAccess[8] |
KGUARDED_MUTEX MmSectionBasedMutex |
Definition at line 110 of file section.c.
Referenced by MiDeleteARM3Section(), MmArmInitSystem(), and MmCreateArm3Section().
MM_AVL_TABLE MmSectionBasedRoot |
Definition at line 109 of file section.c.
Referenced by MiDeleteARM3Section(), MiFindEmptyAddressRangeDownBasedTree(), MiInsertBasedSection(), MmCreateArm3Section(), and MmInitSectionImplementation().
KGUARDED_MUTEX MmSectionCommitMutex |
Definition at line 108 of file section.c.
Referenced by MiMapViewOfDataSection(), MmArmInitSystem(), MmCommitSessionMappedView(), and NtAllocateVirtualMemory().
MMSESSION MmSession |
Definition at line 107 of file section.c.
Referenced by MiInitializeSystemSpaceMap(), MiInsertInSystemSpace(), MiMapViewInSystemSpace(), MmMapViewInSystemSpaceEx(), and MmUnmapViewInSystemSpace().
CHAR MmUserProtectionToMask1[16] |
Definition at line 44 of file section.c.
Referenced by MiMakeProtectionMask().
CHAR MmUserProtectionToMask2[16] |
Definition at line 64 of file section.c.
Referenced by MiMakeProtectionMask().