| 131 | } |
| 132 | |
| 133 | PVOID |
| 134 | Ext2GetUserBuffer (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 | |
| 151 | NTSTATUS |
| 152 | Ext2ReadWriteBlockSyncCompletionRoutine ( |
no outgoing calls
no test coverage detected