|
ReactOS 0.4.16-dev-2293-g4d8327b
|

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] |
| _IRQL_requires_max_ | ( | APC_LEVEL | ) |
Probes and locks virtual pages in memory for the specified process.
| [in,out] | MemoryDescriptorList | Memory Descriptor List (MDL) containing the buffer to be probed and locked. |
| [in] | Process | The process for which the buffer should be probed and locked. |
| [in] | AccessMode | Access mode for probing the pages. Can be KernelMode or UserMode. |
| [in] | LockOperation | The type of the probing and locking operation. Can be IoReadAccess, IoWriteAccess or IoModifyAccess. |
Definition at line 1892 of file mdlsup.c.
|
static |
Definition at line 30 of file mdlsup.c.
Referenced by MmMapLockedPagesSpecifyCache().
Definition at line 293 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 489 of file mdlsup.c.
Referenced by HDA_AllocateDmaBufferWithNotification(), and 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 510 of file mdlsup.c.
Definition at line 424 of file mdlsup.c.
Referenced by __attribute__(), _Success_(), ClasspInitializeGesn(), CreateDMA(), DiskInfoExceptionCheck(), Ext2CreateMdl(), FatBuildZeroMdl(), KbdHid_StartDevice(), MouHid_StartDevice(), Mx::MxBuildMdlForNonPagedPool(), NdisAllocateBuffer(), read_data(), TestMmBuildMdlForNonPagedPool(), TestProviderInfo(), USBPORT_SendSetupPacket(), USBPORT_ValidateTransferParametersURB(), USBSTOR_AllocateIrp(), USBSTOR_SendInternalCdb(), USBSTOR_SendRequest(), and write_superblock().
Definition at line 378 of file mdlsup.c.
Referenced by MiAllocatePagesForMdl().
Definition at line 564 of file mdlsup.c.
Referenced by HDA_FreeDmaBufferWithNotification(), MmAllocateNonCachedMemory(), MmFreeNonCachedMemory(), TestMap(), and TestMmAllocatePagesForMdl().
Definition at line 818 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 660 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 | Mdl, | ||
| _In_ MEMORY_CACHING_TYPE | CacheType | ||
| ) |
Definition at line 1629 of file mdlsup.c.
Referenced by TestMap().
Definition at line 1850 of file mdlsup.c.
Referenced by FatPrefetchPages().
| VOID NTAPI MmProbeAndLockPages | ( | IN PMDL | Mdl, |
| IN KPROCESSOR_MODE | AccessMode, | ||
| IN LOCK_OPERATION | Operation | ||
| ) |
Definition at line 931 of file mdlsup.c.
Referenced by __attribute__(), __drv_allocatesMem(), _IRQL_requires_max_(), add_thread_job(), AfdGetSockName(), BuildAndSubmitIrp(), CdCreateUserMdl(), ClasspBuildDeviceMdl(), ClassSendDeviceIoControlSynchronous(), ClassSendSrbSynchronous(), DispTdiQueryInformationEx(), DriverIoControl(), ExLockUserBuffer(), Ext2CreateMdl(), Ext2LockUserBuffer(), FatLockUserBuffer(), FatSingleNonAlignedSync(), FxProbeAndLockForRead(), FxProbeAndLockForWrite(), FxProbeAndLockWithAccess(), HackSecureVirtualMemory(), IoBuildAsynchronousFsdRequest(), IoBuildDeviceIoControlRequest(), IopDeviceFsIoControl(), KsProbeStreamIrp(), LockBuffers(), LockRequest(), MapAndLockUserBuffer(), MiDoMappedCopy(), MupBuildIoControlRequest(), nfs41_QueryDirectory(), NtfsLockUserBuffer(), NtQueryDirectoryFile(), NtReadFile(), NtStartProfile(), NtWriteFile(), read_data(), RxLockUserBuffer(), scrub_chunk_raid56_stripe_run(), scrub_extent(), sync_read_phys(), TdiQueryMaxDatagramLength(), TdiReceive(), TdiReceiveDatagram(), TdiSend(), TdiSendDatagram(), TestMessageHandler(), UDFGetCallersBuffer(), UDFLockCallersBuffer(), VfatLockUserBuffer(), VideoPortLockBuffer(), and write_data_phys().
| VOID NTAPI MmProbeAndLockSelectedPages | ( | IN OUT PMDL | MemoryDescriptorList, |
| IN LARGE_INTEGER | PageList[], | ||
| IN KPROCESSOR_MODE | AccessMode, | ||
| IN LOCK_OPERATION | Operation | ||
| ) |
Definition at line 409 of file mdlsup.c.
Referenced by FxRequestBuffer::GetOrAllocateMdlWorker(), and MmCreateMdl().
Definition at line 1435 of file mdlsup.c.
Referenced by __attribute__(), _At_(), _Function_class_(), CcMdlReadComplete2(), ClassAsynchronousCompletion(), ClasspFreeDeviceMdl(), ClasspSendSynchronousCompletion(), ClassSendDeviceIoControlSynchronous(), CommonForwardedIoCompletionRoutine(), DispTdiQueryInformationEx(), DispTdiQueryInformationExComplete(), DriverCleanup(), DriverIoControl(), ExpDeleteProfile(), Ext2DestroyMdl(), ExUnlockUserBuffer(), FatSingleNonAlignedSync(), 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(), SpiSenseCompletionRoutine(), sync_read_phys(), TestCleanEverything(), UDFAsyncCompletionRoutine(), UnlockBuffers(), UnlockRequest(), VideoPortUnlockBuffer(), write_data_phys(), write_superblocks(), and FxIoContext::~FxIoContext().
Definition at line 837 of file mdlsup.c.
Referenced by CcZeroData(), ExpDeleteProfile(), free_buffer_head(), MiDoMappedCopy(), MiReadFilePage(), MiReadPageFile(), MiWritePage(), MmMakeSegmentResident(), MmUnlockPages(), MmWriteToSwapPage(), nfs41_downcall(), NtStopProfile(), SatisfyPacketRecvRequest(), SendComplete(), TestCleanEverything(), TestMmAllocatePagesForMdl(), TryToSatisfyRecvRequestFromBuffer(), unmarshal_nfs41_dirquery(), unmarshal_nfs41_open(), and unmarshal_nfs41_rw().
Definition at line 1749 of file mdlsup.c.
Referenced by TestMap().
| 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().