efi_devpath_length
UINTN efi_devpath_length(EFI_DEVICE_PATH *);
dp = (EFI_DEVICE_PATH *)((char *)dp + efi_devpath_length(dp));