Searched refs:driver_path (Results 1 – 2 of 2) sorted by relevance
38 driver_path: PathBuf,67 pub fn new(driver_path: &Path, is_strict_boot: bool) -> Result<Self> { in new()69 if driver_path.exists() { in new()80 let mut file = fs::File::open(driver_path) in new()92 bail!("Failed to mmap {:?}", driver_path); in new()102 driver_path: driver_path.to_path_buf(), in new()155 Self::Real { driver_path, .. } => { in derive()158 fs::write(driver_path, "wipe") in derive()
198 let driver_path = read_link(path.join("driver")).ok()?; in current_driver() localVariable199 let bound_driver = driver_path.file_name()?; in current_driver()