Lines Matching refs:Some

182         if path.to_bytes().first() != Some(&b'/') {  in new()
217 self.tokens.get(1) == Some(&&b"__overlay__"[..]) in is_overlayable_node()
344 let Some(phandle) = node.get_phandle()? else { in parse_physical_iommus() localVariable
347 let Some(iommu) = PhysIommu::parse(&node)? else { in parse_physical_iommus() localVariable
389 let Some(info) = PhysicalDeviceInfo::parse(&node, phys_iommus)? else { in parse_physical_devices_with_iommus() localVariable
402 let Some(physical_node) = self.as_ref().node(cstr!("/host"))? else { in parse_physical_devices() localVariable
413 let Some(subnode) = node.subnode_with_name_bytes(token)? else { in node() localVariable
418 Ok(Some(node)) in node()
431 if let Some(phandle) = node.get_phandle()? { in collect_overlayable_nodes_with_phandle()
446 let Some(local_fixups) = vm_dtbo.node(cstr!("/__local_fixups__"))? else { in collect_phandle_references_from_overlayable_nodes() localVariable
513 while let Some(path) = stack.pop() { in build_mask()
517 let Some(dst_phandles) = dependencies.get(&path) else { in build_mask() localVariable
531 if let Some(symbols) = fdt.symbols()? { in filter_dangling_symbols()
566 while let Some((node, depth)) = iter { in filter_with_mask()
576 if let Some(masked) = mask { in filter_with_mask()
670 let Some(token) = node.getprop_u64(cstr!("android,pvmfw,token"))? else { in parse() localVariable
673 let Some(iommu_cells) = node.getprop_u32(cstr!("#iommu-cells"))? else { in parse() localVariable
681 Ok(Some(Self { token })) in parse()
698 let Some(mut cells) = node.getprop_cells(cstr!("iommus"))? else { in parse_iommus() localVariable
701 while let Some(cell) = cells.next() { in parse_iommus()
708 let Some(cell) = cells.next() else { in parse_iommus() localVariable
718 let Some(phandle) = node.getprop_u32(cstr!("android,pvmfw,target"))? else { in parse() localVariable
724 Ok(Some(Self { target, reg, iommus })) in parse()
769 if let Some(DeviceReg { addr, size }) = virt_regs.next() { in validate_reg()
773 if let Some(DeviceReg { addr, size }) = phys_regs.next() { in validate_reg()
801 let Some(mut cells) = node.getprop_cells(cstr!("iommus"))? else { in parse_iommus() localVariable
804 while let Some(cell) = cells.next() { in parse_iommus()
811 let Some(cell) = cells.next() else { in parse_iommus() localVariable
843 Some(pos) => physical_device_iommu.remove(pos), in validate_iommus()
865 let Some(node) = fdt.node(&node_path)? else { return Ok(None) }; in parse() localVariable
869 let Some(physical_device) = physical_devices.get(&phandle) else { in parse() localVariable
883 Ok(Some(Self { node_path, reg, interrupts, iommus })) in parse()
917 let Some(phandle) = compatible.get_phandle()? else { in parse_pviommus() localVariable
969 let Some(symbols_node) = vm_dtbo.as_ref().symbols()? else { in internal_parse() localVariable
1001 if let Some(assigned_device) = assigned_device { in internal_parse()
1019 Ok(Some(Self { pviommus: unique_pviommus, assigned_devices, vm_dtbo_mask })) in internal_parse()
1027 if let Some(local_fixups) = vm_dtbo.node_mut(cstr!("/__local_fixups__"))? { in filter()
1053 while let Some(filtered_pviommu) = compatible { in patch_pviommus()
1077 while let Some(filtered_pviommu) = compatible { in clean()
1190 let Some(node) = fdt.node(path)? else { in parse() localVariable
1199 if let Some(mut cells) = node.getprop_cells(cstr!("iommus"))? { in parse()
1200 while let Some(pviommu_id) = cells.next() { in parse()
1207 if compatible != Ok(Some(cstr!("pkvm,pviommu"))) { in parse()
1216 let Some(vsid) = cells.next() else { in parse() localVariable
1229 if let Ok(Some(id)) = pviommu.getprop_u32(cstr!("id")) { in collect_pviommus()
1341 assert_eq!(Some(cstr!("/fragment@0/__overlay__/rng")), rng_symbol); in device_info_filter()
1435 if let Some(symbols) = platform_dt.symbols().unwrap() { in device_info_patch_no_pviommus()