Home
last modified time | relevance | path

Searched refs:fs_path (Results 1 – 2 of 2) sorted by relevance

/packages/modules/Virtualization/virtualizationmanager/fsfdt/src/
Dlib.rs27 fn from_fs(fs_path: &Path, fdt_buffer: &'a mut [u8]) -> Result<&'a mut Self>; in from_fs()
30 fn overlay_onto(&mut self, fdt_node_path: &CStr, fs_path: &Path) -> Result<()>; in overlay_onto()
34 fn from_fs(fs_path: &Path, fdt_buffer: &'a mut [u8]) -> Result<&'a mut Fdt> { in from_fs()
38 fdt.overlay_onto(&CString::new("").unwrap(), fs_path)?; in from_fs()
43 fn overlay_onto(&mut self, fdt_node_path: &CStr, fs_path: &Path) -> Result<()> { in overlay_onto()
45 let mut stack = vec![fs_path.to_path_buf()]; in overlay_onto()
48 .strip_prefix(fs_path) in overlay_onto()
124 let fs_path = Path::new(TEST_FS_FDT_ROOT_PATH); in test_from_fs() localVariable
127 let fdt = Fdt::from_fs(fs_path, &mut data).unwrap(); in test_from_fs()
129 let expected = Dts::from_fs(fs_path).unwrap(); in test_from_fs()
[all …]
Dmain.rs29 fs_path: PathBuf, field
39 let fdt = Fdt::from_fs(&opt.fs_path, &mut data).unwrap(); in main()