Home
last modified time | relevance | path

Searched refs:DataItem (Results 1 – 6 of 6) sorted by relevance

/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Network/Ip4Dxe/
DIp4Config2Impl.c204 IP4_CONFIG2_DATA_ITEM *DataItem; in Ip4Config2ReadConfigData() local
264 DataItem = &Instance->DataItem[DataRecord.DataType]; in Ip4Config2ReadConfigData()
265 if (DATA_ATTRIB_SET (DataItem->Attribute, DATA_ATTRIB_SIZE_FIXED) && in Ip4Config2ReadConfigData()
266 (DataItem->DataSize != DataRecord.DataSize) in Ip4Config2ReadConfigData()
274 if (!DATA_ATTRIB_SET (DataItem->Attribute, DATA_ATTRIB_SIZE_FIXED)) { in Ip4Config2ReadConfigData()
278 DataItem->Data.Ptr = AllocatePool (DataRecord.DataSize); in Ip4Config2ReadConfigData()
279 if (DataItem->Data.Ptr == NULL) { in Ip4Config2ReadConfigData()
288 CopyMem (DataItem->Data.Ptr, Data, DataRecord.DataSize); in Ip4Config2ReadConfigData()
290 DataItem->DataSize = DataRecord.DataSize; in Ip4Config2ReadConfigData()
291 DataItem->Status = EFI_SUCCESS; in Ip4Config2ReadConfigData()
[all …]
DIp4Config2Impl.h185 IP4_CONFIG2_DATA_ITEM DataItem[Ip4Config2DataTypeMaximum]; member
/device/linaro/bootloader/edk2/NetworkPkg/Ip6Dxe/
DIp6ConfigImpl.c330 IP6_CONFIG_DATA_ITEM *DataItem; in Ip6ConfigReadConfigData() local
394 DataItem = &Instance->DataItem[DataRecord.DataType]; in Ip6ConfigReadConfigData()
395 if (DATA_ATTRIB_SET (DataItem->Attribute, DATA_ATTRIB_SIZE_FIXED) && in Ip6ConfigReadConfigData()
396 (DataItem->DataSize != DataRecord.DataSize) in Ip6ConfigReadConfigData()
404 if (!DATA_ATTRIB_SET (DataItem->Attribute, DATA_ATTRIB_SIZE_FIXED)) { in Ip6ConfigReadConfigData()
408 DataItem->Data.Ptr = AllocatePool (DataRecord.DataSize); in Ip6ConfigReadConfigData()
409 if (DataItem->Data.Ptr == NULL) { in Ip6ConfigReadConfigData()
418 CopyMem (DataItem->Data.Ptr, Data, DataRecord.DataSize); in Ip6ConfigReadConfigData()
420 DataItem->DataSize = DataRecord.DataSize; in Ip6ConfigReadConfigData()
421 DataItem->Status = EFI_SUCCESS; in Ip6ConfigReadConfigData()
[all …]
DIp6Driver.c265 IP6_CONFIG_DATA_ITEM *DataItem; in Ip6CreateService() local
482 DataItem = &IpSb->Ip6ConfigInstance.DataItem[Ip6ConfigDataTypeManualAddress]; in Ip6CreateService()
483 if (DataItem->Data.Ptr != NULL) { in Ip6CreateService()
484 DataItem->SetData ( in Ip6CreateService()
486 DataItem->DataSize, in Ip6CreateService()
487 DataItem->Data.Ptr in Ip6CreateService()
494 DataItem = &IpSb->Ip6ConfigInstance.DataItem[Ip6ConfigDataTypeGateway]; in Ip6CreateService()
495 if (DataItem->Data.Ptr != NULL) { in Ip6CreateService()
496 DataItem->SetData ( in Ip6CreateService()
498 DataItem->DataSize, in Ip6CreateService()
[all …]
DIp6ConfigImpl.h197 IP6_CONFIG_DATA_ITEM DataItem[Ip6ConfigDataTypeMaximum]; member
/device/linaro/bootloader/edk2/BaseTools/Source/Python/UPT/UnitTest/
DDecParserUnitTest.py118 class DataItem(_DecComments): class
138 Item = DataItem()