Home
last modified time | relevance | path

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

/freebsd-13.1/lib/libefivar/
H A Duefi-dputil.c125 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() function
291 return ((EFI_DEVICE_PATH_PROTOCOL *)(__DECONST(UINT8 *, Node) + DevicePathNodeLength(Node))); in NextDevicePathNode()
615 NodeLength = DevicePathNodeLength (DevicePathNode); in AppendDevicePathNode()
H A Defivar-dp-format.c329 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()
H A Defivar-dp-xlate.c54 #define ValidLen(dp) (DevicePathNodeLength(dp) >= sizeof(EFI_DEVICE_PATH_PROTOCOL) && \
55 DevicePathNodeLength(dp) < MAX_DP_SANITY)
H A Defivar-dp-parse.c1071 Length = DevicePathNodeLength (AcpiAdr); in DevPathFromTextAcpiAdr()
/freebsd-13.1/stand/efi/libefi/
H A Ddevpath.c102 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()
H A Defihttp.c343 len = DevicePathNodeLength(&uri->Header) - sizeof(URI_DEVICE_PATH); in efihttp_dev_open()
/freebsd-13.1/stand/efi/include/
H A Defidevp.h57 #define DevicePathNodeLength(a) ((size_t)(((a)->Length[0]) | ((a)->Length[1] << 8))) macro
58 #define NextDevicePathNode(a) ( (EFI_DEVICE_PATH *) ( ((UINT8 *) (a)) + DevicePathNodeLength(…
/freebsd-13.1/sys/contrib/edk2/Include/Library/
H A DDevicePathLib.h93 DevicePathNodeLength (
/freebsd-13.1/stand/efi/loader/
H A Defi_main.c157 DevicePathNodeLength(img->FilePath) <= in efi_main()
H A Defiserialio.c238 if (DevicePathNodeLength(node) < sizeof(*node)) in comc_get_con_serial_handle()