Lines Matching refs:Option
83 fn read_kernel_range_from(fdt: &Fdt) -> libfdt::Result<Option<Range<usize>>> { in read_kernel_range_from()
101 fn read_initrd_range_from(fdt: &Fdt) -> libfdt::Result<Option<Range<usize>>> { in read_initrd_range_from()
124 fn read_bootargs_from(fdt: &Fdt) -> libfdt::Result<Option<CString>> { in read_bootargs_from()
191 opptable_info: Option<ArrayVec<[u64; CpuInfo::MAX_OPPTABLES]>>,
192 cpu_capacity: Option<u32>,
219 cores: [Option<usize>; ClusterTopology::MAX_CORES_PER_CLUSTER],
229 clusters: [Option<ClusterTopology>; CpuTopology::MAX_CLUSTERS],
236 fn read_cpu_map_from(fdt: &Fdt) -> libfdt::Result<Option<BTreeMap<Phandle, (usize, usize)>>> { in read_cpu_map_from()
265 ) -> libfdt::Result<(ArrayVec<[CpuInfo; DeviceTreeInfo::MAX_CPUS]>, Option<CpuTopology>)> { in read_cpu_info_from()
310 fn read_vcpufreq_info(fdt: &Fdt) -> libfdt::Result<Option<VcpufreqInfo>> { in read_vcpufreq_info()
347 opptable: Option<ArrayVec<[u64; CpuInfo::MAX_OPPTABLES]>>, in patch_opptable()
376 ) -> libfdt::Result<Option<FdtNodeMut<'a>>> { in get_nth_compatible()
387 topology: &Option<CpuTopology>, in patch_cpus()
538 fn next(&mut self) -> Option<Self::Item> { in next()
903 fn patch_vcpufreq(fdt: &mut Fdt, vcpufreq_info: &Option<VcpufreqInfo>) -> libfdt::Result<()> { in patch_vcpufreq()
914 pub kernel_range: Option<Range<usize>>,
915 pub initrd_range: Option<Range<usize>>,
917 bootargs: Option<CString>,
919 cpu_topology: Option<CpuTopology>,
923 device_assignment: Option<DeviceAssignmentInfo>,
926 vcpufreq_info: Option<VcpufreqInfo>,
932 const fn gic_patched_size(num_cpus: usize) -> Option<usize> { in gic_patched_size()
941 vm_dtbo: Option<&mut [u8]>, in sanitize_device_tree()
942 vm_ref_dt: Option<&[u8]>, in sanitize_device_tree()
1012 fn parse_device_tree(fdt: &Fdt, vm_dtbo: Option<&VmDtbo>) -> Result<DeviceTreeInfo, RebootReason> { in parse_device_tree()
1187 debug_policy: Option<&[u8]>, in modify_for_next_stage()
1293 let accepted: &[(&str, Box<dyn Fn(Option<&str>) -> bool>)] = &[ in filter_out_dangerous_bootargs()