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

/freebsd-13-stable/lib/libefivar/
H A Duefi-dputil.c125 return ((UINTN) DevicePath - (UINTN) Start) + DevicePathNodeLength (DevicePath);
168 NodeLength = DevicePathNodeLength (DevicePath);
196 return (BOOLEAN) (DevicePathNodeLength (DevicePath) == END_DEVICE_PATH_LENGTH);
261 DevicePathNodeLength ( function
291 return ((EFI_DEVICE_PATH_PROTOCOL *)(__DECONST(UINT8 *, Node) + DevicePathNodeLength(Node)));
615 NodeLength = DevicePathNodeLength (DevicePathNode);
H A Defivar-dp-format.c329 DataLength = DevicePathNodeLength (&Vendor->Header) - sizeof (VENDOR_DEVICE_PATH);
594 Length = (UINT16) DevicePathNodeLength ((EFI_DEVICE_PATH_PROTOCOL *) AcpiAdr);
1006 Length = (UINT16) ((DevicePathNodeLength ((EFI_DEVICE_PATH_PROTOCOL *) UsbWWId) - sizeof (USB_WWID_DEVICE_PATH)) / sizeof (CHAR16));
1390 if (DevicePathNodeLength (IPDevPath) == sizeof (IPv4_DEVICE_PATH)) {
1447 if (DevicePathNodeLength (IPDevPath) == sizeof (IPv6_DEVICE_PATH)) {
1753 UriLength = DevicePathNodeLength (Uri) - sizeof (URI_DEVICE_PATH);
2213 if (Index < DevicePathNodeLength (Node)) {
2215 for (; Index < DevicePathNodeLength (Node); Index++) {
2395 AlignedNode = AllocateCopyPool (DevicePathNodeLength (Node), Node);
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);
/freebsd-13-stable/stand/efi/libefi/
H A Ddevpath.c102 uint32_t size = DevicePathNodeLength(&node->Header) - sizeof(*node);
118 if (DevicePathNodeLength(&node->Header) > sizeof(*node)) {
589 len = prefix + DevicePathNodeLength(NextDevicePathNode(node));
627 len = DevicePathNodeLength(devpath1);
628 if (len != DevicePathNodeLength(devpath2))
693 len = DevicePathNodeLength(prefix);
694 if (len != DevicePathNodeLength(path))
729 return ((UINTN)path - (UINTN)start) + DevicePathNodeLength(path);
H A Defihttp.c343 len = DevicePathNodeLength(&uri->Header) - sizeof(URI_DEVICE_PATH);
/freebsd-13-stable/sys/contrib/edk2/Include/Library/
H A DDevicePathLib.h93 DevicePathNodeLength (
/freebsd-13-stable/stand/efi/loader/
H A Defi_main.c153 DevicePathNodeLength(img->FilePath) <=
H A Defiserialio.c238 if (DevicePathNodeLength(node) < sizeof(*node))
/freebsd-13-stable/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(a)))

Completed in 101 milliseconds