/device/linaro/bootloader/edk2/MdePkg/Library/UefiDevicePathLib/ |
D | DevicePathUtilities.c | 60 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 …]
|
D | UefiDevicePathLibOptionalDevicePathProtocol.c | 300 IN UINT16 NodeLength in CreateDeviceNode() argument 304 return mDevicePathLibDevicePathUtilities->CreateDeviceNode (NodeType, NodeSubType, NodeLength); in CreateDeviceNode() 306 return UefiDevicePathLibCreateDeviceNode (NodeType, NodeSubType, NodeLength); in CreateDeviceNode()
|
D | UefiDevicePathLib.c | 239 IN UINT16 NodeLength in CreateDeviceNode() argument 242 return UefiDevicePathLibCreateDeviceNode (NodeType, NodeSubType, NodeLength); in CreateDeviceNode()
|
D | UefiDevicePathLib.h | 351 IN UINT16 NodeLength
|
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/PlatformSmm/ |
D | SmmScriptSave.c | 176 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/ |
D | UefiDevicePathLib.c | 202 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/ |
D | UefiDevicePathLib.c | 102 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/ |
D | BdsLoadOption.c | 118 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/ |
D | DevicePath.c | 346 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/ |
D | RtDevicePath.c | 443 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/ |
D | DevicePathUtilities.h | 189 IN UINT16 NodeLength
|
/device/linaro/bootloader/edk2/MdePkg/Include/Protocol/ |
D | DevicePathUtilities.h | 158 IN UINT16 NodeLength
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Include/Library/ |
D | EdkIIGlueDevicePathLib.h | 207 IN UINT16 NodeLength
|
/device/linaro/bootloader/edk2/MdePkg/Include/Library/ |
D | DevicePathLib.h | 419 IN UINT16 NodeLength
|