Lines Matching refs:Err

165         return Err(RebootReason::InvalidFdt);  in read_and_validate_memory_range()
171 return Err(RebootReason::InvalidFdt); in read_and_validate_memory_range()
176 return Err(RebootReason::InvalidFdt); in read_and_validate_memory_range()
255 return Err(FdtError::BadValue); in read_cpu_map_from()
290 return Err(FdtError::BadValue);
305 return Err(FdtValidationError::InvalidCpuCount(0)); in validate_cpu_info()
339 return Err(FdtValidationError::InvalidVcpufreq(base, size)); in validate_vcpufreq_info()
474 return Err(FdtValidationError::ForbiddenUntrustedProp(name)); in validate_untrusted_props()
500 return Err(FdtError::BadValue); in validate_vm_ref_dt()
562 return Err(FdtError::NoSpace); in read_pci_info_from()
571 return Err(FdtError::NoSpace); in read_pci_info_from()
603 return Err(RebootReason::InvalidFdt); in validate_pci_addr_range()
607 return Err(RebootReason::InvalidFdt); in validate_pci_addr_range()
612 return Err(RebootReason::InvalidFdt); in validate_pci_addr_range()
617 return Err(RebootReason::InvalidFdt); in validate_pci_addr_range()
621 return Err(RebootReason::InvalidFdt); in validate_pci_addr_range()
632 return Err(RebootReason::InvalidFdt); in validate_pci_addr_range()
647 return Err(RebootReason::InvalidFdt); in validate_pci_irq_mask()
677 return Err(RebootReason::InvalidFdt); in validate_pci_irq_map()
685 return Err(RebootReason::InvalidFdt); in validate_pci_irq_map()
694 return Err(RebootReason::InvalidFdt); in validate_pci_irq_map()
700 return Err(RebootReason::InvalidFdt); in validate_pci_irq_map()
709 return Err(RebootReason::InvalidFdt); in validate_pci_irq_map()
717 return Err(RebootReason::InvalidFdt); in validate_pci_irq_map()
787 return Err(RebootReason::InvalidFdt); in validate_swiotlb_info()
792 return Err(RebootReason::InvalidFdt); in validate_swiotlb_info()
798 return Err(RebootReason::InvalidFdt); in validate_swiotlb_info()
804 return Err(RebootReason::InvalidFdt); in validate_swiotlb_info()
1247 .or_else(|e| if e == FdtError::NotFound { Ok(()) } else { Err(e) }) in empty_or_delete_prop()
1262 Err(e) => { in apply_debug_policy()
1269 if let Err(e) = unsafe { fdt.apply_overlay(overlay) } { in apply_debug_policy()