ReactOS
0.4.15-dev-1632-g4e289ce
|
Go to the source code of this file.
Macros | |
#define | NDEBUG |
#define | MODULE_INVOLVED_IN_ARM3 |
Variables | |
BOOLEAN | MmTrackPtes |
BOOLEAN | MmTrackLockedPages |
SIZE_T | MmSystemLockPagesCount |
ULONG | MiCacheOverride [MiNotMapped+1] |
|
static |
Definition at line 30 of file mdlsup.c.
Referenced by MmMapLockedPagesSpecifyCache().
Definition at line 284 of file mdlsup.c.
Referenced by MmUnmapLockedPages().
PMDL NTAPI MmAllocatePagesForMdl | ( | IN PHYSICAL_ADDRESS | LowAddress, |
IN PHYSICAL_ADDRESS | HighAddress, | ||
IN PHYSICAL_ADDRESS | SkipBytes, | ||
IN SIZE_T | TotalBytes | ||
) |
Definition at line 493 of file mdlsup.c.
Referenced by TestMmAllocatePagesForMdl().
PMDL NTAPI MmAllocatePagesForMdlEx | ( | IN PHYSICAL_ADDRESS | LowAddress, |
IN PHYSICAL_ADDRESS | HighAddress, | ||
IN PHYSICAL_ADDRESS | SkipBytes, | ||
IN SIZE_T | TotalBytes, | ||
IN MEMORY_CACHING_TYPE | CacheType, | ||
IN ULONG | Flags | ||
) |
Definition at line 514 of file mdlsup.c.
Definition at line 428 of file mdlsup.c.
Referenced by _Success_(), CdRomSetVolumeIntermediateCompletion(), CdRomUpdateCapacity(), ClasspInitializeGesn(), CreateDMA(), DiskInfoExceptionCheck(), Ext2CreateMdl(), FatBuildZeroMdl(), KbdHid_StartDevice(), MouHid_StartDevice(), Mx::MxBuildMdlForNonPagedPool(), NdisAllocateBuffer(), prepare_raid0_write(), prepare_raid10_write(), prepare_raid5_write(), prepare_raid6_write(), read_data(), ScsiCdRomStartIo(), ScsiClassSendSrbAsynchronous(), TestMmBuildMdlForNonPagedPool(), TestProviderInfo(), ToshibaProcessError(), USBPORT_SendSetupPacket(), USBPORT_ValidateTransferParametersURB(), USBSTOR_AllocateIrp(), USBSTOR_SendInternalCdb(), USBSTOR_SendRequest(), and write_superblock().
Definition at line 382 of file mdlsup.c.
Referenced by MiAllocatePagesForMdl().
Definition at line 568 of file mdlsup.c.
Referenced by MmAllocateNonCachedMemory(), MmFreeNonCachedMemory(), TestMap(), and TestMmAllocatePagesForMdl().
Definition at line 822 of file mdlsup.c.
Referenced by KsProbeStreamIrp(), MmGetSystemAddressForMdlSafer(), NtStartProfile(), SatisfyPacketRecvRequest(), SendComplete(), and TryToSatisfyRecvRequestFromBuffer().
PVOID NTAPI MmMapLockedPagesSpecifyCache | ( | IN PMDL | Mdl, |
IN KPROCESSOR_MODE | AccessMode, | ||
IN MEMORY_CACHING_TYPE | CacheType, | ||
IN PVOID | BaseAddress, | ||
IN ULONG | BugCheckOnFailure, | ||
IN ULONG | Priority | ||
) |
Definition at line 664 of file mdlsup.c.
Referenced by get_block_bh_mdl(), marshal_nfs41_dirquery(), marshal_nfs41_open(), marshal_nfs41_rw(), MiDoMappedCopy(), MmMapLockedPages(), RamdiskReadWriteReal(), TestMessageHandler(), and TestMmAllocatePagesForMdl().
PVOID NTAPI MmMapLockedPagesWithReservedMapping | ( | IN PVOID | MappingAddress, |
IN ULONG | PoolTag, | ||
IN PMDL | MemoryDescriptorList, | ||
IN MEMORY_CACHING_TYPE | CacheType | ||
) |
VOID NTAPI MmProbeAndLockPages | ( | IN PMDL | Mdl, |
IN KPROCESSOR_MODE | AccessMode, | ||
IN LOCK_OPERATION | Operation | ||
) |
Definition at line 935 of file mdlsup.c.
Referenced by add_thread_job(), AfdGetSockName(), BuildAndSubmitIrp(), CcReadVirtualAddress(), CcWriteVirtualAddress(), CdCreateUserMdl(), ClasspBuildDeviceMdl(), ClassSendDeviceIoControlSynchronous(), ClassSendSrbSynchronous(), DispTdiQueryInformationEx(), DriverIoControl(), ExLockUserBuffer(), Ext2CreateMdl(), Ext2LockUserBuffer(), FatLockUserBuffer(), FatSingleNonAlignedSync(), FFSLockUserBuffer(), FxProbeAndLockForRead(), FxProbeAndLockForWrite(), FxProbeAndLockWithAccess(), HackSecureVirtualMemory(), IoBuildAsynchronousFsdRequest(), IoBuildDeviceIoControlRequest(), IopDeviceFsIoControl(), KsProbeStreamIrp(), LockBuffers(), LockRequest(), MapAndLockUserBuffer(), MiDoMappedCopy(), MupBuildIoControlRequest(), nfs41_QueryDirectory(), NtfsLockUserBuffer(), NtQueryDirectoryFile(), NtReadFile(), NtStartProfile(), NtWriteFile(), prepare_raid0_write(), prepare_raid10_write(), prepare_raid5_write(), prepare_raid6_write(), read_data(), RfsdLockUserBuffer(), RxLockUserBuffer(), scrub_chunk_raid56_stripe_run(), scrub_extent(), sync_read_phys(), TdiQueryMaxDatagramLength(), TdiReceive(), TdiReceiveDatagram(), TdiSend(), TdiSendDatagram(), TestMessageHandler(), UDFGetCallersBuffer(), UDFLockCallersBuffer(), VfatLockUserBuffer(), VideoPortLockBuffer(), write_data(), write_data_phys(), and write_file2().
VOID NTAPI MmProbeAndLockProcessPages | ( | IN OUT PMDL | MemoryDescriptorList, |
IN PEPROCESS | Process, | ||
IN KPROCESSOR_MODE | AccessMode, | ||
IN LOCK_OPERATION | Operation | ||
) |
VOID NTAPI MmProbeAndLockSelectedPages | ( | IN OUT PMDL | MemoryDescriptorList, |
IN LARGE_INTEGER | PageList[], | ||
IN KPROCESSOR_MODE | AccessMode, | ||
IN LOCK_OPERATION | Operation | ||
) |
Definition at line 413 of file mdlsup.c.
Referenced by CcZeroData(), FxRequestBuffer::GetOrAllocateMdlWorker(), and MmCreateMdl().
Definition at line 1439 of file mdlsup.c.
Referenced by _Function_class_(), CcMdlReadComplete2(), CcReadVirtualAddress(), CcWriteVirtualAddress(), ClassAsynchronousCompletion(), ClassCompletionRoutine(), ClasspFreeDeviceMdl(), ClasspSendSynchronousCompletion(), ClassSendDeviceIoControlSynchronous(), CommonForwardedIoCompletionRoutine(), DispTdiQueryInformationEx(), DispTdiQueryInformationExComplete(), DriverCleanup(), DriverIoControl(), ExpDeleteProfile(), Ext2DestroyMdl(), ExUnlockUserBuffer(), FatSingleNonAlignedSync(), free_write_data_stripes(), FxRequestBase::FreeMdls(), HackSecureVirtualMemory(), HackUnsecureVirtualMemory(), IoCompletion(), IofCompleteRequest(), LockRequest(), MiDoMappedCopy(), MmProbeAndLockPages(), Mx::MxUnlockPages(), nfs41_QueryDirectory(), NtStopProfile(), read_data(), FxIoContext::ReleaseAndRestore(), FxUsbPipeTransferContext::ReleaseAndRestore(), scrub_chunk_raid56_stripe_run(), scrub_extent(), ScsiClassAsynchronousCompletion(), SpiSenseCompletionRoutine(), sync_read_phys(), TestCleanEverything(), UDFAsyncCompletionRoutine(), UnlockBuffers(), UnlockRequest(), VideoPortUnlockBuffer(), write_data(), write_data_phys(), write_file2(), write_superblocks(), and FxIoContext::~FxIoContext().
Definition at line 841 of file mdlsup.c.
Referenced by CcZeroData(), ExpDeleteProfile(), free_buffer_head(), MiDoMappedCopy(), MiReadFilePage(), MiReadPageFile(), MmUnlockPages(), MmWriteToSwapPage(), nfs41_downcall(), NtStopProfile(), SatisfyPacketRecvRequest(), SendComplete(), TestCleanEverything(), TestMmAllocatePagesForMdl(), TryToSatisfyRecvRequestFromBuffer(), unmarshal_nfs41_dirquery(), unmarshal_nfs41_open(), and unmarshal_nfs41_rw().
VOID NTAPI MmUnmapReservedMapping | ( | IN PVOID | BaseAddress, |
IN ULONG | PoolTag, | ||
IN PMDL | MemoryDescriptorList | ||
) |
ULONG MiCacheOverride[MiNotMapped+1] |
Definition at line 24 of file mdlsup.c.
Referenced by MiMapLockedPagesInUserSpace().
SIZE_T MmSystemLockPagesCount |
Definition at line 22 of file mdlsup.c.
Referenced by MiDereferencePfnAndDropLockCount(), MiDropLockCount(), MiReferenceProbedPageAndBumpLockCount(), MiReferenceUnusedPageAndBumpLockCount(), MiReferenceUsedPageAndBumpLockCount(), and MmAdjustWorkingSetSize().