MCPcopy Create free account
hub / github.com/bobranten/Ext4Fsd / Ext2GetUserBuffer

Function Ext2GetUserBuffer

Ext4Fsd/block.c:133–149  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

131}
132
133PVOID
134Ext2GetUserBuffer (IN PIRP Irp )
135{
136 ASSERT(Irp != NULL);
137
138 if (Irp->MdlAddress) {
139
140#if (_WIN32_WINNT >= 0x0500)
141 return MmGetSystemAddressForMdlSafe(Irp->MdlAddress, NormalPagePriority);
142#else
143 return MmGetSystemAddressForMdl(Irp->MdlAddress);
144#endif
145 } else {
146
147 return Irp->UserBuffer;
148 }
149}
150
151NTSTATUS
152Ext2ReadWriteBlockSyncCompletionRoutine (

Callers 9

Ext2QueryDirectoryFunction · 0.85
Ext2GetRetrievalPointersFunction · 0.85
Ext2QueryEaFunction · 0.85
Ext2WriteVolumeFunction · 0.85
Ext2WriteFileFunction · 0.85
Ext2ReadVolumeFunction · 0.85
Ext2ReadInodeFunction · 0.85
Ext2ReadFileFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected