ReactOS 0.4.16-dev-91-g764881a
|
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 1407 of file section.c.
Referenced by MmCreateArm3Section().
|
static |
Definition at line 1422 of file section.c.
Referenced by MmCreateArm3Section().
Definition at line 2949 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 1819 of file section.c.
Referenced by MiProtectVirtualMemory().
|
static |
Definition at line 1560 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 1040 of file section.c.
Referenced by MmMapViewInSessionSpace(), and MmMapViewInSystemSpaceEx().
|
static |
Definition at line 1152 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 1752 of file section.c.
Referenced by NtQueryVirtualMemory().
|
static |
Definition at line 2022 of file section.c.
Referenced by MiUnmapViewInSystemSpace().
|
static |
Definition at line 1920 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 924 of file section.c.
Referenced by MiMapViewInSystemSpace().
|
static |
Definition at line 2066 of file section.c.
Referenced by MmUnmapViewInSessionSpace(), and MmUnmapViewInSystemSpace().
|
static |
Definition at line 803 of file section.c.
Referenced by MmUnmapViewOfSection(), and NtUnmapViewOfSection().
Definition at line 2786 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 2100 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 2985 of file section.c.
Referenced by FatCheckShareAccess().
BOOLEAN NTAPI MmForceSectionClosed | ( | IN PSECTION_OBJECT_POINTERS | SectionObjectPointer, |
IN BOOLEAN | DelayClose | ||
) |
Definition at line 2675 of file section.c.
Referenced by RxPurgeFcbInSystemCache(), and RxPurgeNetFcb().
Definition at line 1689 of file section.c.
Referenced by DbgkpPostFakeModuleMessages(), and MiQueryMemorySectionName().
|
static |
Definition at line 1636 of file section.c.
Referenced by MmGetFileNameForAddress(), and MmGetFileNameForSection().
NTSTATUS NTAPI MmGetFileNameForSection | ( | IN PVOID | Section, |
OUT POBJECT_NAME_INFORMATION * | ModuleName | ||
) |
Definition at line 1668 of file section.c.
Referenced by DbgkCreateThread(), and DbgkpSectionToFileHandle().
PFILE_OBJECT NTAPI MmGetFileObjectForSection | ( | IN PVOID | SectionObject | ) |
Definition at line 1541 of file section.c.
Referenced by CcGetFileObjectFromBcb(), CcGetFileObjectFromSectionPtrs(), CcShutdownSystem(), MmGetFileNameForSection(), MmInitializeProcessAddressSpace(), and PsReferenceProcessFilePointer().
VOID NTAPI MmGetImageInformation | ( | OUT PSECTION_IMAGE_INFORMATION | ImageInformation | ) |
Definition at line 1615 of file section.c.
Referenced by NtQueryInformationProcess().
NTSTATUS NTAPI MmMapViewInSessionSpace | ( | IN PVOID | Section, |
OUT PVOID * | MappedBase, | ||
IN OUT PSIZE_T | ViewSize | ||
) |
Definition at line 2687 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 2529 of file section.c.
Referenced by MmMapViewOfSection().
Definition at line 2722 of file section.c.
Referenced by EngFreeSectionMem(), and IntFreeDesktopHeap().
Definition at line 2761 of file section.c.
Referenced by CcRosInternalFreeVacb(), EngFreeModule(), MmUnmapViewInSessionSpace(), and SharedMem_Release().
Definition at line 2750 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 2995 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 3074 of file section.c.
Referenced by BasepMapFile(), CabinetExtractFile(), CabinetOpen(), CON_API(), CreateFileMappingW(), CreateProcessInternalW(), 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 3514 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 3255 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 3202 of file section.c.
Referenced by IntGetCodePageEntry(), LdrpCheckForKnownDll(), NtOpenObject(), and OpenFileMappingW().
Definition at line 3481 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(), MiRemoveNode(), 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().