Home
last modified time | relevance | path

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

/dflybsd-src/lib/libefivar/
H A Duefi-dputil.c124 return ((UINTN) DevicePath - (UINTN) Start) + DevicePathNodeLength (DevicePath); in GetDevicePathSize()
167 NodeLength = DevicePathNodeLength (DevicePath); in IsDevicePathValid()
195 return (BOOLEAN) (DevicePathNodeLength (DevicePath) == END_DEVICE_PATH_LENGTH); in IsDevicePathValid()
260 DevicePathNodeLength ( in DevicePathNodeLength() function
290 return ((EFI_DEVICE_PATH_PROTOCOL *)(__DECONST(UINT8 *, Node) + DevicePathNodeLength(Node))); in NextDevicePathNode()
614 NodeLength = DevicePathNodeLength (DevicePathNode); in AppendDevicePathNode()
H A Defivar-dp-format.c328 DataLength = DevicePathNodeLength (&Vendor->Header) - sizeof (VENDOR_DEVICE_PATH); in DevPathToTextVendor()
593 Length = (UINT16) DevicePathNodeLength ((EFI_DEVICE_PATH_PROTOCOL *) AcpiAdr); in DevPathToTextAcpiAdr()
1005 …Length = (UINT16) ((DevicePathNodeLength ((EFI_DEVICE_PATH_PROTOCOL *) UsbWWId) - sizeof (USB_WWID… in DevPathToTextUsbWWID()
1389 if (DevicePathNodeLength (IPDevPath) == sizeof (IPv4_DEVICE_PATH)) { in DevPathToTextIPv4()
1446 if (DevicePathNodeLength (IPDevPath) == sizeof (IPv6_DEVICE_PATH)) { in DevPathToTextIPv6()
1752 UriLength = DevicePathNodeLength (Uri) - sizeof (URI_DEVICE_PATH); in DevPathToTextUri()
2212 if (Index < DevicePathNodeLength (Node)) { in DevPathToTextNodeGeneric()
2214 for (; Index < DevicePathNodeLength (Node); Index++) { in DevPathToTextNodeGeneric()
2394 AlignedNode = AllocateCopyPool (DevicePathNodeLength (Node), Node); in UefiDevicePathLibConvertDevicePathToText()
H A Defivar-dp-xlate.c56 #define ValidLen(dp) (DevicePathNodeLength(dp) >= sizeof(EFI_DEVICE_PATH_PROTOCOL) && \
57 DevicePathNodeLength(dp) < MAX_DP_SANITY)
H A Defivar-dp-parse.c1070 Length = DevicePathNodeLength (AcpiAdr); in DevPathFromTextAcpiAdr()
/dflybsd-src/stand/boot/efi/include/
H A Defi.h53 #define DevicePathNodeLength(a) ((size_t)(((a)->Length[0]) | ((a)->Length[1] << 8))) macro
54 #define NextDevicePathNode(a) ((EFI_DEVICE_PATH *)(((UINT8 *)(a)) + DevicePathNodeLength(a)))
/dflybsd-src/stand/boot/efi/libefi/
H A Defipart.c103 devpathlen = DevicePathNodeLength(node); in efipart_init()
106 devpathlen += DevicePathNodeLength(node); in efipart_init()
108 devpathlen += DevicePathNodeLength(NextDevicePathNode(node)); in efipart_init()
/dflybsd-src/stand/contrib/edk2/MdePkg/Include/Library/
H A DDevicePathLib.h93 DevicePathNodeLength (
/dflybsd-src/stand/boot/efi/loader/
H A Defi_main.c153 DevicePathNodeLength(img->FilePath) <= in efi_main()
/dflybsd-src/stand/boot/efi/boot1/
H A Dboot1.c100 len = DevicePathNodeLength(imgpath); in nodes_match()
101 if (len != DevicePathNodeLength(devpath)) in nodes_match()