|
ReactOS 0.4.17-dev-1190-g4c812f4
|

Go to the source code of this file.
Macros | |
| #define | NDEBUG |
| #define | MODULE_INVOLVED_IN_ARM3 |
|
static |
Definition at line 408 of file section.c.
Referenced by MiMapViewInSystemSpace().
|
static |
Definition at line 723 of file section.c.
Referenced by MiDeleteARM3Section(), MiDereferenceControlArea(), MiRemoveMappedPtes(), MiRemoveMappedView(), and MmCreateArm3Section().
|
static |
Definition at line 539 of file section.c.
Referenced by MiMapViewInSystemSpace(), and MiMapViewOfDataSection().
|
static |
Definition at line 1419 of file section.c.
Referenced by MmCreateArm3Section().
|
static |
Definition at line 1434 of file section.c.
Referenced by MmCreateArm3Section().
Definition at line 2972 of file section.c.
Referenced by MmpDeleteSection().
|
static |
Definition at line 758 of file section.c.
Referenced by MiMapViewInSystemSpace(), and MiMapViewOfDataSection().
Definition at line 471 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 1834 of file section.c.
Referenced by MiProtectVirtualMemory().
|
static |
Definition at line 1572 of file section.c.
Referenced by MmGetFileNameForAddress(), and NtAreMappedFilesTheSame().
| BOOLEAN NTAPI MiInitializeSystemSpaceMap | ( | IN PMMSESSION InputSession | OPTIONAL | ) |
Definition at line 229 of file section.c.
Referenced by MiBuildPagedPool(), and MiSessionCreateInternal().
|
static |
Definition at line 295 of file section.c.
Referenced by MiMapViewInSystemSpace().
|
static |
Definition at line 117 of file section.c.
Referenced by MmMapViewOfArm3Section().
Definition at line 565 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 1048 of file section.c.
Referenced by MmMapViewInSessionSpace(), and MmMapViewInSystemSpaceEx().
|
static |
Definition at line 1160 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 1767 of file section.c.
Referenced by NtQueryVirtualMemory().
|
static |
Definition at line 2037 of file section.c.
Referenced by MiUnmapViewInSystemSpace().
|
static |
Definition at line 1935 of file section.c.
Referenced by MiUnmapViewInSystemSpace().
Definition at line 775 of file section.c.
Referenced by MiUnmapViewOfSection(), and MmCleanProcessAddressSpace().
Definition at line 600 of file section.c.
Referenced by MiCheckControlArea().
Definition at line 932 of file section.c.
Referenced by MiMapViewInSystemSpace().
|
static |
Definition at line 2081 of file section.c.
Referenced by MmUnmapViewInSessionSpace(), and MmUnmapViewInSystemSpace().
|
static |
Definition at line 813 of file section.c.
Referenced by MmUnmapViewOfSection(), and NtUnmapViewOfSection().
Definition at line 2809 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 2115 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 3008 of file section.c.
Referenced by FatCheckShareAccess().
| BOOLEAN NTAPI MmForceSectionClosed | ( | IN PSECTION_OBJECT_POINTERS | SectionObjectPointer, |
| IN BOOLEAN | DelayClose | ||
| ) |
Definition at line 2698 of file section.c.
Referenced by RxPurgeFcbInSystemCache(), and RxPurgeNetFcb().
Definition at line 1704 of file section.c.
Referenced by DbgkpPostFakeModuleMessages(), and MiQueryMemorySectionName().
|
static |
Definition at line 1651 of file section.c.
Referenced by MmGetFileNameForAddress(), and MmGetFileNameForSection().
| NTSTATUS NTAPI MmGetFileNameForSection | ( | IN PVOID | Section, |
| OUT POBJECT_NAME_INFORMATION * | ModuleName | ||
| ) |
Definition at line 1683 of file section.c.
Referenced by DbgkCreateThread(), and DbgkpSectionToFileHandle().
| PFILE_OBJECT NTAPI MmGetFileObjectForSection | ( | IN PVOID | SectionObject | ) |
Definition at line 1553 of file section.c.
Referenced by CcGetFileObjectFromBcb(), CcGetFileObjectFromSectionPtrs(), CcShutdownSystem(), MmGetFileNameForSection(), MmInitializeProcessAddressSpace(), and PsReferenceProcessFilePointer().
| VOID NTAPI MmGetImageInformation | ( | OUT PSECTION_IMAGE_INFORMATION | ImageInformation | ) |
Definition at line 1630 of file section.c.
Referenced by NtQueryInformationProcess().
| NTSTATUS NTAPI MmMapViewInSessionSpace | ( | IN PVOID | Section, |
| OUT PVOID * | MappedBase, | ||
| IN OUT PSIZE_T | ViewSize | ||
| ) |
Definition at line 2710 of file section.c.
Referenced by _Success_(), InitGdiHandleTable(), and UserCreateHeap().
| NTSTATUS NTAPI MmMapViewOfArm3Section | ( | _In_ PVOID | SectionObject, |
| _In_ PEPROCESS | Process, | ||
| _Outptr_result_bytebuffer_ *ViewSize _When_ *!=0, _Pre_opt_valid_ _When_ *==0, _Pre_valid_ PVOID * | BaseAddress, | ||
| _In_ ULONG_PTR | ZeroBits, | ||
| _In_ SIZE_T | CommitSize, | ||
| _Inout_ PLARGE_INTEGER | SectionOffset, | ||
| _Inout_ PSIZE_T | ViewSize, | ||
| _In_range_(ViewShare, ViewUnmap) SECTION_INHERIT | InheritDisposition, | ||
| _In_ ULONG | AllocationType, | ||
| _In_ ULONG | Protect | ||
| ) |
Definition at line 2544 of file section.c.
Referenced by MmMapViewOfSection().
Definition at line 2745 of file section.c.
Referenced by EngFreeSectionMem(), and IntFreeDesktopHeap().
Definition at line 2784 of file section.c.
Referenced by CcRosInternalFreeVacb(), EngFreeModule(), MmUnmapViewInSessionSpace(), and SharedMem_Release().
Definition at line 2773 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 3018 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 3097 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 3538 of file section.c.
| NTSTATUS NTAPI NtMapViewOfSection | ( | _In_ HANDLE | SectionHandle, |
| _In_ HANDLE | ProcessHandle, | ||
| _Outptr_result_bytebuffer_ *ViewSize _Pre_valid_ PVOID * | BaseAddress, | ||
| _In_ ULONG_PTR | ZeroBits, | ||
| _In_ SIZE_T | CommitSize, | ||
| _Inout_opt_ PLARGE_INTEGER | SectionOffset, | ||
| _Inout_ PSIZE_T | ViewSize, | ||
| _In_range_(ViewShare, ViewUnmap) SECTION_INHERIT | InheritDisposition, | ||
| _In_ ULONG | AllocationType, | ||
| _In_ ULONG | Win32Protect | ||
| ) |
Definition at line 3278 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_cross_process_notifications(), Test_ImageSection(), Test_ImageSection2(), test_notifications(), test_NtMapViewOfSection(), Test_PageFileSection(), test_query_image_information(), test_query_region_information(), 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 3225 of file section.c.
Referenced by IntGetCodePageEntry(), LdrpCheckForKnownDll(), NtOpenObject(), OpenFileMappingFromApp(), and OpenFileMappingW().
Definition at line 3505 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_cross_process_notifications(), test_image_mappings(), Test_ImageSection(), test_locale_nls(), test_notifications(), test_NtMapViewOfSection(), test_NtMapViewOfSectionEx(), Test_PageFileSection(), test_query_image_information(), test_query_region_information(), 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().