IoAllocateIrp

VOID **__fastcall IoAllocateIrp(INT64 a1, INT8 a2){
  VOID *retaddr; 

  if( !IopDispatchAllocateIrp )
    return(VOID **)IopAllocateIrpPrivate(0i64, a1, a2, retaddr);
  if( IopDispatchAllocateIrp == 2 )
    return(VOID **)IopAllocateIrpWithExtension((_DEVICE_OBJECT *)a1, a1, a2, retaddr);
  return(VOID **)IovAllocateIrp(0i64, a1, a2, retaddr);
}

Referenced by:

CcSetValidData
CmpFileFlushAndPurge
CmpGetVolumeClusterSize
IopEjectDevice
IopFilterResourceRequirementsCall
IopSynchronousCall
PnpAsynchronousCall
PopAcquireCoolingInterface
PopAllocateIrp
PopFxRegisterDeviceWorker
PpIrpAllocateDeviceUsageNotification
SmKmIsVolumeIoPossible
SmKmIssueVolumeIo
WmipGetFilePDO
WmipSendWmiIrp
WmipSendWmiIrpToTraceDeviceList
WmipSetTraceNotify