Searched refs:DevicePathNodeLength (Results 1 – 10 of 10) sorted by relevance
125 return ((UINTN) DevicePath - (UINTN) Start) + DevicePathNodeLength (DevicePath); in GetDevicePathSize()168 NodeLength = DevicePathNodeLength (DevicePath); in IsDevicePathValid()196 return (BOOLEAN) (DevicePathNodeLength (DevicePath) == END_DEVICE_PATH_LENGTH); in IsDevicePathValid()261 DevicePathNodeLength ( in DevicePathNodeLength() function291 return ((EFI_DEVICE_PATH_PROTOCOL *)(__DECONST(UINT8 *, Node) + DevicePathNodeLength(Node))); in NextDevicePathNode()615 NodeLength = DevicePathNodeLength (DevicePathNode); in AppendDevicePathNode()
329 DataLength = DevicePathNodeLength (&Vendor->Header) - sizeof (VENDOR_DEVICE_PATH); in DevPathToTextVendor()594 Length = (UINT16) DevicePathNodeLength ((EFI_DEVICE_PATH_PROTOCOL *) AcpiAdr); in DevPathToTextAcpiAdr()1006 …Length = (UINT16) ((DevicePathNodeLength ((EFI_DEVICE_PATH_PROTOCOL *) UsbWWId) - sizeof (USB_WWID… in DevPathToTextUsbWWID()1390 if (DevicePathNodeLength (IPDevPath) == sizeof (IPv4_DEVICE_PATH)) { in DevPathToTextIPv4()1447 if (DevicePathNodeLength (IPDevPath) == sizeof (IPv6_DEVICE_PATH)) { in DevPathToTextIPv6()1753 UriLength = DevicePathNodeLength (Uri) - sizeof (URI_DEVICE_PATH); in DevPathToTextUri()2213 if (Index < DevicePathNodeLength (Node)) { in DevPathToTextNodeGeneric()2215 for (; Index < DevicePathNodeLength (Node); Index++) { in DevPathToTextNodeGeneric()2395 AlignedNode = AllocateCopyPool (DevicePathNodeLength (Node), Node); in UefiDevicePathLibConvertDevicePathToText()
54 #define ValidLen(dp) (DevicePathNodeLength(dp) >= sizeof(EFI_DEVICE_PATH_PROTOCOL) && \55 DevicePathNodeLength(dp) < MAX_DP_SANITY)
1071 Length = DevicePathNodeLength (AcpiAdr); in DevPathFromTextAcpiAdr()
102 uint32_t size = DevicePathNodeLength(&node->Header) - sizeof(*node); in efi_vendor_path()118 if (DevicePathNodeLength(&node->Header) > sizeof(*node)) { in efi_vendor_path()589 len = prefix + DevicePathNodeLength(NextDevicePathNode(node)); in efi_devpath_trim()627 len = DevicePathNodeLength(devpath1); in efi_devpath_match_node()628 if (len != DevicePathNodeLength(devpath2)) in efi_devpath_match_node()693 len = DevicePathNodeLength(prefix); in efi_devpath_is_prefix()694 if (len != DevicePathNodeLength(path)) in efi_devpath_is_prefix()729 return ((UINTN)path - (UINTN)start) + DevicePathNodeLength(path); in efi_devpath_length()
343 len = DevicePathNodeLength(&uri->Header) - sizeof(URI_DEVICE_PATH); in efihttp_dev_open()
57 #define DevicePathNodeLength(a) ((size_t)(((a)->Length[0]) | ((a)->Length[1] << 8))) macro58 #define NextDevicePathNode(a) ( (EFI_DEVICE_PATH *) ( ((UINT8 *) (a)) + DevicePathNodeLength(…
93 DevicePathNodeLength (
157 DevicePathNodeLength(img->FilePath) <= in efi_main()
238 if (DevicePathNodeLength(node) < sizeof(*node)) in comc_get_con_serial_handle()