Home
last modified time | relevance | path

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

/freebsd-12.1/stand/efi/libefi/
H A Ddevpath.c115 len = prefix + DevicePathNodeLength(NextDevicePathNode(node)); in efi_devpath_trim()
153 len = DevicePathNodeLength(devpath1); in efi_devpath_match_node()
154 if (len != DevicePathNodeLength(devpath2)) in efi_devpath_match_node()
195 len = DevicePathNodeLength(prefix); in efi_devpath_is_prefix()
196 if (len != DevicePathNodeLength(path)) in efi_devpath_is_prefix()
231 return ((UINTN)path - (UINTN)start) + DevicePathNodeLength(path); in efi_devpath_length()
/freebsd-12.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-parse.c1071 Length = DevicePathNodeLength (AcpiAdr); in DevPathFromTextAcpiAdr()
/freebsd-12.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-12.1/sys/contrib/edk2/Include/Library/
H A DDevicePathLib.h98 DevicePathNodeLength (
/freebsd-12.1/stand/efi/loader/
H A Defi_main.c151 DevicePathNodeLength(img->FilePath) <= in efi_main()
/freebsd-12.1/stand/efi/boot1/
H A Dboot1.c108 len = DevicePathNodeLength(imgpath); in nodes_match()
109 if (len != DevicePathNodeLength(devpath)) in nodes_match()