Lines Matching refs:NodeLength
149 UINTN NodeLength; in IsDevicePathValid() local
165 NodeLength = DevicePathNodeLength (DevicePath); in IsDevicePathValid()
166 if (NodeLength < sizeof (EFI_DEVICE_PATH_PROTOCOL)) { in IsDevicePathValid()
170 if (NodeLength > MAX_UINTN - Size) { in IsDevicePathValid()
173 Size += NodeLength; in IsDevicePathValid()
430 IN UINT16 NodeLength in CreateDeviceNode() argument
435 if (NodeLength < sizeof (EFI_DEVICE_PATH_PROTOCOL)) { in CreateDeviceNode()
442 DevicePath = AllocateZeroPool (NodeLength); in CreateDeviceNode()
446 SetDevicePathNodeLength (DevicePath, NodeLength); in CreateDeviceNode()
604 UINTN NodeLength; in AppendDevicePathNode() local
612 NodeLength = DevicePathNodeLength (DevicePathNode); in AppendDevicePathNode()
614 TempDevicePath = AllocatePool (NodeLength + END_DEVICE_PATH_LENGTH); in AppendDevicePathNode()
618 TempDevicePath = CopyMem (TempDevicePath, DevicePathNode, NodeLength); in AppendDevicePathNode()