/reactos/drivers/wdm/audio/hdaudbus/ |
H A D | pdo.cpp | 39 BusInformation = (PPNP_BUS_INFORMATION)AllocateItem(PagedPool, sizeof(PNP_BUS_INFORMATION)); in HDA_PDOQueryBusInformation() 91 Device = (LPWSTR)AllocateItem(PagedPool, Length * sizeof(WCHAR)); in HDA_PDOQueryId() 114 Device = (LPWSTR)AllocateItem(PagedPool, Length * sizeof(WCHAR)); in HDA_PDOQueryId() 134 Device = (LPWSTR)AllocateItem(PagedPool, Length * sizeof(WCHAR)); in HDA_PDOQueryId() 166 Buffer = (LPWSTR)AllocateItem(PagedPool, sizeof(DeviceText)); in HDA_PDOHandleQueryDeviceText() 182 Buffer = (LPWSTR)AllocateItem(PagedPool, sizeof(DeviceText)); in HDA_PDOHandleQueryDeviceText()
|
/reactos/drivers/usb/usbccgp/ |
H A D | descriptor.c | 41 Descriptor = AllocateItem(NonPagedPool, DescriptorLength); in USBCCGP_GetDescriptor() 53 Urb = (PURB) AllocateItem(NonPagedPool, sizeof(URB)); in USBCCGP_GetDescriptor() 139 Buffer = AllocateItem(NonPagedPool, Size); in USBCCGP_GetStringDescriptor() 238 …Array = AllocateItem(NonPagedPool, sizeof(PUSB_INTERFACE_DESCRIPTOR) * ConfigurationDescriptor->bN… in AllocateInterfaceDescriptorsArray() 338 …FDODeviceExtension->InterfaceList = AllocateItem(NonPagedPool, sizeof(USBD_INTERFACE_LIST_ENTRY) *… in USBCCGP_ScanConfigurationDescriptor() 424 …Urb = AllocateItem(NonPagedPool, GET_SELECT_INTERFACE_REQUEST_SIZE(DeviceExtension->InterfaceList[… in USBCCGP_SelectInterface() 523 …DeviceExtension->InterfaceList[Index].Interface = AllocateItem(NonPagedPool, InterfaceInformation-… in USBCCGP_SelectConfiguration()
|
H A D | function.c | 336 …FunctionDescriptor->InterfaceDescriptorList = AllocateItem(NonPagedPool, sizeof(PUSB_INTERFACE_DES… in USBCCGP_InitFunctionDescriptor() 397 DescriptionBuffer = AllocateItem(NonPagedPool, (Index + 1) * sizeof(WCHAR)); in USBCCGP_InitFunctionDescriptor() 420 DescriptionBuffer = AllocateItem(NonPagedPool, (Index + 1) * sizeof(WCHAR)); in USBCCGP_InitFunctionDescriptor() 470 …FDODeviceExtension->FunctionDescriptor = AllocateItem(NonPagedPool, sizeof(USBC_FUNCTION_DESCRIPTO… in USBCCGP_EnumWithAssociationDescriptor() 561 DescriptionBuffer = AllocateItem(NonPagedPool, (Index + 1) * sizeof(WCHAR)); in USBCCG_InitIdsWithInterfaceDescriptor() 584 DescriptionBuffer = AllocateItem(NonPagedPool, (Index + 1) * sizeof(WCHAR)); in USBCCG_InitIdsWithInterfaceDescriptor() 629 …FDODeviceExtension->FunctionDescriptor = AllocateItem(NonPagedPool, sizeof(USBC_FUNCTION_DESCRIPTO… in USBCCGP_LegacyEnum() 662 …FDODeviceExtension->FunctionDescriptor[Index].InterfaceDescriptorList = AllocateItem(NonPagedPool,… in USBCCGP_LegacyEnum() 771 …FDODeviceExtension->FunctionDescriptor = AllocateItem(NonPagedPool, sizeof(USBC_FUNCTION_DESCRIPTO… in USBCCGP_EnumWithAudioLegacy()
|
H A D | pdo.c | 58 …Buffer = AllocateItem(NonPagedPool, PDODeviceExtension->FunctionDescriptor->FunctionDescription.Le… in USBCCGP_PdoHandleQueryDeviceText() 79 Buffer = AllocateItem(PagedPool, (wcslen(GenericString) + 1) * sizeof(WCHAR)); in USBCCGP_PdoHandleQueryDeviceText() 122 DeviceRelations = (PDEVICE_RELATIONS)AllocateItem(PagedPool, sizeof(DEVICE_RELATIONS)); in USBCCGP_PdoHandleDeviceRelations() 173 String = AllocateItem(NonPagedPool, (Length + 2) * sizeof(WCHAR)); in USBCCGP_PdoAppendInterfaceNumber() 248 …Buffer = AllocateItem(NonPagedPool, (wcslen((LPWSTR)Irp->IoStatus.Information) + 7) * sizeof(WCHAR… in USBCCGP_PdoHandleQueryId() 283 Buffer = AllocateItem(NonPagedPool, 5 * sizeof(WCHAR)); in USBCCGP_PdoHandleQueryId() 322 Buffer = AllocateItem(NonPagedPool, DeviceString->Length + sizeof(WCHAR)); in USBCCGP_PdoHandleQueryId() 595 Buffer = AllocateItem(NonPagedPool, TotalSize); in USBCCGP_BuildConfigurationDescriptor() 876 …NewUrb = AllocateItem(NonPagedPool, GET_SELECT_INTERFACE_REQUEST_SIZE(InterfaceInformation->Number… in USBCCGP_PDOSelectConfiguration()
|
/reactos/drivers/wdm/audio/backpln/portcls/ |
H A D | undoc.cpp | 149 …PropertyRequest = (PPCPROPERTY_REQUEST)AllocateItem(NonPagedPool, sizeof(PCPROPERTY_REQUEST), TAG_… in PropertyItemDispatch() 344 …NewPropertySet = (PKSPROPERTY_SET)AllocateItem(NonPagedPool, (SubDeviceDescriptor->FilterPropertyS… in PcAddToPropertyTable() 352 Guid = (LPGUID)AllocateItem(NonPagedPool, sizeof(GUID), TAG_PORTCLASS); in PcAddToPropertyTable() 741 …Descriptor = (PSUBDEVICE_DESCRIPTOR)AllocateItem(NonPagedPool, sizeof(SUBDEVICE_DESCRIPTOR), TAG_P… in PcCreateSubdeviceDescriptor() 750 …Descriptor->Interfaces = (GUID*)AllocateItem(NonPagedPool, sizeof(GUID) * InterfaceCount, TAG_PORT… in PcCreateSubdeviceDescriptor() 764 …Descriptor->FilterPropertySet = (PKSPROPERTY_SET)AllocateItem(NonPagedPool, sizeof(KSPROPERTY_SET)… in PcCreateSubdeviceDescriptor() 819 …Descriptor->Factory.KsPinDescriptor = (PKSPIN_DESCRIPTOR)AllocateItem(NonPagedPool, sizeof(KSPIN_D… in PcCreateSubdeviceDescriptor() 824 …Descriptor->Factory.Instances = (PPIN_INSTANCE_INFO)AllocateItem(NonPagedPool, FilterDescription->… in PcCreateSubdeviceDescriptor() 877 … Descriptor->Topology = (PKSTOPOLOGY)AllocateItem(NonPagedPool, sizeof(KSTOPOLOGY), TAG_PORTCLASS); in PcCreateSubdeviceDescriptor() 900 …Descriptor->Topology->TopologyNodes = (const GUID *)AllocateItem(NonPagedPool, sizeof(GUID) * Filt… in PcCreateSubdeviceDescriptor() [all …]
|
H A D | resource.cpp | 359 NewTranslatedResources = (PCM_RESOURCE_LIST)AllocateItem(PoolType, ResourceSize, TAG_PORTCLASS); in PcNewResourceList() 368 … NewUntranslatedResources = (PCM_RESOURCE_LIST)AllocateItem(PoolType, ResourceSize, TAG_PORTCLASS); in PcNewResourceList() 421 …NewList->m_TranslatedResourceList = (PCM_RESOURCE_LIST)AllocateItem(PoolType, ResourceSize, TAG_PO… in PcNewResourceSublist() 430 …NewList->m_UntranslatedResourceList = (PCM_RESOURCE_LIST)AllocateItem(PoolType, ResourceSize, TAG_… in PcNewResourceSublist()
|
H A D | adapter.cpp | 126 …portcls_ext->CreateItems = (PKSOBJECT_CREATE_ITEM)AllocateItem(NonPagedPool, MaxObjects * sizeof(K… in PcAddAdapterDevice() 288 …SymEntry = (PSYMBOLICLINK_ENTRY)AllocateItem(NonPagedPool, sizeof(SYMBOLICLINK_ENTRY), TAG_PORTCLA… in PcRegisterSubdevice()
|
H A D | pool.cpp | 12 AllocateItem( in AllocateItem() function
|
/reactos/drivers/ksfilter/ks/ |
H A D | image.c | 54 Result = AllocateItem(PoolType, Size); in KsLoadResource() 141 ImageName->Buffer = AllocateItem(PagedPool, ImageName->MaximumLength); in KsGetImageNameAndResourceId() 172 *ResourceId = (ULONG_PTR)AllocateItem(PagedPool, ImageLength); in KsGetImageNameAndResourceId() 227 SubKeyName.Buffer = AllocateItem(PagedPool, SubKeyName.MaximumLength); in KsMapModuleName()
|
H A D | swenum.c | 216 KeyInfo = (PKEY_BASIC_INFORMATION)AllocateItem(NonPagedPool, KeyInfoLength); in KspEnumerateBusRegistryKeys() 353 DeviceName = AllocateItem(NonPagedPool, Length * sizeof(WCHAR)); in KspCreateDeviceReference() 389 DeviceEntry = AllocateItem(NonPagedPool, sizeof(BUS_DEVICE_ENTRY)); in KspCreateDeviceReference() 545 Name = AllocateItem(PagedPool, Length * sizeof(WCHAR)); in KspBusQueryReferenceString() 785 Name = AllocateItem(NonPagedPool, NameLength); in KspStartBusDevice() 917 Name = AllocateItem(PagedPool, Length * sizeof(WCHAR)); in KspQueryId() 957 Name = AllocateItem(PagedPool, Length * sizeof(WCHAR)); in KspQueryId() 1347 DeviceRelations = (PDEVICE_RELATIONS)AllocateItem(NonPagedPool, Length); in KspQueryBusRelations() 1451 Buffer = AllocateItem(NonPagedPool, Length); in KsGetBusEnumIdentifier() 1544 BusDeviceExtension = AllocateItem(NonPagedPool, Length); in KsCreateBusEnumObject() [all …]
|
H A D | api.c | 470 Entry = AllocateItem(NonPagedPool, sizeof(CREATE_ITEM_ENTRY)); in KspAddCreateItemToList() 534 Header = AllocateItem(PagedPool, sizeof(KSIDEVICE_HEADER)); in KsAllocateDeviceHeader() 645 ObjectHeader = AllocateItem(NonPagedPool, sizeof(KSIOBJECT_HEADER)); in KsAllocateObjectHeader() 905 CreateEntry = AllocateItem(NonPagedPool, sizeof(CREATE_ITEM_ENTRY)); in KsAllocateObjectCreateItem() 918 Item = AllocateItem(NonPagedPool, sizeof(KSOBJECT_CREATE_ITEM)); in KsAllocateObjectCreateItem() 935 Item->ObjectClass.Buffer = AllocateItem(NonPagedPool, Item->ObjectClass.MaximumLength); in KsAllocateObjectCreateItem() 1240 Path.Buffer = AllocateItem(PagedPool, Path.MaximumLength); in KsCacheMedium() 1389 Header = (PKO_OBJECT_HEADER)AllocateItem(NonPagedPool, sizeof(KO_OBJECT_HEADER)); in KopDispatchCreate() 1457 CreateItem = AllocateItem(NonPagedPool, sizeof(KSOBJECT_CREATE_ITEM)); in KopAddDevice() 2135 PropertyItem = AllocateItem(NonPagedPool, Table->PropertyItemSize * PropertyCount); in KspMergePropertySet() [all …]
|
H A D | misc.c | 29 AllocateItem( in AllocateItem() function 68 Buffer = AllocateItem(NonPagedPool, ParametersLength); in KspCopyCreateRequest()
|
H A D | bag.c | 41 Bag = AllocateItem(NonPagedPool, sizeof(KSIOBJECT_BAG)); in KsAllocateObjectBag() 116 BagEntry = AllocateItem(NonPagedPool, sizeof(KSIOBJECT_BAG_ENTRY)); in KsAddItemToObjectBag() 393 Item = AllocateItem(NonPagedPool, NewSize); in _KsEdit()
|
/reactos/drivers/wdm/audio/legacy/wdmaud/ |
H A D | deviface.c | 72 …Entry = (SYSAUDIO_ENTRY*)AllocateItem(NonPagedPool, sizeof(SYSAUDIO_ENTRY) + Length * sizeof(WCHAR… in WdmAudOpenSysAudioDeviceInterfaces() 129 Entry = (SYSAUDIO_ENTRY*)AllocateItem(NonPagedPool, sizeof(SYSAUDIO_ENTRY)); in WdmAudOpenSysAudioDevices() 139 … Entry->SymbolicLink.Buffer = AllocateItem(NonPagedPool, Entry->SymbolicLink.MaximumLength); in WdmAudOpenSysAudioDevices() 226 Client = AllocateItem(NonPagedPool, sizeof(WDMAUD_CLIENT)); in WdmAudOpenSysaudio()
|
H A D | sup.c | 20 AllocateItem( in AllocateItem() function 117 Handles = AllocateItem(NonPagedPool, sizeof(WDMAUD_HANDLE) * (ClientInfo->NumPins+1)); in InsertPinHandle() 155 PartialInformation = AllocateItem(NonPagedPool, Length); in ReadKeyValue() 287 KeyInformation = AllocateItem(NonPagedPool, Length); in FindProductName() 376 *Device = AllocateItem(NonPagedPool, BytesReturned); in GetSysAudioDevicePnpName()
|
H A D | mmixer.c | 72 PartialInformation = AllocateItem(NonPagedPool, Length); in QueryKeyValue() 100 *ResultBuffer = AllocateItem(NonPagedPool, PartialInformation->DataLength); in QueryKeyValue() 156 return AllocateItem(NonPagedPool, NumBytes); in Alloc() 305 PKSEVENTDATA Data = (PKSEVENTDATA)AllocateItem(NonPagedPool, sizeof(KSEVENTDATA) + ExtraSize); in AllocEventData() 309 Data->EventObject.Event = AllocateItem(NonPagedPool, sizeof(KEVENT)); in AllocEventData() 354 Entry = AllocateItem(NonPagedPool, sizeof(EVENT_ENTRY)); in EventCallback() 447 Handles = AllocateItem(NonPagedPool, sizeof(WDMAUD_HANDLE) * (ClientInfo->NumPins+1)); in WdmAudControlOpenMixer()
|
/reactos/drivers/usb/usbstor_new/ |
H A D | descriptor.c | 41 Descriptor = AllocateItem(NonPagedPool, DescriptorLength); in USBSTOR_GetDescriptor() 53 Urb = (PURB) AllocateItem(NonPagedPool, sizeof(URB)); in USBSTOR_GetDescriptor() 374 …InterfaceList = (PUSBD_INTERFACE_LIST_ENTRY)AllocateItem(PagedPool, sizeof(USBD_INTERFACE_LIST_ENT… in USBSTOR_SelectConfigurationAndInterface() 424 …DeviceExtension->InterfaceInformation = (PUSBD_INTERFACE_INFORMATION)AllocateItem(NonPagedPool, Ur… in USBSTOR_SelectConfigurationAndInterface()
|
H A D | pdo.c | 217 Buffer = (LPWSTR)AllocateItem(PagedPool, sizeof(DeviceText)); in USBSTOR_PdoHandleQueryDeviceText() 245 Buffer = (LPWSTR)AllocateItem(PagedPool, sizeof(DeviceText)); in USBSTOR_PdoHandleQueryDeviceText() 331 DeviceId.Buffer = (LPWSTR)AllocateItem(PagedPool, DeviceId.MaximumLength); in USBSTOR_PdoHandleQueryDeviceId() 537 Buffer = (LPWSTR)AllocateItem(PagedPool, TotalLength * sizeof(WCHAR)); in USBSTOR_PdoHandleQueryHardwareId() 622 InstanceId = (LPWSTR)AllocateItem(PagedPool, Length * sizeof(WCHAR)); in USBSTOR_PdoHandleQueryCompatibleId() 695 InstanceId = (LPWSTR)AllocateItem(PagedPool, Length * sizeof(WCHAR)); in USBSTOR_PdoHandleQueryInstanceId() 752 DeviceRelations = (PDEVICE_RELATIONS)AllocateItem(PagedPool, sizeof(DEVICE_RELATIONS)); in USBSTOR_PdoHandleDeviceRelations()
|
H A D | misc.c | 246 AllocateItem( in AllocateItem() function 283 Urb = (PURB)AllocateItem(NonPagedPool, sizeof(struct _URB_CONTROL_VENDOR_OR_CLASS_REQUEST)); in USBSTOR_ClassRequest() 330 Buffer = (PUCHAR)AllocateItem(NonPagedPool, sizeof(UCHAR)); in USBSTOR_GetMaxLUN()
|
/reactos/drivers/usb/usbstor/ |
H A D | descriptor.c | 35 Descriptor = AllocateItem(NonPagedPool, DescriptorLength); in USBSTOR_GetDescriptor() 42 Urb = (PURB) AllocateItem(NonPagedPool, sizeof(URB)); in USBSTOR_GetDescriptor() 251 …InterfaceList = (PUSBD_INTERFACE_LIST_ENTRY)AllocateItem(PagedPool, sizeof(USBD_INTERFACE_LIST_ENT… in USBSTOR_SelectConfigurationAndInterface() 283 …DeviceExtension->InterfaceInformation = (PUSBD_INTERFACE_INFORMATION)AllocateItem(NonPagedPool, Ur… in USBSTOR_SelectConfigurationAndInterface()
|
H A D | error.c | 27 Urb = (PURB)AllocateItem(NonPagedPool, sizeof(struct _URB_CONTROL_VENDOR_OR_CLASS_REQUEST)); in USBSTOR_GetEndpointStatus() 54 Urb = (PURB)AllocateItem(NonPagedPool, sizeof(struct _URB_PIPE_REQUEST)); in USBSTOR_ResetPipeWithHandle()
|
/reactos/drivers/wdm/audio/sysaudio/ |
H A D | dispatcher.c | 76 CreateItem = AllocateItem(NonPagedPool, sizeof(KSOBJECT_CREATE_ITEM)); in DispatchCreateSysAudio() 111 CreateItem = AllocateItem(NonPagedPool, sizeof(KSOBJECT_CREATE_ITEM)); in SysAudioAllocateDeviceHeader()
|
H A D | deviface.c | 76 DeviceEntry = AllocateItem(NonPagedPool, sizeof(KSAUDIO_DEVICE_ENTRY)); in InsertAudioDevice() 90 …DeviceEntry->DeviceName.Buffer = AllocateItem(NonPagedPool, DeviceEntry->DeviceName.MaximumLength); in InsertAudioDevice()
|
H A D | pin.c | 321 …MixerPinConnect = AllocateItem(NonPagedPool, sizeof(KSPIN_CONNECT) + sizeof(KSDATAFORMAT_WAVEFORMA… in InstantiatePins() 414 Buffer = AllocateItem(NonPagedPool, ParametersLength); in GetConnectRequest() 477 DispatchContext = AllocateItem(NonPagedPool, sizeof(DISPATCH_CONTEXT)); in DispatchCreateSysAudioPin()
|
/reactos/drivers/multimedia/bdasup/ |
H A D | precomp.h | 36 AllocateItem(
|