Hi, only as a short reference. Some allocation sizes seems to be hardcoded or have "Magic constants" in them... I think worth to look at ;)
Best regards, Michael michi@michis-toshiba:~/code/reactos/reactos/ntoskrnl$ grep -r "ExAllocatePool(" ke/i386/cpu.c: NewIdt = ExAllocatePool(NonPagedPool, 2 * PAGE_SIZE); ke/i386/cpu.c: FpState = ExAllocatePool(NonPagedPool, sizeof (FNSAVE_FORMAT)); ke/i386/ldt.c: ULONG NewLdtBase = (ULONG) ExAllocatePool(NonPagedPool, ntoskrnl.spec:@ stdcall ExAllocatePool(long long) kd/kdio.c: KdpDebugBuffer = ExAllocatePool(NonPagedPool, KdpBufferSize); kd/kdio.c: KdpDmesgBuffer = ExAllocatePool(NonPagedPool, KdpDmesgBufferSize + 1); fsrtl/tunnel.c: Info = ExAllocatePool(PagedPool, Length); fsrtl/tunnel.c: NodeEntry = ExAllocatePool(NonPagedPool, Length); fsrtl/tunnel.c: LongName->Buffer = ExAllocatePool(PagedPool, CurEntry->LongName.Length); config/cmsysini.c: ServicePath = ExAllocatePool(NonPagedPool, (i + 1) * sizeof(PUNICODE_STRING)); config/cmsysini.c: ServicePath[i] = ExAllocatePool(NonPagedPool, sizeof(UNICODE_STRING)); tests/fsrtl.c: Buffer = ExAllocatePool(PagedPool,100*_1KB); ob/obname.c: Dacl = ExAllocatePool(PagedPool, AclLength); cache/pinsup.c: WorkItem = ExAllocatePool(NonPagedPool, sizeof(*WorkItem)); cache/section/io.c: PVOID PageBuffer = ExAllocatePool(NonPagedPool, PAGE_SIZE); cache/section/data.c: Pages = ExAllocatePool(NonPagedPool, cache/fssup.c: Map = ExAllocatePool(NonPagedPool, sizeof(NOCC_CACHE_MAP)); cache/fssup.c: PrivateCacheMap = ExAllocatePool(NonPagedPool, cache/fssup.c: PCHAR ZeroBuf = ExAllocatePool(PagedPool, PAGE_SIZE); cache/cachesub.c: WorkItem = ExAllocatePool(NonPagedPool, sizeof(*WorkItem)); io/iomgr/error.c: WorkerDpc = ExAllocatePool(NonPagedPool, sizeof(IOP_ERROR_LOG_WORKER_DPC)); io/iomgr/deviface.c: SubKeyName.Buffer = ExAllocatePool(PagedPool, SubKeyName.MaximumLength); io/iomgr/deviface.c: KeyName.Buffer = ExAllocatePool(PagedPool, KeyName.MaximumLength); io/iomgr/deviface.c: DPRINT("ExAllocatePool() failed\n"); io/iomgr/deviface.c: DeviceBi = ExAllocatePool(PagedPool, Size); io/iomgr/deviface.c: DPRINT("ExAllocatePool() failed\n"); io/iomgr/deviface.c: PartialInfo = ExAllocatePool(NonPagedPool, ActualLength); io/iomgr/deviface.c: ReferenceBi = ExAllocatePool(PagedPool, Size); io/iomgr/deviface.c: DPRINT("ExAllocatePool() failed\n"); io/iomgr/deviface.c: PartialInfo = ExAllocatePool(NonPagedPool, ActualLength); io/iomgr/deviface.c: bip = ExAllocatePool(PagedPool, Size); io/iomgr/deviface.c: DPRINT("ExAllocatePool() failed\n"); io/iomgr/deviface.c: NewBuffer = ExAllocatePool(PagedPool, ReturnBuffer.MaximumLength); io/iomgr/deviface.c: DPRINT("ExAllocatePool() failed\n"); io/iomgr/deviface.c: NewBuffer = ExAllocatePool(PagedPool, ReturnBuffer.MaximumLength); io/iomgr/deviface.c: DPRINT("ExAllocatePool() failed\n"); io/iomgr/deviface.c: BaseKeyName.Buffer = ExAllocatePool( io/iomgr/deviface.c: DPRINT("ExAllocatePool() failed\n"); io/iomgr/deviface.c: InterfaceKeyName.Buffer = ExAllocatePool( io/iomgr/deviface.c: DPRINT("ExAllocatePool() failed\n"); io/iomgr/deviface.c: SubKeyName.Buffer = ExAllocatePool( io/iomgr/deviface.c: DPRINT("ExAllocatePool() failed\n"); io/iomgr/deviface.c: SymbolicLinkName->Buffer = ExAllocatePool( io/iomgr/deviface.c: DPRINT("ExAllocatePool() failed\n"); io/iomgr/bootlog.c: KeyInfo = ExAllocatePool(PagedPool, io/iomgr/driver.c: ObjectName.Buffer = ExAllocatePool(PagedPool, ObjectName.MaximumLength); io/pnpmgr/pnpnotify.c: DPRINT("ExAllocatePool() failed\n"); io/pnpmgr/pnpmgr.c: OriginalIdBuffer = IdBuffer = ExAllocatePool(PagedPool, BufferLength); io/pnpmgr/pnpmgr.c: PartialInfo = ExAllocatePool(PagedPool, BufferLength); io/pnpmgr/pnpmgr.c: BasicInfo = ExAllocatePool(PagedPool, NeededLength); io/pnpmgr/pnpmgr.c: PartialInfo = ExAllocatePool(PagedPool, NeededLength); io/pnpmgr/pnpmgr.c: PartialInfo = ExAllocatePool(PagedPool, NeededLength); io/pnpmgr/pnpmgr.c: NewList = ExAllocatePool(PagedPool, NewSize); io/pnpmgr/pnpmgr.c: FullServiceName.Buffer = ExAllocatePool(PagedPool, FullServiceName.MaximumLength); io/pnpmgr/pnpmgr.c: Node->ServiceName.Buffer = ExAllocatePool(PagedPool, ServiceName1->Length); io/pnpmgr/pnpmgr.c: pDeviceInformation = ExAllocatePool(PagedPool, DeviceInfoLength); io/pnpmgr/pnpmgr.c: DPRINT("ExAllocatePool() failed\n"); io/pnpmgr/pnpmgr.c: pValueInformation = ExAllocatePool(PagedPool, ValueInfoLength); io/pnpmgr/pnpmgr.c: DPRINT("ExAllocatePool() failed\n"); io/pnpmgr/pnpmgr.c: pDeviceInformation = ExAllocatePool(PagedPool, DeviceInfoLength); io/pnpmgr/pnpmgr.c: DPRINT("ExAllocatePool() failed\n"); io/pnpmgr/pnpmgr.c: pValueInformation = ExAllocatePool(PagedPool, ValueInfoLength); io/pnpmgr/pnpmgr.c: DPRINT("ExAllocatePool() failed\n"); io/pnpmgr/pnpmgr.c: BootResources = ExAllocatePool(PagedPool, BootResourcesLength); io/pnpmgr/pnpmgr.c: DPRINT("ExAllocatePool() failed\n"); io/pnpmgr/pnpmgr.c: pDeviceInformation = ExAllocatePool(PagedPool, DeviceInfoLength); io/pnpmgr/pnpmgr.c: DPRINT("ExAllocatePool() failed\n"); io/pnpmgr/pnpmgr.c: pValueInformation = ExAllocatePool(PagedPool, ValueInfoLength); io/pnpmgr/pnpmgr.c: DPRINT("ExAllocatePool() failed\n"); io/pnpmgr/pnpmgr.c: CmResourceList = ExAllocatePool(PagedPool, BootResourcesLength + sizeof(ULONG)); io/pnpmgr/pnpmgr.c: KeyInformation = ExAllocatePool(PagedPool, Length); io/pnpmgr/pnpmgr.c: FullInformation = ExAllocatePool(NonPagedPool, Size); io/pnpmgr/pnpmgr.c: ObjectNameInfo = ExAllocatePool(PagedPool, Length); io/pnpmgr/pnpmgr.c: KeyNameBuffer = ExAllocatePool(PagedPool, KeyNameLength); io/pnpmgr/pnpmgr.c: Data = ExAllocatePool(NonPagedPool, sizeof(INVALIDATE_DEVICE_RELATION_DATA)); io/pnpmgr/plugplay.c: EventEntry = ExAllocatePool(NonPagedPool, io/pnpmgr/plugplay.c: Name.Buffer = ExAllocatePool(NonPagedPool, Name.MaximumLength); io/pnpmgr/plugplay.c: Buffer = ExAllocatePool(NonPagedPool, BufferSize); io/pnpmgr/pnpinit.c: PnpBusTypeGuidList = ExAllocatePool(PagedPool, sizeof(IO_BUS_TYPE_GUID_LIST)); io/pnpmgr/pnproot.c: FullInstancePath->Buffer = ExAllocatePool(PagedPool, FullInstancePath->MaximumLength); io/pnpmgr/pnproot.c: Relations = (PDEVICE_RELATIONS)ExAllocatePool(PagedPool, Size); io/pnpmgr/pnproot.c: Relations = (PDEVICE_RELATIONS)ExAllocatePool(PagedPool, sizeof(DEVICE_RELATIONS)); io/pnpmgr/pnproot.c: ResourceList = ExAllocatePool( io/pnpmgr/pnproot.c: ResourceList = ExAllocatePool(PagedPool, DeviceExtension->DeviceInfo->ResourceRequirementsList->ListSize); io/pnpmgr/pnpres.c: NewList = ExAllocatePool(PagedPool, PnpDetermineResourceListSize(*ResourceList)); io/pnpmgr/pnpres.c: NewList = ExAllocatePool(PagedPool, sizeof(CM_RESOURCE_LIST)); io/pnpmgr/pnpres.c: NewList = ExAllocatePool(PagedPool, PnpDetermineResourceListSize(*ResourceList) + sizeof(CM_PARTIAL_RESOURCE_DESCRIPTOR)); io/pnpmgr/pnpres.c: NameU.Buffer = ExAllocatePool(PagedPool, OldLength + TranslatedSuffix.Length); io/pnpmgr/pnpres.c: DeviceNode->ResourceListTranslated = ExAllocatePool(PagedPool, ListSize); io/pnpmgr/pnpres.c: DeviceNode->ResourceList = ExAllocatePool(PagedPool, ListSize); kdbg/kdb_cli.c: FileBuffer = ExAllocatePool(PagedPool, FileSize + 1); /* add 1 byte for terminating '\0' */ kdbg/kdb_symbols.cmake.c: PROSSYM_KM_OWN_CONTEXT Context = ExAllocatePool(NonPagedPool, sizeof(*Context)); kdbg/kdb_symbols.cmake.c: ModuleNameCopy.Buffer = ExAllocatePool(NonPagedPool, SystemRoot.MaximumLength + LdrEntry->BaseDllName.MaximumLength); mm/ARM3/expool.c:ExAllocatePool(POOL_TYPE PoolType, mm/pagefile.c: RetDescList = ExAllocatePool(NonPagedPool, Size); mm/pagefile.c: PagingFile = ExAllocatePool(NonPagedPool, sizeof(*PagingFile)); mm/pagefile.c: PagingFile->AllocMap = ExAllocatePool(NonPagedPool, mm/pagefile.c: PagingFile->RetrievalPointers = ExAllocatePool(NonPagedPool, Size); michi@michis-toshiba:~/code/reactos/reactos/drivers$ grep -r "ExAllocatePool(" filesystems/fastfat_new/create.c: AnsiFirstName.Buffer = ExAllocatePool(PagedPool, FirstName.Length); filesystems/fastfat_new/create.c: AnsiFirstName.Buffer = ExAllocatePool(PagedPool, FirstName.Length); filesystems/ext2/src/memory.c: Oem.Buffer = ExAllocatePool(PagedPool, Oem.MaximumLength); filesystems/ntfs/attrib.c: //DataBuf = ExAllocatePool(NonPagedPool,AttributeLengthAllocated(Attribute)); filesystems/udfs/fscntrl.cpp: Vcb->CDBurnerVolume.Buffer = (PWCHAR)ExAllocatePool(NonPagedPool, 256); filesystems/udfs/Include/env_spec_w32.cpp: Buffer2 = ExAllocatePool(NonPagedPool, Length+0x10000); filesystems/udfs/Include/env_spec_w32.cpp:ExAllocatePool( filesystems/udfs/Include/env_spec_w32.cpp:} // end ExAllocatePool() filesystems/udfs/Include/env_spec_w32.cpp:ExAllocatePool( filesystems/udfs/Include/env_spec_w32.cpp:} // end ExAllocatePool() filesystems/udfs/Include/env_spec_w32.h://#define ExAllocatePool(hernya,size) MyAllocatePool(size) filesystems/udfs/Include/env_spec_w32.h:#define DbgAllocatePoolWithTag(a,b,c) ExAllocatePool(a,b) filesystems/udfs/Include/env_spec_w32.h:#define ExAllocatePool(hernya,size) GlobalAlloc(GMEM_DISCARDABLE, (size)) filesystems/udfs/Include/env_spec_w32.h:#define ExAllocatePoolWithTag(MemoryType,size,tag) ExAllocatePool((MemoryType), (size)) filesystems/udfs/Include/env_spec_w32.h:PVOID ExAllocatePool(ULONG MemoryType, ULONG Size); filesystems/udfs/Include/zw_2_nt.h://#define ExAllocatePool(hernya,size) MyGlobalAlloc(size) filesystems/udfs/env_spec.cpp:/* IoBuf = ExAllocatePool(NonPagedPool, Length); network/afd/afd/connect.c: FCB->ConnectOptions = ExAllocatePool(PagedPool, ConnectOptionsSize); network/afd/afd/connect.c: FCB->ConnectOptions = ExAllocatePool(PagedPool, *ConnectOptionsSize); network/afd/afd/connect.c: FCB->ConnectData = ExAllocatePool(PagedPool, ConnectDataSize); network/afd/afd/connect.c: FCB->ConnectData = ExAllocatePool(PagedPool, *ConnectDataSize); network/afd/afd/connect.c: FCB->Recv.Window = ExAllocatePool( PagedPool, FCB->Recv.Size ); network/afd/afd/connect.c: FCB->Send.Window = ExAllocatePool( PagedPool, FCB->Send.Size ); network/afd/afd/bind.c: FCB->Recv.Window = ExAllocatePool(PagedPool, FCB->Recv.Size); network/afd/afd/select.c: Poll = ExAllocatePool( NonPagedPool, sizeof(AFD_ACTIVE_POLL) ); network/afd/afd/event.c: ReceiveBuffer = ExAllocatePool(NonPagedPool, BytesAvailable); network/afd/afd/event.c: Buffer = (PAFD_BUFFER)ExAllocatePool(NonPagedPool, sizeof(AFD_BUFFER)); network/afd/afd/event.c: ReceiveBuffer = ExAllocatePool(NonPagedPool, BytesAvailable); network/afd/afd/event.c: Buffer = (PAFD_BUFFER)ExAllocatePool(NonPagedPool, sizeof(AFD_BUFFER)); network/afd/afd/read.c: DatagramRecv = ExAllocatePool( NonPagedPool, DGSize ); network/afd/afd/lock.c: Irp->Tail.Overlay.DriverContext[0] = ExAllocatePool(NonPagedPool, MmGetMdlByteCount(Irp->MdlAddress)); network/afd/afd/lock.c: AfdInfo = ExAllocatePool(NonPagedPool, sizeof(AFD_RECV_INFO) + sizeof(AFD_WSABUF)); network/afd/afd/lock.c: PAFD_WSABUF NewBuf = ExAllocatePool( PagedPool, Size ); network/afd/afd/tdi.c: EaInfo = (PFILE_FULL_EA_INFORMATION)ExAllocatePool(NonPagedPool, EaLength); network/afd/afd/tdi.c: Buffer = ExAllocatePool(NonPagedPool, sizeof(TDI_MAX_DATAGRAM_INFO)); network/afd/afd/tdi.c: EaInfo = (PFILE_FULL_EA_INFORMATION)ExAllocatePool(NonPagedPool, EaLength); network/afd/afd/tdi.c: Entities = (TDIEntityID*)ExAllocatePool(NonPagedPool, BufferSize); network/afd/afd/tdi.c: IpAddress = (PIPADDR_ENTRY)ExAllocatePool(NonPagedPool, BufferSize); network/afd/afd/tdiconn.c: Buffer = ExAllocatePool( NonPagedPool, AddrLen ); network/afd/afd/tdiconn.c: A = ExAllocatePool( NonPagedPool, AddrLen ); network/afd/afd/tdiconn.c: A = ExAllocatePool(NonPagedPool, AddrLen); network/afd/afd/tdiconn.c: ExAllocatePool(NonPagedPool, network/afd/afd/main.c: FCB->DisconnectOptions = ExAllocatePool(PagedPool, DisconnectOptionsSize); network/afd/afd/main.c: FCB->DisconnectOptions = ExAllocatePool(PagedPool, *DisconnectOptionsSize); network/afd/afd/main.c: FCB->DisconnectData = ExAllocatePool(PagedPool, DisconnectDataSize); network/afd/afd/main.c: FCB->DisconnectData = ExAllocatePool(PagedPool, *DisconnectDataSize); network/afd/afd/main.c: FCB = ExAllocatePool(NonPagedPool, sizeof(AFD_FCB)); network/afd/afd/main.c: ExAllocatePool( NonPagedPool, FCB->TdiDeviceName.Length ); network/afd/afd/info.c: NewBuffer = ExAllocatePool(PagedPool, InfoReq->Information.Ulong); network/afd/afd/info.c: NewBuffer = ExAllocatePool(PagedPool, InfoReq->Information.Ulong); network/afd/afd/context.c: FCB->Context = ExAllocatePool( PagedPool, network/afd/afd/listen.c: Qelt = ExAllocatePool( NonPagedPool, sizeof(*Qelt) ); network/lan/include/memtrack.h:#define exAllocatePool(x,y) ExAllocatePool(x,y) network/lan/lan/lan.c: ExAllocatePool(NonPagedPool, RegistryPath->MaximumLength); network/lan/lan/lan.c: Proto = ExAllocatePool(NonPagedPool, Size); network/ndisuio/ioctl.c: PacketEntry = ExAllocatePool(PagedPool, sizeof(NDISUIO_PACKET_ENTRY)); network/ndisuio/ioctl.c: OpenEntry = ExAllocatePool(NonPagedPool, sizeof(*OpenEntry)); network/ndisuio/ioctl.c: OpenEntry = ExAllocatePool(NonPagedPool, sizeof(*OpenEntry)); network/ndisuio/protocol.c: PacketBuffer = ExAllocatePool(NonPagedPool, PacketSize + HeaderBufferSize); network/ndisuio/protocol.c: PacketEntry = ExAllocatePool(NonPagedPool, sizeof(NDISUIO_PACKET_ENTRY) + BytesTransferred + HeaderBufferSize - 1); network/ndisuio/protocol.c: AdapterContext = ExAllocatePool(NonPagedPool, sizeof(*AdapterContext)); network/ndisuio/protocol.c: AdapterContext->DeviceName.Buffer = ExAllocatePool(NonPagedPool, DeviceName->Length); network/ndisuio/readwrite.c: PacketEntry = ExAllocatePool(NonPagedPool, sizeof(NDISUIO_PACKET_ENTRY)); network/ndis/ndis/io.c: Adapter->NdisMiniportBlock.MapRegisters = ExAllocatePool(NonPagedPool, BaseMapRegistersNeeded * sizeof(MAP_REGISTER_ENTRY)); network/ndis/ndis/io.c: DmaBlock = ExAllocatePool(NonPagedPool, sizeof(NDIS_DMA_BLOCK)); network/ndis/ndis/config.c: ConfigurationContext = ExAllocatePool(NonPagedPool, sizeof(MINIPORT_CONFIGURATION_CONTEXT)); network/ndis/ndis/config.c: KeyNameU.Buffer = ExAllocatePool(PagedPool, KeyNameU.MaximumLength); network/ndis/ndis/config.c: ConfigurationContext = ExAllocatePool(NonPagedPool, sizeof(MINIPORT_CONFIGURATION_CONTEXT)); network/ndis/ndis/config.c: *ParameterValue = ExAllocatePool(PagedPool, sizeof(NDIS_CONFIGURATION_PARAMETER)); network/ndis/ndis/config.c: MiniportResource = ExAllocatePool(PagedPool, sizeof(MINIPORT_RESOURCE)); network/ndis/ndis/config.c: *ParameterValue = ExAllocatePool(PagedPool, sizeof(NDIS_CONFIGURATION_PARAMETER)); network/ndis/ndis/config.c: MiniportResource = ExAllocatePool(PagedPool, sizeof(MINIPORT_RESOURCE)); network/ndis/ndis/config.c: *ParameterValue = ExAllocatePool(PagedPool, sizeof(NDIS_CONFIGURATION_PARAMETER)); network/ndis/ndis/config.c: MiniportResource = ExAllocatePool(PagedPool, sizeof(MINIPORT_RESOURCE)); network/ndis/ndis/config.c: KeyInformation = ExAllocatePool(PagedPool, KeyDataLength + sizeof(KEY_VALUE_PARTIAL_INFORMATION)); network/ndis/ndis/config.c: MiniportResource = ExAllocatePool(PagedPool, sizeof(MINIPORT_RESOURCE)); network/ndis/ndis/config.c: *ParameterValue = ExAllocatePool(PagedPool, sizeof(NDIS_CONFIGURATION_PARAMETER)); network/ndis/ndis/config.c: Buffer = ExAllocatePool(PagedPool, KeyInformation->DataLength); network/ndis/ndis/config.c: Buffer = ExAllocatePool(PagedPool, KeyInformation->DataLength); network/ndis/ndis/config.c: Buffer = ExAllocatePool(PagedPool, KeyInformation->DataLength); network/ndis/ndis/config.c: IntArray = ExAllocatePool(PagedPool, (*NetworkAddressLength)*sizeof(UINT)); network/ndis/ndis/config.c: MiniportResource = ExAllocatePool(PagedPool, sizeof(MINIPORT_RESOURCE)); network/ndis/ndis/config.c: KeyInformation = ExAllocatePool(PagedPool, KeyInformationLength + sizeof(KEY_BASIC_INFORMATION)); network/ndis/ndis/config.c: ConfigurationContext = ExAllocatePool(NonPagedPool, sizeof(MINIPORT_CONFIGURATION_CONTEXT)); network/ndis/ndis/config.c: ConfigurationContext = ExAllocatePool(NonPagedPool, sizeof(MINIPORT_CONFIGURATION_CONTEXT)); network/ndis/ndis/hardware.c: Buffer = ExAllocatePool(PagedPool, sizeof(NDIS_EISA_FUNCTION_INFORMATION)); network/ndis/ndis/protocol.c: PnPEvent = ExAllocatePool(PagedPool, sizeof(NET_PNP_EVENT)); network/ndis/ndis/protocol.c: PnPEvent->Buffer = ExAllocatePool(PagedPool, EventBufferLength); network/ndis/ndis/protocol.c: LookaheadBuffer = ExAllocatePool(NonPagedPool, PacketLength); network/ndis/ndis/protocol.c: Context = ExAllocatePool(NonPagedPool, sizeof(DMA_CONTEXT)); network/ndis/ndis/protocol.c: AdapterBinding = ExAllocatePool(NonPagedPool, sizeof(ADAPTER_BINDING)); network/ndis/ndis/protocol.c: RegistryPathStr = ExAllocatePool(PagedPool, PathLength); network/ndis/ndis/protocol.c: Protocol = ExAllocatePool(NonPagedPool, sizeof(PROTOCOL_BINDING)); network/ndis/ndis/miniport.c: LookAheadBuffer = ExAllocatePool(NonPagedPool, LookAheadSize); network/ndis/ndis/miniport.c: NdisRequest = ExAllocatePool(NonPagedPool, sizeof(NDIS_REQUEST)); network/ndis/ndis/miniport.c: NdisRequest = ExAllocatePool(NonPagedPool, sizeof(NDIS_REQUEST)); network/ndis/ndis/miniport.c: MiniportWorkItem = ExAllocatePool(NonPagedPool, sizeof(NDIS_MINIPORT_WORK_ITEM)); network/ndis/ndis/miniport.c: Log = ExAllocatePool(NonPagedPool, Size + sizeof(NDIS_LOG)); network/ndis/ndis/miniport.c: Miniport = ExAllocatePool(NonPagedPool, sizeof(NDIS_M_DRIVER_BLOCK)); network/ndis/ndis/miniport.c: RegistryPath = ExAllocatePool(PagedPool, sizeof(UNICODE_STRING)); network/ndis/ndis/miniport.c: RegistryBuffer = ExAllocatePool(PagedPool, RegistryPath->MaximumLength); network/ndis/ndis/miniport.c: BugcheckContext = ExAllocatePool(NonPagedPool, sizeof(MINIPORT_BUGCHECK_CONTEXT)); network/ndis/ndis/miniport.c: BugcheckContext->CallbackRecord = ExAllocatePool(NonPagedPool, sizeof(KBUGCHECK_CALLBACK_RECORD)); network/ndis/ndis/miniport.c: ExAllocatePool(PagedPool, ResourceListSize); network/ndis/ndis/miniport.c: ExAllocatePool(PagedPool, ResourceListSize); network/ndis/ndis/miniport.c: ExAllocatePool(PagedPool, ResourceListSize); network/ndis/ndis/miniport.c: LinkageKeyBuffer = ExAllocatePool(PagedPool, DriverKeyLength + network/ndis/ndis/miniport.c: AdapterName.Buffer = ExAllocatePool(PagedPool, AdapterName.MaximumLength); network/ndis/ndis/buffer.c: Pool = ExAllocatePool(NonPagedPool, Size); network/ndis/ndis/memory.c: *VirtualAddress = ExAllocatePool(NonPagedPool, Length); network/ndis/ndis/memory.c: Memory = ExAllocatePool(NonPagedPool, sizeof(MINIPORT_SHARED_MEMORY)); network/ndis/ndis/memory.c: Memory = ExAllocatePool(NonPagedPool, sizeof(MINIPORT_SHARED_MEMORY)); network/ndis/ndis/efilter.c: NewFilter = ExAllocatePool(NonPagedPool, sizeof(ETHI_FILTER)); multimedia/bdasup/bdasup.c: PVOID Item = ExAllocatePool(PoolType, NumberOfBytes); multimedia/audio/sb16_nt4.old/main.c: name = ExAllocatePool(PagedPool, multimedia/audio/sb16_nt4.old/main.c: DeviceName->Buffer = ExAllocatePool(PagedPool, size); multimedia/audio/mpu401_nt4/settings.c: pInfo = (PKEY_BASIC_INFORMATION) ExAllocatePool(PagedPool, Size); multimedia/audio/mpu401_nt4/settings.c: Name = ExAllocatePool(PagedPool, multimedia/audio/mpu401_nt4/mpu401.c:// Parameters = (PDEVICE_EXTENSION)ExAllocatePool(NonPagedPool, sizeof(DEVICE_EXTENSION)); multimedia/audio/sndblst.old/sndblst.c:// Parameters = (PDEVICE_EXTENSION)ExAllocatePool(NonPagedPool, sizeof(DEVICE_EXTENSION)); multimedia/audio/sndblst.old/settings.c: pInfo = (PKEY_BASIC_INFORMATION) ExAllocatePool(PagedPool, Size); multimedia/audio/sndblst.old/settings.c: Name = ExAllocatePool(PagedPool, multimedia/audio/sndblst_sys/sndblst.c: FinalKeyInfo = (PKEY_BASIC_INFORMATION) ExAllocatePool(PagedPool, FinalDataLength); multimedia/audio/sndblst_sys/sndblst.c: EnumeratedKeyName = (PWSTR) ExAllocatePool(PagedPool, NameLength); bluetooth/fbtusb/fbtdev.c: urb = (PURB)ExAllocatePool(NonPagedPool, sizeof(struct _URB_CONTROL_VENDOR_OR_CLASS_REQUEST)); bluetooth/fbtusb/fbtdev.c: urb = (PURB)ExAllocatePool(NonPagedPool, sizeof(struct _URB_BULK_OR_INTERRUPT_TRANSFER)); bluetooth/fbtusb/fbtdev.c: urb = (PURB)ExAllocatePool(NonPagedPool, sizeof(struct _URB_PIPE_REQUEST)); bluetooth/fbtusb/fbtdev.c: idleCallbackInfo = (PUSB_IDLE_CALLBACK_INFO)ExAllocatePool(NonPagedPool, sizeof(struct _USB_IDLE_CALLBACK_INFO)); bluetooth/fbtusb/fbtdev.c: ExAllocatePool(NonPagedPool, bluetooth/fbtusb/include/fbtusb.h:#define ExAllocatePool(type, size) ExAllocatePoolWithTag(type, size, OBTTAG); bluetooth/fbtusb/fbtpnp.c: urb = (PURB) ExAllocatePool(NonPagedPool, sizeof(struct _URB_CONTROL_DESCRIPTOR_REQUEST)); bluetooth/fbtusb/fbtpnp.c: deviceDescriptor = (PUSB_DEVICE_DESCRIPTOR) ExAllocatePool(NonPagedPool, siz); bluetooth/fbtusb/fbtpnp.c: urb = (PURB) ExAllocatePool(NonPagedPool, sizeof(struct _URB_CONTROL_DESCRIPTOR_REQUEST)); bluetooth/fbtusb/fbtpnp.c: configurationDescriptor = (PUSB_CONFIGURATION_DESCRIPTOR) ExAllocatePool(NonPagedPool, siz); bluetooth/fbtusb/fbtpnp.c: configurationDescriptor = (PUSB_CONFIGURATION_DESCRIPTOR) ExAllocatePool(NonPagedPool, siz); bluetooth/fbtusb/fbtpnp.c: ExAllocatePool(NonPagedPool, sizeof(USBD_INTERFACE_LIST_ENTRY) * (numberOfInterfaces + 1)); bluetooth/fbtusb/fbtpnp.c: deviceExtension->UsbInterface = (PUSBD_INTERFACE_INFORMATION) ExAllocatePool(NonPagedPool, Interface->Length); bluetooth/fbtusb/fbtpnp.c: deviceExtension->PipeContext = (PFREEBT_PIPE_CONTEXT) ExAllocatePool( bluetooth/fbtusb/fbtpnp.c: urb = (PURB) ExAllocatePool(NonPagedPool, siz); bluetooth/fbtusb/fbtpnp.c: urb = (PURB) ExAllocatePool(NonPagedPool, sizeof(struct _URB_PIPE_REQUEST)); bluetooth/fbtusb/fbtpwr.c: powerContext = (PPOWER_COMPLETION_CONTEXT) ExAllocatePool(NonPagedPool, sizeof(POWER_COMPLETION_CONTEXT)); bluetooth/fbtusb/fbtpwr.c: context = (PWORKER_THREAD_CONTEXT) ExAllocatePool(NonPagedPool, sizeof(WORKER_THREAD_CONTEXT)); bluetooth/fbtusb/fbtusb.c: registryPath->Buffer = (PWSTR) ExAllocatePool(PagedPool, registryPath->MaximumLength); bluetooth/fbtusb/fbtrwr.c: rwContext = (PFREEBT_RW_CONTEXT) ExAllocatePool(NonPagedPool, sizeof(FREEBT_RW_CONTEXT)); bluetooth/fbtusb/fbtrwr.c: urb = (PURB) ExAllocatePool(NonPagedPool, sizeof(struct _URB_BULK_OR_INTERRUPT_TRANSFER)); bluetooth/fbtusb/fbtrwr.c: rwContext = (PFREEBT_RW_CONTEXT) ExAllocatePool(NonPagedPool, sizeof(FREEBT_RW_CONTEXT)); bluetooth/fbtusb/fbtrwr.c: urb = (PURB) ExAllocatePool(NonPagedPool, sizeof(struct _URB_BULK_OR_INTERRUPT_TRANSFER)); wdm/audio/legacy/stream/pnp.c: RequestBlock = ExAllocatePool(NonPagedPool, ResultLength); wdm/audio/legacy/stream/pnp.c: Mem = ExAllocatePool(NonPagedPool, sizeof(MEMORY_RESOURCE_LIST)); wdm/audio/legacy/stream/pnp.c: StreamDescriptor = ExAllocatePool(NonPagedPool, DeviceExtension->StreamDescriptorSize); wdm/audio/legacy/stream/filter.c: HwInstanceExtension = ExAllocatePool(NonPagedPool, DeviceExtension->DriverExtension->Data.FilterInstanceExtensionSize); wdm/audio/legacy/stream/filter.c: CreateItem = ExAllocatePool(NonPagedPool, sizeof(KSOBJECT_CREATE_ITEM)); wdm/audio/legacy/stream/driver.c: ItemList = ExAllocatePool(NonPagedPool, sizeof(KSOBJECT_CREATE_ITEM)); wdm/audio/legacy/stream/driver.c: StreamDescriptor = ExAllocatePool(NonPagedPool, StreamDescriptorSize); wdm/audio/filters/kmixer/pin.c: FloatIn = ExAllocatePool(NonPagedPool, NumSamples * NumChannels * sizeof(FLOAT)); wdm/audio/filters/kmixer/pin.c: FloatOut = ExAllocatePool(NonPagedPool, NewSamples * NumChannels * sizeof(FLOAT)); wdm/audio/filters/kmixer/pin.c: ResultOut = ExAllocatePool(NonPagedPool, NewSamples * NumChannels * BytesPerSample); wdm/audio/filters/kmixer/pin.c: PUCHAR BufferOut = ExAllocatePool(NonPagedPool, Samples * NewChannels); wdm/audio/filters/kmixer/pin.c: PUSHORT BufferOut = ExAllocatePool(NonPagedPool, Samples * NewChannels); wdm/audio/filters/kmixer/pin.c: PUCHAR BufferOut = ExAllocatePool(NonPagedPool, Samples * NewChannels); wdm/audio/filters/kmixer/pin.c: PULONG BufferOut = ExAllocatePool(NonPagedPool, Samples * NewChannels); wdm/audio/filters/kmixer/pin.c: PUSHORT BufferOut = ExAllocatePool(NonPagedPool, Samples * NewChannels); wdm/audio/filters/kmixer/pin.c: PUSHORT BufferOut = ExAllocatePool(NonPagedPool, Samples * sizeof(USHORT)); wdm/audio/filters/kmixer/pin.c: PULONG BufferOut = ExAllocatePool(NonPagedPool, Samples * sizeof(ULONG)); wdm/audio/filters/kmixer/pin.c: PULONG BufferOut = ExAllocatePool(NonPagedPool, Samples * sizeof(ULONG)); wdm/audio/filters/kmixer/pin.c: PUCHAR BufferOut = ExAllocatePool(NonPagedPool, Samples * sizeof(UCHAR)); wdm/audio/filters/kmixer/pin.c: PUCHAR BufferOut = ExAllocatePool(NonPagedPool, Samples * sizeof(UCHAR)); wdm/audio/filters/kmixer/pin.c: PUSHORT BufferOut = ExAllocatePool(NonPagedPool, Samples * sizeof(USHORT)); wdm/audio/filters/kmixer/pin.c: DataFormat = ExAllocatePool(NonPagedPool, sizeof(KSDATAFORMAT_WAVEFORMATEX) * 2); wdm/audio/filters/kmixer/pin.c: PUCHAR Block = ExAllocatePool(NonPagedPool, Elements * ElementSize); wdm/audio/filters/kmixer/filter.c: CreateItem = ExAllocatePool(NonPagedPool, sizeof(KSOBJECT_CREATE_ITEM) * 2); wdm/audio/filters/kmixer/filter.c: CreateItem = ExAllocatePool(NonPagedPool, sizeof(KSOBJECT_CREATE_ITEM) * 2); wdm/audio/filters/splitter/pin.c: PinContext = ExAllocatePool(NonPagedPool, sizeof(PIN_CONTEXT)); wdm/audio/sysaudio/main.c: PVOID Item = ExAllocatePool(PoolType, NumberOfBytes); processor/processr/pnp.c: Buffer = ExAllocatePool(PagedPool, processor/processr/pnp.c: DPRINT1("ExAllocatePool() failed\n"); processor/processr/pnp.c: KeyNameBuffer = ExAllocatePool(PagedPool, BufferLength * sizeof(WCHAR)); processor/processr/pnp.c: DPRINT1("ExAllocatePool() failed\n"); bus/isapnp/pdo.c: DeviceRelations = ExAllocatePool(PagedPool, sizeof(*DeviceRelations)); bus/isapnp/fdo.c: DeviceRelations = ExAllocatePool(NonPagedPool, usb/usbd/usbd.c: Urb = ExAllocatePool(NonPagedPool, UrbSize); usb/usbd/usbd.c: PartialInfo = ExAllocatePool(PagedPool, Length); usb/usbd/usbd.c: PartialInfo = ExAllocatePool(PagedPool, Length); usb/usbuhci/hardware.cpp: m_FrameBandwidth = (PUSHORT)ExAllocatePool(NonPagedPool, sizeof(USHORT) * NUMBER_OF_FRAMES); usb/usbhub/pdo.c: ReturnString = ExAllocatePool(PagedPool, SourceString->MaximumLength); usb/usbhub/pdo.c: ReturnString = ExAllocatePool(PagedPool, SourceString->MaximumLength); usb/usbhub/pdo.c: BusInfo = (PPNP_BUS_INFORMATION)ExAllocatePool(PagedPool, sizeof(PNP_BUS_INFORMATION)); usb/usbhub/pdo.c: DeviceRelation = (PDEVICE_RELATIONS)ExAllocatePool(PagedPool, sizeof(DEVICE_RELATIONS)); usb/usbhub/hub_fdo.c: Urb = ExAllocatePool(NonPagedPool, sizeof(URB)); usb/usbhub/hub_fdo.c: InterfaceList = ExAllocatePool(NonPagedPool, sizeof(USBD_INTERFACE_LIST_ENTRY) * (HubDeviceExtension->HubConfigDescriptor.bNumInterfaces + 1)); usb/usbhub/fdo.c: DeviceString = ExAllocatePool(NonPagedPool, (Index + 1) * sizeof(WCHAR)); usb/usbhub/fdo.c: DeviceString = ExAllocatePool(NonPagedPool, Index * sizeof(WCHAR)); usb/usbhub/fdo.c: DeviceString = ExAllocatePool(NonPagedPool, (Index + 1) * sizeof(WCHAR)); usb/usbhub/fdo.c: UsbChildExtension->usInstanceId.Buffer = (LPWSTR)ExAllocatePool(NonPagedPool, Index * sizeof(WCHAR)); usb/usbhub/fdo.c: UsbChildExtension->usInstanceId.Buffer = (LPWSTR)ExAllocatePool(NonPagedPool, Index * sizeof(WCHAR)); usb/usbhub/fdo.c: DeviceRelations = (PDEVICE_RELATIONS)ExAllocatePool(PagedPool, storage/inc/class.h:#define ExAllocatePool(a,b) ExAllocatePoolWithTag(a,b,'HscS') storage/class/disk/disk.c:#define ExAllocatePool(a,b) ExAllocatePoolWithTag(a,b,'DscS') storage/class/disk/disk.c: diskGeometry = ExAllocatePool(NonPagedPool, sizeof(DISK_GEOMETRY_EX)); storage/class/disk/disk.c: senseData = ExAllocatePool(NonPagedPoolCacheAligned, SENSE_BUFFER_SIZE); storage/class/disk/disk.c: partitionList = ExAllocatePool(NonPagedPool, sizeof(*partitionList)); storage/class/disk/disk.c: initData = ExAllocatePool(NonPagedPool, sizeof(CLASS_INIT_DATA)); storage/class/disk/disk.c: srb = ExAllocatePool(NonPagedPool, SCSI_REQUEST_BLOCK_SIZE); storage/class/disk/disk.c: srbControl = ExAllocatePool(NonPagedPool, storage/class/disk/disk.c: srbControl = ExAllocatePool(NonPagedPool, storage/class/disk/disk.c: srbControl = ExAllocatePool(NonPagedPool, storage/class/disk/disk.c: modeData = ExAllocatePool(NonPagedPoolCacheAligned, MODE_DATA_SIZE); storage/class/disk/disk.c: srb = ExAllocatePool(NonPagedPool, sizeof(SCSI_REQUEST_BLOCK)); storage/class/disk/disk.c: modeData = ExAllocatePool(NonPagedPoolCacheAligned, MODE_DATA_SIZE); storage/class/disk/disk.c: buffer = (ULONG_PTR)ExAllocatePool(NonPagedPoolCacheAligned,length2); storage/class/disk/disk.c: modeData = ExAllocatePool(NonPagedPoolCacheAligned, MODE_DATA_SIZE); storage/class/disk/disk.c: mbr = ExAllocatePool(NonPagedPoolCacheAligned, sectorSize); storage/class/disk/disk.c: keyData = ExAllocatePool(PagedPool, VALUE_BUFFER_SIZE); storage/class/disk/disk.c: keyData = ExAllocatePool(PagedPool, VALUE_BUFFER_SIZE); storage/class/disk/disk.c: context = ExAllocatePool(NonPagedPoolMustSucceed, storage/class/class2/class2.c: DriverExtension->RegistryPath.Buffer = ExAllocatePool(PagedPool, RegistryPath->MaximumLength); storage/class/class2/class2.c: buffer = ExAllocatePool(PagedPool, INQUIRY_DATA_SIZE); storage/class/class2/class2.c: readCapacityBuffer = ExAllocatePool(NonPagedPoolCacheAligned, storage/class/class2/class2.c: context = ExAllocatePool(NonPagedPoolMustSucceed, storage/class/class2/class2.c: context = ExAllocatePool(NonPagedPoolMustSucceed, storage/class/class2/class2.c: senseInfoBuffer = ExAllocatePool(NonPagedPoolCacheAligned, SENSE_BUFFER_SIZE); storage/class/class2/class2.c: srb = ExAllocatePool(NonPagedPool, SCSI_REQUEST_BLOCK_SIZE); storage/class/class2/class2.c: parameters = ExAllocatePool(NonPagedPool, storage/class/class2/class2.c: path = ExAllocatePool(NonPagedPool, size); storage/class/cdrom/cdrom.c:#define ExAllocatePool(a,b) ExAllocatePoolWithTag(a,b,'CscS') storage/class/cdrom/cdrom.c: senseData = ExAllocatePool(NonPagedPoolCacheAligned, SENSE_BUFFER_SIZE); storage/class/cdrom/cdrom.c: ExAllocatePool(NonPagedPool, sizeof(DISK_GEOMETRY_EX)); storage/class/cdrom/cdrom.c: srb = ExAllocatePool(NonPagedPool, sizeof(SCSI_REQUEST_BLOCK)); storage/class/cdrom/cdrom.c: buffer = ExAllocatePool(NonPagedPoolCacheAligned, SENSE_BUFFER_SIZE); storage/class/cdrom/cdrom.c: buffer = ExAllocatePool(NonPagedPoolCacheAligned, (sizeof(MODE_READ_RECOVERY_PAGE) + MODE_BLOCK_DESC_LENGTH + MODE_HEADER_LENGTH10)); storage/class/cdrom/cdrom.c: srb = ExAllocatePool(NonPagedPool, sizeof(SCSI_REQUEST_BLOCK)); storage/class/cdrom/cdrom.c: senseBuffer = ExAllocatePool(NonPagedPoolCacheAligned, SENSE_BUFFER_SIZE); storage/class/cdrom/cdrom.c: dataBuffer = ExAllocatePool(NonPagedPoolCacheAligned, transferByteCount ); storage/class/cdrom/cdrom.c: srb = ExAllocatePool(NonPagedPool, sizeof(SCSI_REQUEST_BLOCK)); storage/class/cdrom/cdrom.c: senseBuffer = ExAllocatePool(NonPagedPoolCacheAligned, SENSE_BUFFER_SIZE); storage/class/cdrom/cdrom.c: dataBuffer = ExAllocatePool(NonPagedPoolCacheAligned, transferByteCount ); storage/class/cdrom/cdrom.c: dataBuffer = ExAllocatePool(NonPagedPoolCacheAligned, sizeof(READ_CAPACITY_DATA)); storage/class/cdrom/cdrom.c: dataBuffer = ExAllocatePool(NonPagedPoolCacheAligned, transferByteCount); storage/class/cdrom/cdrom.c: dataBuffer = ExAllocatePool(NonPagedPoolCacheAligned, storage/class/cdrom/cdrom.c: dataBuffer = ExAllocatePool(NonPagedPoolCacheAligned, storage/class/cdrom/cdrom.c: dataBuffer = ExAllocatePool(NonPagedPoolCacheAligned, storage/class/cdrom/cdrom.c: dataBuffer = ExAllocatePool(NonPagedPoolCacheAligned, bytesTransferred); storage/class/cdrom/cdrom.c: deviceControlEvent = ExAllocatePool(NonPagedPool, sizeof(KEVENT)); storage/class/cdrom/cdrom.c: buffer = ExAllocatePool(NonPagedPoolCacheAligned, (sizeof(MODE_READ_RECOVERY_PAGE) + MODE_BLOCK_DESC_LENGTH + MODE_HEADER_LENGTH)); storage/class/cdrom/cdrom.c: context = ExAllocatePool( storage/class/cdrom/cdrom.c: srb = ExAllocatePool(NonPagedPool, sizeof(SCSI_REQUEST_BLOCK)); storage/class/cdrom/cdrom.c: dataBuffer = ExAllocatePool(NonPagedPoolCacheAligned, length); storage/class/cdrom/cdrom.c: currentBuffer = ExAllocatePool(NonPagedPoolCacheAligned, sizeof(SUB_Q_CURRENT_POSITION)); storage/class/cdrom/cdrom.c: paramPath.Buffer = ExAllocatePool(PagedPool, paramPath.MaximumLength); storage/class/cdrom/cdrom.c: paramDevPath.Buffer = ExAllocatePool(PagedPool, paramDevPath.MaximumLength); storage/class/cdrom/cdrom.c: parameters = ExAllocatePool(NonPagedPool, storage/class/cdrom/cdrom.c: inquiryBuffer = ExAllocatePool(NonPagedPool, 2048); storage/class/cdrom/cdrom.c: mechanicalStatusBuffer = ExAllocatePool(NonPagedPoolCacheAligned, storage/class/cdrom/cdrom.c: srb = ExAllocatePool(NonPagedPool, sizeof(SCSI_REQUEST_BLOCK)); storage/class/cdrom/cdrom.c: capacityBuffer = ExAllocatePool(NonPagedPoolCacheAligned, storage/class/cdrom/cdrom.c: senseBuffer = ExAllocatePool(NonPagedPoolCacheAligned, SENSE_BUFFER_SIZE); storage/fdc/fdc/fdo.c: Relations = (PDEVICE_RELATIONS)ExAllocatePool(PagedPool, Size); storage/ide/uniata/id_probe.cpp: deviceExtension = (PHW_DEVICE_EXTENSION)ExAllocatePool(NonPagedPool, sizeof(HW_DEVICE_EXTENSION)); storage/ide/uniata/id_probe.cpp: PciDevMap = (PCHAR)ExAllocatePool(NonPagedPool, maxPciBus*PCI_MAX_DEVICES); storage/ide/uniata/id_probe.cpp: BMList = (PBUSMASTER_CONTROLLER_INFORMATION)ExAllocatePool(NonPagedPool, storage/ide/uniata/id_probe.cpp: resourceList = (PCM_RESOURCE_LIST) ExAllocatePool(PagedPool, storage/ide/uniata/tools.h:#define DbgAllocatePool(x,y) ExAllocatePool(x,y) storage/ide/uniata/tools.h:#define DbgAllocatePool(x,y) ExAllocatePool(x,y) storage/ide/uniata/id_init.cpp: deviceExtension->AhciInternalAtaReq0 = (PATA_REQ)ExAllocatePool(NonPagedPool, sizeof(ATA_REQ)*deviceExtension->NumberChannels); storage/ide/uniata/id_init.cpp: deviceExtension->AhciInternalSrb0 = (PSCSI_REQUEST_BLOCK)ExAllocatePool(NonPagedPool, sizeof(SCSI_REQUEST_BLOCK)*deviceExtension->NumberChannels); storage/ide/uniata/id_init.cpp: deviceExtension->lun = (PHW_LU_EXTENSION)ExAllocatePool(NonPagedPool, sizeof(HW_LU_EXTENSION) * (deviceExtension->NumberChannels+1) * deviceExtension->NumberLuns); storage/ide/uniata/id_init.cpp: deviceExtension->chan = (PHW_CHANNEL)ExAllocatePool(NonPagedPool, sizeof(HW_CHANNEL) * (deviceExtension->NumberChannels+1)); storage/ide/uniata/id_badblock.cpp: cur = (PSBadBlockListItem)ExAllocatePool(NonPagedPool, sizeof(SBadBlockListItem)); storage/ide/uniata/id_badblock.cpp: cur->arrBadBlocks = (SBadBlockRange*)ExAllocatePool(NonPagedPool, ValueLength); storage/ide/uniata/stdafx.h:#define ExAllocatePool(a,b) ExAllocatePoolWithTag(a,b,TAG_UNIATA) storage/ide/uniata/id_ata.cpp: paramPath.Buffer = (PWCHAR)ExAllocatePool(NonPagedPool, paramPath.MaximumLength); storage/ide/pciidex/pdo.c: RequirementsList = ExAllocatePool(PagedPool, ListSize); storage/ide/pciidex/pdo.c: DeviceRelations = (PDEVICE_RELATIONS)ExAllocatePool( storage/ide/pciidex/pdo.c: BusInfo = (PPNP_BUS_INFORMATION)ExAllocatePool(PagedPool, sizeof(PNP_BUS_INFORMATION)); storage/ide/pciidex/miniport.c: CurrentBuffer = ExAllocatePool(NonPagedPool, BufferLength); storage/ide/pciidex/fdo.c: BusInterface = ExAllocatePool(PagedPool, sizeof(BUS_INTERFACE_STANDARD)); storage/ide/pciidex/fdo.c: DPRINT("ExAllocatePool() failed\n"); storage/ide/pciidex/fdo.c: DeviceRelations = (PDEVICE_RELATIONS)ExAllocatePool( storage/ide/pciidex/fdo.c: DeviceRelations = (PDEVICE_RELATIONS)ExAllocatePool( storage/ide/pciidex/misc.c: DestinationString->Buffer = ExAllocatePool(PagedPool, DestMaxLength); storage/port/buslogic/Log.c: fileName.Buffer = ExAllocatePool(PagedPool, storage/classpnp/lock.c: trackingBlock = ExAllocatePool(NonPagedPool, michi@michis-toshiba:~/code/reactos/reactos/hal$ grep -r "ExAllocatePool(" halx86/xbox/part_xbox.c: SectorData = ExAllocatePool(PagedPool, SectorSize); michi@michis-toshiba:~/code/reactos/reactos/win32ss$ grep -r "ExAllocatePool(" gdi/ntgdi/gdidbg.c: Value.Buffer = ExAllocatePool(PagedPool, Value.MaximumLength); drivers/videoprt/resource.c: ResList = ExAllocatePool(NonPagedPool, drivers/videoprt/resource.c: ResList = ExAllocatePool(NonPagedPool, drivers/videoprt/resource.c: ResReqList = ExAllocatePool(NonPagedPool, ListSize); drivers/videoprt/resource.c: ResourceList = ExAllocatePool(PagedPool, ResourceListSize); drivers/videoprt/resource.c: WARN_(VIDEOPRT, "ExAllocatePool() failed\n"); drivers/videoprt/child.c: Buffer = ExAllocatePool(PagedPool, (wcslen(StaticBuffer) + 8) * sizeof(WCHAR)); drivers/videoprt/child.c: Buffer = ExAllocatePool(PagedPool, (wcslen(StaticBuffer) + 1) * sizeof(WCHAR)); drivers/videoprt/child.c: Buffer = ExAllocatePool(PagedPool, 5 * sizeof(WCHAR)); drivers/videoprt/child.c: Buffer = ExAllocatePool(PagedPool, (wcslen(StaticBuffer) + 9) * sizeof(WCHAR)); drivers/videoprt/child.c: Buffer = ExAllocatePool(PagedPool, (wcslen(StaticBuffer) + 2) * sizeof(WCHAR)); drivers/videoprt/child.c: Buffer = ExAllocatePool(PagedPool, (wcslen(StaticBuffer) + 2) * sizeof(WCHAR)); drivers/videoprt/child.c: Buffer = ExAllocatePool(PagedPool, (wcslen(StaticBuffer) + 1) * sizeof(WCHAR)); drivers/videoprt/child.c: DeviceRelations = ExAllocatePool(NonPagedPool, sizeof(DEVICE_RELATIONS)); drivers/videoprt/dma.c: Adapter = ExAllocatePool(NonPagedPool, sizeof(VIP_DMA_ADAPTER)); drivers/videoprt/dma.c: StartContext = ExAllocatePool(NonPagedPool, sizeof(DMA_START_CONTEXT)); drivers/videoprt/dispatch.c: DeviceExtension->AllocatedResources = ExAllocatePool(PagedPool, ResourceListSize); drivers/videoprt/dispatch.c: DeviceRelations = ExAllocatePool(PagedPool, drivers/videoprt/spinlock.c: *SpinLock = ExAllocatePool(NonPagedPool, sizeof(KSPIN_LOCK)); drivers/videoprt/videoprt.c: RomImageBuffer = ExAllocatePool(PagedPool, Length); drivers/videoprt/videoprt.c: KeyInfo = ExAllocatePool(PagedPool, Length); _______________________________________________ Ros-dev mailing list Ros-dev@reactos.org http://www.reactos.org/mailman/listinfo/ros-dev