Home
last modified time | relevance | path

Searched refs:DevicePathNodeLength (Results 1 – 10 of 10) sorted by relevance

/freebsd/lib/libefivar/
H A Duefi-dputil.c123 return ((UINTN) DevicePath - (UINTN) Start) + DevicePathNodeLength (DevicePath); in GetDevicePathSize()
166 NodeLength = DevicePathNodeLength (DevicePath); in IsDevicePathValid()
194 return (BOOLEAN) (DevicePathNodeLength (DevicePath) == END_DEVICE_PATH_LENGTH); in IsDevicePathValid()
259 DevicePathNodeLength ( in DevicePathNodeLength() function
289 return ((EFI_DEVICE_PATH_PROTOCOL *)(__DECONST(UINT8 *, Node) + DevicePathNodeLength(Node))); in NextDevicePathNode()
613 NodeLength = DevicePathNodeLength (DevicePathNode); in AppendDevicePathNode()
H A Defivar-dp-format.c325 DataLength = DevicePathNodeLength (&Vendor->Header) - sizeof (VENDOR_DEVICE_PATH); in DevPathToTextVendor()
623 Length = (UINT16)DevicePathNodeLength ((EFI_DEVICE_PATH_PROTOCOL *)AcpiAdr); in DevPathToTextAcpiAdr()
1045 …Length = (UINT16)((DevicePathNodeLength ((EFI_DEVICE_PATH_PROTOCOL *)UsbWWId) - sizeof (U… in DevPathToTextUsbWWID()
1438 if (DevicePathNodeLength (IPDevPath) == sizeof (IPv4_DEVICE_PATH)) { in DevPathToTextIPv4()
1496 if (DevicePathNodeLength (IPDevPath) == sizeof (IPv6_DEVICE_PATH)) { in DevPathToTextIPv6()
1839 …DnsServerIpCount = (UINT32)(DevicePathNodeLength (DnsDevPath) - sizeof (EFI_DEVICE_PATH_PROTOCOL) … in DevPathToTextDns()
1887 UriLength = DevicePathNodeLength (Uri) - sizeof (URI_DEVICE_PATH); in DevPathToTextUri()
2347 if (Index < DevicePathNodeLength (Node)) { in DevPathToTextNodeGeneric()
2349 for ( ; Index < DevicePathNodeLength (Node); Index++) { in DevPathToTextNodeGeneric()
2533 AlignedNode = AllocateCopyPool (DevicePathNodeLength (Node), Node); in UefiDevicePathLibConvertDevicePathToText()
H A Defivar-dp-xlate.c51 #define ValidLen(dp) (DevicePathNodeLength(dp) >= sizeof(EFI_DEVICE_PATH_PROTOCOL) && \
52 DevicePathNodeLength(dp) < MAX_DP_SANITY)
H A Defivar-dp-parse.c1082 Length = DevicePathNodeLength (AcpiAdr); in DevPathFromTextAcpiAdr()
/freebsd/stand/efi/libefi/
H A Ddevpath.c99 uint32_t size = DevicePathNodeLength(&node->Header) - sizeof(*node); in efi_vendor_path()
115 if (DevicePathNodeLength(&node->Header) > sizeof(*node)) { in efi_vendor_path()
603 len = prefix + DevicePathNodeLength(NextDevicePathNode(node)); in efi_devpath_trim()
641 len = DevicePathNodeLength(devpath1); in efi_devpath_match_node()
642 if (len != DevicePathNodeLength(devpath2)) in efi_devpath_match_node()
707 len = DevicePathNodeLength(prefix); in efi_devpath_is_prefix()
708 if (len != DevicePathNodeLength(path)) in efi_devpath_is_prefix()
743 return ((UINTN)path - (UINTN)start) + DevicePathNodeLength(path); in efi_devpath_length()
H A Deficom.c244 if (DevicePathNodeLength(node) < sizeof(*node)) in comc_get_con_serial_handle()
H A Defihttp.c338 len = DevicePathNodeLength(&uri->Header) - sizeof(URI_DEVICE_PATH); in efihttp_dev_open()
/freebsd/stand/efi/include/
H A Defidevp.h56 #define DevicePathNodeLength(a) ((size_t)(((a)->Length[0]) | ((a)->Length[1] << 8))) macro
57 #define NextDevicePathNode(a) ( (EFI_DEVICE_PATH *) ( ((UINT8 *) (a)) + DevicePathNodeLength(…
/freebsd/sys/contrib/edk2/Include/Library/
H A DDevicePathLib.h93 DevicePathNodeLength (
/freebsd/stand/efi/loader/
H A Defi_main.c158 DevicePathNodeLength(img->FilePath) <= in efi_main()