Home
last modified time | relevance | path

Searched refs:NodeLength (Results 1 – 14 of 14) sorted by relevance

/device/linaro/bootloader/edk2/MdePkg/Library/UefiDevicePathLib/
DDevicePathUtilities.c60 UINTN NodeLength; in IsDevicePathValid() local
76 NodeLength = DevicePathNodeLength (DevicePath); in IsDevicePathValid()
77 if (NodeLength < sizeof (EFI_DEVICE_PATH_PROTOCOL)) { in IsDevicePathValid()
81 if (NodeLength > MAX_UINTN - Size) { in IsDevicePathValid()
84 Size += NodeLength; in IsDevicePathValid()
536 UINTN NodeLength; in UefiDevicePathLibAppendDevicePathNode() local
544 NodeLength = DevicePathNodeLength (DevicePathNode); in UefiDevicePathLibAppendDevicePathNode()
546 TempDevicePath = AllocatePool (NodeLength + END_DEVICE_PATH_LENGTH); in UefiDevicePathLibAppendDevicePathNode()
550 TempDevicePath = CopyMem (TempDevicePath, DevicePathNode, NodeLength); in UefiDevicePathLibAppendDevicePathNode()
741 IN UINT16 NodeLength in UefiDevicePathLibCreateDeviceNode() argument
[all …]
DUefiDevicePathLibOptionalDevicePathProtocol.c300 IN UINT16 NodeLength in CreateDeviceNode() argument
304 return mDevicePathLibDevicePathUtilities->CreateDeviceNode (NodeType, NodeSubType, NodeLength); in CreateDeviceNode()
306 return UefiDevicePathLibCreateDeviceNode (NodeType, NodeSubType, NodeLength); in CreateDeviceNode()
DUefiDevicePathLib.c239 IN UINT16 NodeLength in CreateDeviceNode() argument
242 return UefiDevicePathLibCreateDeviceNode (NodeType, NodeSubType, NodeLength); in CreateDeviceNode()
DUefiDevicePathLib.h351 IN UINT16 NodeLength
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/PlatformSmm/
DSmmScriptSave.c176 UINTN NodeLength;
186 NodeLength = sizeof (EFI_BOOT_SCRIPT_IO_WRITE) + (WidthInByte * Count);
192 Script.IoWrite->Length = (UINT8)(NodeLength);
205 *ScriptTable = *ScriptTable + NodeLength; in BootScriptPciCfgWrite()
221 UINTN NodeLength;
231 NodeLength = sizeof (EFI_BOOT_SCRIPT_PCI_CONFIG_WRITE) + (WidthInByte * Count);
237 Script.PciWrite->Length = (UINT8)(NodeLength);
250 *ScriptTable = *ScriptTable + NodeLength; in SmmCopyMem()
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/UefiDevicePathLib/
DUefiDevicePathLib.c202 UINTN NodeLength; in GlueAppendDevicePathNode() local
210 NodeLength = DevicePathNodeLength (DevicePathNode); in GlueAppendDevicePathNode()
212 TempDevicePath = AllocatePool (NodeLength + sizeof (EFI_DEVICE_PATH_PROTOCOL)); in GlueAppendDevicePathNode()
216 TempDevicePath = CopyMem (TempDevicePath, DevicePathNode, NodeLength); in GlueAppendDevicePathNode()
392 IN UINT16 NodeLength in CreateDeviceNode() argument
397 if (NodeLength < sizeof (EFI_DEVICE_PATH_PROTOCOL)) { in CreateDeviceNode()
404 DevicePath = AllocatePool (NodeLength); in CreateDeviceNode()
408 SetDevicePathNodeLength (DevicePath, NodeLength); in CreateDeviceNode()
/device/linaro/bootloader/edk2/MdePkg/Library/UefiDevicePathLibDevicePathProtocol/
DUefiDevicePathLib.c102 UINTN NodeLength; in IsDevicePathValid() local
118 NodeLength = DevicePathNodeLength (DevicePath); in IsDevicePathValid()
119 if (NodeLength < sizeof (EFI_DEVICE_PATH_PROTOCOL)) { in IsDevicePathValid()
123 if (NodeLength > MAX_UINTN - Size) { in IsDevicePathValid()
126 Size += NodeLength; in IsDevicePathValid()
596 IN UINT16 NodeLength in CreateDeviceNode() argument
599 return mDevicePathLibDevicePathUtilities->CreateDeviceNode (NodeType, NodeSubType, NodeLength); in CreateDeviceNode()
/device/linaro/bootloader/edk2/ArmPkg/Library/BdsLib/
DBdsLoadOption.c118 UINTN NodeLength; in BootOptionToLoadOptionVariable() local
172 NodeLength = DevicePathNodeLength(DevicePathNode); in BootOptionToLoadOptionVariable()
173 CopyMem (EfiLoadOptionPtr, DevicePathNode, NodeLength); in BootOptionToLoadOptionVariable()
174 EfiLoadOptionPtr += NodeLength; in BootOptionToLoadOptionVariable()
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/Dxe/EfiDriverLib/
DDevicePath.c346 UINTN NodeLength; in EfiAppendDevicePathNode() local
351 NodeLength = DevicePathNodeLength (Node); in EfiAppendDevicePathNode()
353 Temp = EfiLibAllocateCopyPool (NodeLength + sizeof (EFI_DEVICE_PATH_PROTOCOL), Node); in EfiAppendDevicePathNode()
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/RuntimeDxe/EfiRuntimeLib/
DRtDevicePath.c443 UINTN NodeLength; in RtEfiAppendDevicePathNode() local
448 NodeLength = DevicePathNodeLength (Node); in RtEfiAppendDevicePathNode()
450 Temp = InternalAllocateCopyPool (NodeLength + sizeof (EFI_DEVICE_PATH_PROTOCOL), Node); in RtEfiAppendDevicePathNode()
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Efi/Protocol/DevicePathUtilities/
DDevicePathUtilities.h189 IN UINT16 NodeLength
/device/linaro/bootloader/edk2/MdePkg/Include/Protocol/
DDevicePathUtilities.h158 IN UINT16 NodeLength
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Include/Library/
DEdkIIGlueDevicePathLib.h207 IN UINT16 NodeLength
/device/linaro/bootloader/edk2/MdePkg/Include/Library/
DDevicePathLib.h419 IN UINT16 NodeLength