Home
last modified time | relevance | path

Searched refs:ListSize (Results 1 – 25 of 29) sorted by relevance

12

/reactos/win32ss/drivers/videoprt/
H A Dresource.c96 ULONG AccessRangeCount, ListSize, i; in IntVideoPortFilterResourceRequirements() local
120 ListSize = OldResList->ListSize + sizeof(IO_RESOURCE_DESCRIPTOR) * AccessRangeCount; in IntVideoPortFilterResourceRequirements()
122 ListSize); in IntVideoPortFilterResourceRequirements()
125 RtlCopyMemory(ResList, OldResList, OldResList->ListSize); in IntVideoPortFilterResourceRequirements()
129 ResList->ListSize = ListSize; in IntVideoPortFilterResourceRequirements()
142 ListSize); in IntVideoPortFilterResourceRequirements()
145 RtlZeroMemory(ResList, ListSize); in IntVideoPortFilterResourceRequirements()
148 ResList->ListSize = ListSize; in IntVideoPortFilterResourceRequirements()
664 ULONG ListSize; in VideoPortGetAccessRanges() local
792 ResReqList = ExAllocatePool(NonPagedPool, ListSize); in VideoPortGetAccessRanges()
[all …]
/reactos/dll/directx/wine/dmusic/
H A Dcollection.c225 DWORD StreamSize, StreamCount, ListSize[2], ListCount[2]; in IPersistStreamImpl_Load() local
293 ListSize[0] = chunk.dwSize - sizeof(FOURCC); in IPersistStreamImpl_Load()
368 … TRACE_(dmfile)(": ListCount[0] = %d < ListSize[0] = %d\n", ListCount[0], ListSize[0]); in IPersistStreamImpl_Load()
369 } while (ListCount[0] < ListSize[0]); in IPersistStreamImpl_Load()
391 ListSize[1] = chunk.dwSize - sizeof(FOURCC); in IPersistStreamImpl_Load()
405 instrument->length = ListSize[1]; in IPersistStreamImpl_Load()
441 … TRACE_(dmfile)(": ListCount[1] = %d < ListSize[1] = %d\n", ListCount[1], ListSize[1]); in IPersistStreamImpl_Load()
442 } while (ListCount[1] < ListSize[1]); in IPersistStreamImpl_Load()
469 … TRACE_(dmfile)(": ListCount[0] = %d < ListSize[0] = %d\n", ListCount[0], ListSize[0]); in IPersistStreamImpl_Load()
470 } while (ListCount[0] < ListSize[0]); in IPersistStreamImpl_Load()
/reactos/drivers/bus/isapnp/
H A Disapnp.c196 ULONG ResourceCount, AltListCount, ListSize, i; in IsaPnpCreateLogicalDeviceRequirements() local
305 ListSize = FIELD_OFFSET(IO_RESOURCE_REQUIREMENTS_LIST, List) + in IsaPnpCreateLogicalDeviceRequirements()
314 RequirementsList->ListSize = ListSize; in IsaPnpCreateLogicalDeviceRequirements()
631 ULONG ListSize, i; in IsaPnpCreateLogicalDeviceResources() local
680 ListSize = sizeof(CM_RESOURCE_LIST) in IsaPnpCreateLogicalDeviceResources()
808 PdoExt->ResourceListSize = ListSize; in IsaPnpCreateLogicalDeviceResources()
824 ULONG ResourceCount, ListSize, i; in IsaPnpCreateReadPortDORequirements() local
863 ListSize = sizeof(IO_RESOURCE_REQUIREMENTS_LIST) + in IsaPnpCreateReadPortDORequirements()
869 RequirementsList->ListSize = ListSize; in IsaPnpCreateReadPortDORequirements()
969 ULONG ListSize, i; in IsaPnpCreateReadPortDOResources() local
[all …]
H A Dpdo.c474 ULONG ListSize; in IsaPdoQueryResources() local
494 ListSize = PdoExt->ResourceListSize; in IsaPdoQueryResources()
495 ResourceList = ExAllocatePoolWithTag(PagedPool, ListSize, TAG_ISAPNP); in IsaPdoQueryResources()
499 RtlCopyMemory(ResourceList, PdoExt->ResourceList, ListSize); in IsaPdoQueryResources()
512 ULONG ListSize; in IsaPdoQueryResourceRequirements() local
532 ListSize = PdoExt->RequirementsList->ListSize; in IsaPdoQueryResourceRequirements()
533 RequirementsList = ExAllocatePoolWithTag(PagedPool, ListSize, TAG_ISAPNP); in IsaPdoQueryResourceRequirements()
537 RtlCopyMemory(RequirementsList, PdoExt->RequirementsList, ListSize); in IsaPdoQueryResourceRequirements()
/reactos/hal/halx86/acpi/
H A Dhalacpi.c969 HalpAcpiDetectResourceListSize(OUT PULONG ListSize) in HalpAcpiDetectResourceListSize() argument
974 *ListSize = HalpFixedAcpiDescTable.sci_int_vector ? 1: 0; in HalpAcpiDetectResourceListSize()
1019 ULONG Count, ListSize; in HalpQueryAcpiResourceRequirements() local
1029 ListSize = FIELD_OFFSET(IO_RESOURCE_REQUIREMENTS_LIST, List[0].Descriptors) + in HalpQueryAcpiResourceRequirements()
1031 DPRINT("Resource list size: %lu\n", ListSize); in HalpQueryAcpiResourceRequirements()
1032 RequirementsList = ExAllocatePoolWithTag(PagedPool, ListSize, TAG_HAL); in HalpQueryAcpiResourceRequirements()
1036 RtlZeroMemory(RequirementsList, ListSize); in HalpQueryAcpiResourceRequirements()
1037 RequirementsList->ListSize = ListSize; in HalpQueryAcpiResourceRequirements()
/reactos/modules/rostests/unittests/isapnp/
H A Dres_card.c555 ok_int(ReqList->ListSize, GetPoolAllocSize(ReqList)); in DrvTestCard1Dev1QueryResourceRequirements()
556 ok_int(ReqList->ListSize, (ULONG_PTR)Descriptor - (ULONG_PTR)ReqList); in DrvTestCard1Dev1QueryResourceRequirements()
965 ok_int(ReqList->ListSize, GetPoolAllocSize(ReqList)); in DrvTestCard1Dev5QueryResourceRequirements()
966 ok_int(ReqList->ListSize, (ULONG_PTR)Descriptor - (ULONG_PTR)ReqList); in DrvTestCard1Dev5QueryResourceRequirements()
1157 ok_int(ReqList->ListSize, GetPoolAllocSize(ReqList)); in DrvTestCard1Dev6QueryResourceRequirements()
1158 ok_int(ReqList->ListSize, (ULONG_PTR)Descriptor - (ULONG_PTR)ReqList); in DrvTestCard1Dev6QueryResourceRequirements()
1264 ULONG ListSize; in DrvTestCard1Dev6CreateConfigurationResources() local
1278 ListSize = FIELD_OFFSET(CM_RESOURCE_LIST, List[0].PartialResourceList.PartialDescriptors) + in DrvTestCard1Dev6CreateConfigurationResources()
1281 ResourceList = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, ListSize); in DrvTestCard1Dev6CreateConfigurationResources()
H A Dtests.c386 ok_int(ReqList->ListSize, GetPoolAllocSize(ReqList)); in DrvTestReadDataPortQueryResourcesRequirementsForEnum()
387 ok_int(ReqList->ListSize, (ULONG_PTR)Descriptor - (ULONG_PTR)ReqList); in DrvTestReadDataPortQueryResourcesRequirementsForEnum()
472 ok_int(ReqList->ListSize, GetPoolAllocSize(ReqList)); in DrvTestReadDataPortQueryResourcesRequirementsForRebalance()
473 ok_int(ReqList->ListSize, (ULONG_PTR)Descriptor - (ULONG_PTR)ReqList); in DrvTestReadDataPortQueryResourcesRequirementsForRebalance()
/reactos/modules/rostests/apitests/acpi/
H A DBus_PDO_QueryResourceRequirements.c215 ok_int(ReqList->ListSize, GetPoolAllocSize(ReqList)); in START_TEST()
216 ok_int(ReqList->ListSize, (ULONG_PTR)&ReqList->List[0].Descriptors[1] - (ULONG_PTR)ReqList); in START_TEST()
257 ok_int(ReqList->ListSize, GetPoolAllocSize(ReqList)); in START_TEST()
258 ok_int(ReqList->ListSize, (ULONG_PTR)&ReqList->List[0].Descriptors[2] - (ULONG_PTR)ReqList); in START_TEST()
299 ok_int(ReqList->ListSize, GetPoolAllocSize(ReqList)); in START_TEST()
300 ok_int(ReqList->ListSize, (ULONG_PTR)&ReqList->List[0].Descriptors[1] - (ULONG_PTR)ReqList); in START_TEST()
350 ok_int(ReqList->ListSize, GetPoolAllocSize(ReqList)); in START_TEST()
351 ok_int(ReqList->ListSize, (ULONG_PTR)&ReqList->List[0].Descriptors[3] - (ULONG_PTR)ReqList); in START_TEST()
443 if (ReqList->ListSize > (ULONG_PTR)ReqList2 - (ULONG_PTR)ReqList) in START_TEST()
455 ok_int(ReqList->ListSize, GetPoolAllocSize(ReqList)); in START_TEST()
[all …]
/reactos/drivers/storage/ide/pciidex/
H A Dpdo.c264 ULONG ListSize; in PciIdeXPdoQueryResources() local
276 ListSize = sizeof(CM_RESOURCE_LIST) + in PciIdeXPdoQueryResources()
278 ResourceList = ExAllocatePoolZero(PagedPool, ListSize, TAG_PCIIDEX); in PciIdeXPdoQueryResources()
344 ULONG ListSize; in PciIdeXPdoQueryResourceRequirements() local
356 ListSize = sizeof(IO_RESOURCE_REQUIREMENTS_LIST) + in PciIdeXPdoQueryResourceRequirements()
358 RequirementsList = ExAllocatePoolZero(PagedPool, ListSize, TAG_PCIIDEX); in PciIdeXPdoQueryResourceRequirements()
364 RequirementsList->ListSize = ListSize; in PciIdeXPdoQueryResourceRequirements()
/reactos/drivers/bus/pci/
H A Dpdo.c388 ULONG ListSize; in PdoQueryResourceRequirements() local
475 ListSize = FIELD_OFFSET(IO_RESOURCE_REQUIREMENTS_LIST, List[0].Descriptors) + in PdoQueryResourceRequirements()
478 DPRINT("ListSize %lu (0x%lx)\n", ListSize, ListSize); in PdoQueryResourceRequirements()
482 ListSize, in PdoQueryResourceRequirements()
490 RtlZeroMemory(ResourceList, ListSize); in PdoQueryResourceRequirements()
491 ResourceList->ListSize = ListSize; in PdoQueryResourceRequirements()
714 ULONG ListSize; in PdoQueryResources() local
800 ListSize = FIELD_OFFSET(CM_RESOURCE_LIST, List[0].PartialResourceList.PartialDescriptors) + in PdoQueryResources()
805 ListSize, in PdoQueryResources()
810 RtlZeroMemory(ResourceList, ListSize); in PdoQueryResources()
/reactos/boot/freeldr/freeldr/lib/fs/
H A Dntfs.c386 ULONGLONG ListSize; in NtfsFindAttributeHelper() local
392 ListSize = NtfsGetAttributeSize(&ListContext->Record); in NtfsFindAttributeHelper()
393 if(ListSize <= 0xFFFFFFFF) in NtfsFindAttributeHelper()
394 ListBuffer = FrLdrTempAlloc((ULONG)ListSize, TAG_NTFS_LIST); in NtfsFindAttributeHelper()
400 TRACE("Failed to allocate memory: %x\n", (ULONG)ListSize); in NtfsFindAttributeHelper()
405 ListAttrRecordEnd = (PNTFS_ATTR_RECORD)((PCHAR)ListBuffer + ListSize); in NtfsFindAttributeHelper()
407 if (NtfsReadAttribute(Volume, ListContext, 0, ListBuffer, (ULONG)ListSize) == ListSize) in NtfsFindAttributeHelper()
/reactos/drivers/bus/acpi/acpica/namespace/
H A Dnsxfname.c381 InfoSize += (CidList->ListSize - sizeof (ACPI_PNP_DEVICE_ID_LIST)); in AcpiGetObjectInfo()
488 Info->CompatibleIdList.ListSize = CidList->ListSize; in AcpiGetObjectInfo()
/reactos/boot/environ/lib/misc/
H A Dbcdopt.c331 ULONG DeviceSize, ListOffset, ListSize; in BlGetBootOptionDevice() local
377 ListSize = BlGetBootOptionListSize(ListData); in BlGetBootOptionDevice()
380 ListCopy = BlMmAllocateHeap(ListSize); in BlGetBootOptionDevice()
388 RtlCopyMemory(ListCopy, ListData, ListSize); in BlGetBootOptionDevice()
H A Dimage.c1332 ULONG i, DeviceId, ImageSize, Flags, ListSize; in BlImgLoadBootApplication() local
1487 ListSize = BlGetBootOptionListSize(BootEntry->BcdData); in BlImgLoadBootApplication()
1490 AppEntry = BlMmAllocateHeap(ListSize + sizeof(*AppEntry)); in BlImgLoadBootApplication()
1506 RtlCopyMemory(&AppEntry->BcdData, BootEntry->BcdData, ListSize); in BlImgLoadBootApplication()
/reactos/ntoskrnl/io/pnpmgr/
H A Dpnpres.c975 ULONG i, j, ListSize; in IopTranslateDeviceResources() local
987 ListSize = PnpDetermineResourceListSize(DeviceNode->ResourceList); in IopTranslateDeviceResources()
989 DeviceNode->ResourceListTranslated = ExAllocatePool(PagedPool, ListSize); in IopTranslateDeviceResources()
995 RtlCopyMemory(DeviceNode->ResourceListTranslated, DeviceNode->ResourceList, ListSize); in IopTranslateDeviceResources()
1120 ULONG ListSize; in IopAssignDeviceResources() local
1139 ListSize = PnpDetermineResourceListSize(DeviceNode->BootResources); in IopAssignDeviceResources()
1141 DeviceNode->ResourceList = ExAllocatePool(PagedPool, ListSize); in IopAssignDeviceResources()
1148 RtlCopyMemory(DeviceNode->ResourceList, DeviceNode->BootResources, ListSize); in IopAssignDeviceResources()
H A Dpnpmgr.c654 DeviceNode->ResourceRequirements->ListSize != 0) in IopSetDeviceInstanceData()
662 DeviceNode->ResourceRequirements->ListSize); in IopSetDeviceInstanceData()
H A Dpnproot.c1121 …eList = ExAllocatePool(PagedPool, DeviceExtension->DeviceInfo->ResourceRequirementsList->ListSize); in PdoQueryResourceRequirements()
1128 DeviceExtension->DeviceInfo->ResourceRequirementsList->ListSize); in PdoQueryResourceRequirements()
/reactos/hal/halx86/generic/
H A Dusage.c277 ULONG i, j, k, ListSize, Count, Port, Element, CurrentScale, SortScale, ReportType, FlagMatch; in HalpReportResourceUsage() local
468 ListSize = (ULONG)((ULONG_PTR)CurrentRaw - (ULONG_PTR)RawList); in HalpReportResourceUsage()
541 ListSize); in HalpReportResourceUsage()
/reactos/ntoskrnl/io/iomgr/
H A Dvolume.c828 ULONG ListSize = 0, MaximumSize = DriverObjectListSize / sizeof(PDRIVER_OBJECT); in IoEnumerateRegisteredFiltersList() local
843 if (ListSize < MaximumSize) in IoEnumerateRegisteredFiltersList()
848 DriverObjectList[ListSize] = ChangeEntry->DriverObject; in IoEnumerateRegisteredFiltersList()
856 ListSize++; in IoEnumerateRegisteredFiltersList()
863 *ActualNumberDriverObjects = ListSize; in IoEnumerateRegisteredFiltersList()
/reactos/drivers/filesystems/ntfs/
H A Dattrib.c1216 ULONGLONG ListSize; in InternalReadNonResidentAttributes() local
1238 ListSize = AttributeDataLength(ListContext->pRecord); in InternalReadNonResidentAttributes()
1239 if (ListSize > 0xFFFFFFFF) in InternalReadNonResidentAttributes()
1245 Context->NonResidentStart = ExAllocatePoolWithTag(NonPagedPool, (ULONG)ListSize, TAG_NTFS); in InternalReadNonResidentAttributes()
1252 …ibute(Context->Vcb, ListContext, 0, (PCHAR)Context->NonResidentStart, (ULONG)ListSize) != ListSize) in InternalReadNonResidentAttributes()
1261 …Context->NonResidentEnd = (PNTFS_ATTRIBUTE_LIST_ITEM)((PCHAR)Context->NonResidentStart + ListSize); in InternalReadNonResidentAttributes()
/reactos/drivers/bus/acpi/busmgr/
H A Dbus.c1260 device->pnp.cid_list = ExAllocatePoolWithTag(NonPagedPool,cid_list->ListSize, 'DpcA'); in acpi_bus_add()
1264 device->pnp.cid_list->ListSize = cid_list->ListSize; in acpi_bus_add()
1268 ASSERT(p + cid_list->Ids[i].Length <= (char *)device->pnp.cid_list + cid_list->ListSize); in acpi_bus_add()
/reactos/drivers/bus/acpi/acpica/utilities/
H A Dutids.c373 CidList->ListSize = CidListSize; in AcpiUtExecute_CID()
/reactos/sdk/lib/drivers/wdf/shared/support/
H A Dfxresourcecollection.cpp697 pRequirementsList->ListSize = size; in CreateWdmList()
/reactos/drivers/wdm/audio/drivers/CMIDriver/
H A Dadapter.cpp344 resourceList->ListSize = resourceListSize; in AdapterDispatchPnp()
/reactos/drivers/bus/acpi/acpica/include/
H A Dactypes.h1296 UINT32 ListSize; /* Size of list, including ID strings */ member

12