IsDevicePathValid
if (!IsDevicePathValid((CONST EFI_DEVICE_PATH_PROTOCOL *) dp, max)) {
if (!IsDevicePathValid (DevicePath, 0)) {
if (!IsDevicePathValid (FirstDevicePath, 0) || !IsDevicePathValid (SecondDevicePath, 0)) {
if (!IsDevicePathValid (DevicePath, 0) || !IsDevicePathValid (DevicePathInstance, 0)) {
if (!IsDevicePathValid (*DevicePath, 0)) {
if (!IsDevicePathValid (DevicePath, 0)) {