Searched refs:DevicePathNodeLength (Results 1 – 9 of 9) sorted by relevance
124 return ((UINTN) DevicePath - (UINTN) Start) + DevicePathNodeLength (DevicePath); in GetDevicePathSize()167 NodeLength = DevicePathNodeLength (DevicePath); in IsDevicePathValid()195 return (BOOLEAN) (DevicePathNodeLength (DevicePath) == END_DEVICE_PATH_LENGTH); in IsDevicePathValid()260 DevicePathNodeLength ( in DevicePathNodeLength() function290 return ((EFI_DEVICE_PATH_PROTOCOL *)(__DECONST(UINT8 *, Node) + DevicePathNodeLength(Node))); in NextDevicePathNode()614 NodeLength = DevicePathNodeLength (DevicePathNode); in AppendDevicePathNode()
328 DataLength = DevicePathNodeLength (&Vendor->Header) - sizeof (VENDOR_DEVICE_PATH); in DevPathToTextVendor()593 Length = (UINT16) DevicePathNodeLength ((EFI_DEVICE_PATH_PROTOCOL *) AcpiAdr); in DevPathToTextAcpiAdr()1005 …Length = (UINT16) ((DevicePathNodeLength ((EFI_DEVICE_PATH_PROTOCOL *) UsbWWId) - sizeof (USB_WWID… in DevPathToTextUsbWWID()1389 if (DevicePathNodeLength (IPDevPath) == sizeof (IPv4_DEVICE_PATH)) { in DevPathToTextIPv4()1446 if (DevicePathNodeLength (IPDevPath) == sizeof (IPv6_DEVICE_PATH)) { in DevPathToTextIPv6()1752 UriLength = DevicePathNodeLength (Uri) - sizeof (URI_DEVICE_PATH); in DevPathToTextUri()2212 if (Index < DevicePathNodeLength (Node)) { in DevPathToTextNodeGeneric()2214 for (; Index < DevicePathNodeLength (Node); Index++) { in DevPathToTextNodeGeneric()2394 AlignedNode = AllocateCopyPool (DevicePathNodeLength (Node), Node); in UefiDevicePathLibConvertDevicePathToText()
56 #define ValidLen(dp) (DevicePathNodeLength(dp) >= sizeof(EFI_DEVICE_PATH_PROTOCOL) && \57 DevicePathNodeLength(dp) < MAX_DP_SANITY)
1070 Length = DevicePathNodeLength (AcpiAdr); in DevPathFromTextAcpiAdr()
53 #define DevicePathNodeLength(a) ((size_t)(((a)->Length[0]) | ((a)->Length[1] << 8))) macro54 #define NextDevicePathNode(a) ((EFI_DEVICE_PATH *)(((UINT8 *)(a)) + DevicePathNodeLength(a)))
103 devpathlen = DevicePathNodeLength(node); in efipart_init()106 devpathlen += DevicePathNodeLength(node); in efipart_init()108 devpathlen += DevicePathNodeLength(NextDevicePathNode(node)); in efipart_init()
93 DevicePathNodeLength (
153 DevicePathNodeLength(img->FilePath) <= in efi_main()
100 len = DevicePathNodeLength(imgpath); in nodes_match()101 if (len != DevicePathNodeLength(devpath)) in nodes_match()