Lines Matching refs:NodeLength
152 UINTN NodeLength;
168 NodeLength = DevicePathNodeLength (DevicePath);
169 if (NodeLength < sizeof (EFI_DEVICE_PATH_PROTOCOL)) {
173 if (NodeLength > MAX_UINTN - Size) {
176 Size += NodeLength;
381 by NodeLength. NodeLength is returned. Node is not required to be aligned on
386 If NodeLength >= SIZE_64KB, then ASSERT().
387 If NodeLength < sizeof (EFI_DEVICE_PATH_PROTOCOL), then ASSERT().
413 NodeLength and initializes the device path node header with NodeType and NodeSubType.
415 If NodeLength is smaller than a device path header, then NULL is returned.
423 @param NodeLength The length of the new device node.
433 IN UINT16 NodeLength
438 if (NodeLength < sizeof (EFI_DEVICE_PATH_PROTOCOL)) {
440 // NodeLength is less than the size of the header.
445 DevicePath = AllocateZeroPool (NodeLength);
449 SetDevicePathNodeLength (DevicePath, NodeLength);
607 UINTN NodeLength;
615 NodeLength = DevicePathNodeLength (DevicePathNode);
617 TempDevicePath = AllocatePool (NodeLength + END_DEVICE_PATH_LENGTH);
621 TempDevicePath = CopyMem (TempDevicePath, DevicePathNode, NodeLength);