|
ReactOS 0.4.16-dev-2357-g35d0dfe
|

Go to the source code of this file.
Macros | |
| #define | NDEBUG |
| #define | MODULE_INVOLVED_IN_ARM3 |
|
static |
Definition at line 401 of file section.c.
Referenced by MiMapViewInSystemSpace().
|
static |
Definition at line 716 of file section.c.
Referenced by MiDeleteARM3Section(), MiDereferenceControlArea(), MiRemoveMappedPtes(), MiRemoveMappedView(), and MmCreateArm3Section().
|
static |
Definition at line 532 of file section.c.
Referenced by MiMapViewInSystemSpace(), and MiMapViewOfDataSection().
|
static |
Definition at line 1408 of file section.c.
Referenced by MmCreateArm3Section().
|
static |
Definition at line 1423 of file section.c.
Referenced by MmCreateArm3Section().
Definition at line 2953 of file section.c.
Referenced by MmpDeleteSection().
|
static |
Definition at line 751 of file section.c.
Referenced by MiMapViewInSystemSpace(), and MiMapViewOfDataSection().
Definition at line 464 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 1823 of file section.c.
Referenced by MiProtectVirtualMemory().
|
static |
Definition at line 1561 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 558 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 1041 of file section.c.
Referenced by MmMapViewInSessionSpace(), and MmMapViewInSystemSpaceEx().
|
static |
Definition at line 1153 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 1756 of file section.c.
Referenced by NtQueryVirtualMemory().
|
static |
Definition at line 2026 of file section.c.
Referenced by MiUnmapViewInSystemSpace().
|
static |
Definition at line 1924 of file section.c.
Referenced by MiUnmapViewInSystemSpace().
Definition at line 768 of file section.c.
Referenced by MiUnmapViewOfSection(), and MmCleanProcessAddressSpace().
Definition at line 593 of file section.c.
Referenced by MiCheckControlArea().
Definition at line 925 of file section.c.
Referenced by MiMapViewInSystemSpace().
|
static |
Definition at line 2070 of file section.c.
Referenced by MmUnmapViewInSessionSpace(), and MmUnmapViewInSystemSpace().
|
static |
Definition at line 806 of file section.c.
Referenced by MmUnmapViewOfSection(), and NtUnmapViewOfSection().
Definition at line 2790 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 2104 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 2989 of file section.c.
Referenced by FatCheckShareAccess().
| BOOLEAN NTAPI MmForceSectionClosed | ( | IN PSECTION_OBJECT_POINTERS | SectionObjectPointer, |
| IN BOOLEAN | DelayClose | ||
| ) |
Definition at line 2679 of file section.c.
Referenced by RxPurgeFcbInSystemCache(), and RxPurgeNetFcb().
Definition at line 1693 of file section.c.
Referenced by DbgkpPostFakeModuleMessages(), and MiQueryMemorySectionName().
|
static |
Definition at line 1640 of file section.c.
Referenced by MmGetFileNameForAddress(), and MmGetFileNameForSection().
| NTSTATUS NTAPI MmGetFileNameForSection | ( | IN PVOID | Section, |
| OUT POBJECT_NAME_INFORMATION * | ModuleName | ||
| ) |
Definition at line 1672 of file section.c.
Referenced by DbgkCreateThread(), and DbgkpSectionToFileHandle().
| PFILE_OBJECT NTAPI MmGetFileObjectForSection | ( | IN PVOID | SectionObject | ) |
Definition at line 1542 of file section.c.
Referenced by CcGetFileObjectFromBcb(), CcGetFileObjectFromSectionPtrs(), CcShutdownSystem(), MmGetFileNameForSection(), MmInitializeProcessAddressSpace(), and PsReferenceProcessFilePointer().
| VOID NTAPI MmGetImageInformation | ( | OUT PSECTION_IMAGE_INFORMATION | ImageInformation | ) |
Definition at line 1619 of file section.c.
Referenced by NtQueryInformationProcess().
| NTSTATUS NTAPI MmMapViewInSessionSpace | ( | IN PVOID | Section, |
| OUT PVOID * | MappedBase, | ||
| IN OUT PSIZE_T | ViewSize | ||
| ) |
Definition at line 2691 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 2533 of file section.c.
Referenced by MmMapViewOfSection().
Definition at line 2726 of file section.c.
Referenced by EngFreeSectionMem(), and IntFreeDesktopHeap().
Definition at line 2765 of file section.c.
Referenced by CcRosInternalFreeVacb(), EngFreeModule(), MmUnmapViewInSessionSpace(), and SharedMem_Release().
Definition at line 2754 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 2999 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 3078 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 3518 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 3259 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 3206 of file section.c.
Referenced by IntGetCodePageEntry(), LdrpCheckForKnownDll(), NtOpenObject(), OpenFileMappingFromApp(), and OpenFileMappingW().
Definition at line 3485 of file section.c.
Referenced by BasepSxsCloseHandles(), CabinetExtractFile(), close_cross_process_connection(), 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_locale_nls(), Test_PageFileSection(), Test_RawSize(), test_section_access(), 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().