IopAllocateIrpExReturn

IRP *__fastcall IopAllocateIrpExReturn(DEVICE_OBJECT *a1, INT8 a2, UINT8 a3, VOID *a4){
  if( !IopDispatchAllocateIrp )
    return IopAllocateIrpPrivate(a1, a2, a3, a4);
  if( IopDispatchAllocateIrp == 2 )
    return IopAllocateIrpWithExtension(a1, a2, a3, a4);
  return IovAllocateIrp(a1, a2, a3, a4);
}

Referenced by:

BuildQueryDirectoryIrp
IoAsynchronousPageWrite
IoPageReadEx
IoSetInformation
IoSynchronousPageWriteEx
IoVerifyVolume
IopAllocateBackpocketIrp
IopAllocateIrpMustSucceed
IopBuildAsynchronousFsdRequest
IopBuildDeviceIoControlRequest
IopGetFileInformation
IopGetSetSecurityObject
IopParseDevice
IopQueryXxxInformation
IopSetEaOrQuotaInformationFile
IopXxxControlFile
NtFlushBuffersFileEx
NtLockFile
NtNotifyChangeDirectoryFileEx
NtQueryEaFile
NtQueryInformationFile
NtQueryQuotaInformationFile
NtQueryVolumeInformationFile
NtReadFile
NtReadFileScatter
NtSetEaFile
NtSetInformationFile
NtSetVolumeInformationFile
NtUnlockFile
NtWriteFile
NtWriteFileGather