ReactOS 0.4.15-dev-6703-g6528ab8
|
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().
Definition at line 714 of file section.c.
Referenced by MiDeleteARM3Section(), MiDereferenceControlArea(), MiRemoveMappedPtes(), MiRemoveMappedView(), and MmCreateArm3Section().
NTSTATUS NTAPI MiCheckPurgeAndUpMapCount | ( | IN PCONTROL_AREA | ControlArea, |
IN BOOLEAN | FailIfSystemViews | ||
) |
Definition at line 530 of file section.c.
Referenced by MiMapViewInSystemSpace(), and MiMapViewOfDataSection().
NTSTATUS NTAPI MiCreateDataFileMap | ( | IN PFILE_OBJECT | File, |
OUT PSEGMENT * | Segment, | ||
IN PSIZE_T | MaximumSize, | ||
IN ULONG | SectionPageProtection, | ||
IN ULONG | AllocationAttributes, | ||
IN ULONG | IgnoreFileSizing | ||
) |
Definition at line 1536 of file section.c.
Referenced by MmCreateArm3Section().
|
static |
Definition at line 1552 of file section.c.
Referenced by MmCreateArm3Section().
Definition at line 3316 of file section.c.
Referenced by MmpDeleteSection().
VOID NTAPI MiDereferenceControlArea | ( | IN PCONTROL_AREA | ControlArea | ) |
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 2015 of file section.c.
Referenced by MiProtectVirtualMemory(), and MiSetProtectionOnSection().
Definition at line 1671 of file section.c.
|
static |
Definition at line 1756 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().
PVOID NTAPI MiInsertInSystemSpace | ( | IN PMMSESSION | Session, |
IN ULONG | Buckets, | ||
IN PCONTROL_AREA | ControlArea | ||
) |
Definition at line 288 of file section.c.
Referenced by MiMapViewInSystemSpace().
BOOLEAN NTAPI MiIsProtectionCompatible | ( | IN ULONG | SectionPageProtection, |
IN ULONG | NewSectionPageProtection | ||
) |
Definition at line 117 of file section.c.
Referenced by MmMapViewOfArm3Section().
VOID NTAPI MiLoadUserSymbols | ( | IN PCONTROL_AREA | ControlArea, |
IN PVOID | BaseAddress, | ||
IN PEPROCESS | Process | ||
) |
Definition at line 1168 of file section.c.
Definition at line 556 of file section.c.
Referenced by MiDeleteVirtualAddresses().
Definition at line 140 of file section.c.
Referenced by MiIsProtectionCompatible(), MiProtectVirtualMemory(), MiSetProtectionOnSection(), 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().
NTSTATUS NTAPI MiMapViewOfDataSection | ( | IN PCONTROL_AREA | ControlArea, |
IN PEPROCESS | Process, | ||
IN PVOID * | BaseAddress, | ||
IN PLARGE_INTEGER | SectionOffset, | ||
IN PSIZE_T | ViewSize, | ||
IN PSECTION | Section, | ||
IN SECTION_INHERIT | InheritDisposition, | ||
IN ULONG | ProtectionMask, | ||
IN SIZE_T | CommitSize, | ||
IN ULONG_PTR | ZeroBits, | ||
IN ULONG | AllocationType | ||
) |
Definition at line 1264 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 1948 of file section.c.
Referenced by NtQueryVirtualMemory().
ULONG NTAPI MiRemoveFromSystemSpace | ( | IN PMMSESSION | Session, |
IN PVOID | Base, | ||
OUT PCONTROL_AREA * | ControlArea | ||
) |
Definition at line 2390 of file section.c.
Referenced by MiUnmapViewInSystemSpace().
VOID NTAPI MiRemoveMappedPtes | ( | IN PVOID | BaseAddress, |
IN ULONG | NumberOfPtes, | ||
IN PCONTROL_AREA | ControlArea, | ||
IN PMMSUPPORT | Ws | ||
) |
Definition at line 2288 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().
VOID NTAPI MiSetControlAreaSymbolsLoaded | ( | IN PCONTROL_AREA | ControlArea | ) |
NTSTATUS NTAPI MiSetProtectionOnSection | ( | IN PEPROCESS | Process, |
IN PMMVAD | FoundVad, | ||
IN PVOID | StartingAddress, | ||
IN PVOID | EndingAddress, | ||
IN ULONG | NewProtect, | ||
OUT PULONG | CapturedOldProtect, | ||
IN ULONG | DontCharge, | ||
OUT PULONG | Locked | ||
) |
Definition at line 2119 of file section.c.
VOID NTAPI MiSubsectionConsistent | ( | IN PSUBSECTION | Subsection | ) |
Definition at line 1519 of file section.c.
Definition at line 2434 of file section.c.
Referenced by MmUnmapViewInSessionSpace(), and MmUnmapViewInSystemSpace().
Definition at line 803 of file section.c.
Referenced by MmUnmapViewOfSection(), and NtUnmapViewOfSection().
Definition at line 3153 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 2468 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 3352 of file section.c.
Referenced by FatCheckShareAccess().
BOOLEAN NTAPI MmForceSectionClosed | ( | IN PSECTION_OBJECT_POINTERS | SectionObjectPointer, |
IN BOOLEAN | DelayClose | ||
) |
Definition at line 3042 of file section.c.
Referenced by RxPurgeFcbInSystemCache(), and RxPurgeNetFcb().
Definition at line 1885 of file section.c.
Referenced by DbgkpPostFakeModuleMessages(), and MiQueryMemorySectionName().
NTSTATUS NTAPI MmGetFileNameForFileObject | ( | IN PFILE_OBJECT | FileObject, |
OUT POBJECT_NAME_INFORMATION * | ModuleName | ||
) |
Definition at line 1832 of file section.c.
Referenced by MmGetFileNameForAddress(), and MmGetFileNameForSection().
NTSTATUS NTAPI MmGetFileNameForSection | ( | IN PVOID | Section, |
OUT POBJECT_NAME_INFORMATION * | ModuleName | ||
) |
Definition at line 1864 of file section.c.
Referenced by DbgkCreateThread(), and DbgkpSectionToFileHandle().
PFILE_OBJECT NTAPI MmGetFileObjectForSection | ( | IN PVOID | SectionObject | ) |
Definition at line 1737 of file section.c.
Referenced by CcGetFileObjectFromBcb(), CcGetFileObjectFromSectionPtrs(), CcShutdownSystem(), MmGetFileNameForSection(), MmInitializeProcessAddressSpace(), and PsReferenceProcessFilePointer().
VOID NTAPI MmGetImageInformation | ( | OUT PSECTION_IMAGE_INFORMATION | ImageInformation | ) |
Definition at line 1811 of file section.c.
Referenced by NtQueryInformationProcess().
NTSTATUS NTAPI MmMapViewInSessionSpace | ( | IN PVOID | Section, |
OUT PVOID * | MappedBase, | ||
IN OUT PSIZE_T | ViewSize | ||
) |
Definition at line 3054 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 2896 of file section.c.
Referenced by MmMapViewOfSection().
Definition at line 3089 of file section.c.
Referenced by EngFreeSectionMem(), and IntFreeDesktopHeap().
Definition at line 3128 of file section.c.
Referenced by CcRosInternalFreeVacb(), EngFreeModule(), MmUnmapViewInSessionSpace(), and SharedMem_Release().
Definition at line 3117 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 3362 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 3441 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(), OpenAndMapFile(), 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 3881 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 3622 of file section.c.