Lines Matching refs:Error
85 basename.to_str().ok_or_else(|| io::Error::from_raw_os_error(libc::EINVAL))?; in create_file()
108 basename.to_str().ok_or_else(|| io::Error::from_raw_os_error(libc::EINVAL))?; in mkdir()
125 basename.to_str().ok_or_else(|| io::Error::from_raw_os_error(libc::EINVAL))?; in delete_file()
139 basename.to_str().ok_or_else(|| io::Error::from_raw_os_error(libc::EINVAL))?; in force_delete_directory()
153 .ok_or_else(|| io::Error::from_raw_os_error(libc::ENOENT)) in find_inode()
176 (true, false) => Err(io::Error::from_raw_os_error(libc::ENOTDIR)), in force_delete_entry()
177 (false, true) => Err(io::Error::from_raw_os_error(libc::EISDIR)), in force_delete_entry()
185 Err(io::Error::from_raw_os_error(libc::ENOENT)) in force_delete_entry()
194 return Err(io::Error::from_raw_os_error(libc::EEXIST)); in validate_arguments()
198 return Err(io::Error::from_raw_os_error(libc::EMLINK)); in validate_arguments()
235 return Err(io::Error::from_raw_os_error(libc::EMLINK)); in add_entry()
242 Err(io::Error::from_raw_os_error(libc::EEXIST)) in add_entry()
263 CString::new(bytes).map_err(|_| io::Error::from_raw_os_error(libc::EILSEQ)) in path_to_cstring()
266 fn into_io_error(e: VirtFdServiceStatus) -> io::Error { in into_io_error() argument
269 io::Error::from_raw_os_error(maybe_errno) in into_io_error()
271 io::Error::new(io::ErrorKind::Other, e.get_description()) in into_io_error()