Lines Matching refs:Errno
1 use crate::errno::Errno;
171 Errno::result(fd) in open()
186 Errno::result(fd) in openat()
206 Errno::result(res).map(drop) in renameat()
244 let len = Errno::result(res)?; in inner_readlink()
266 let len = Errno::result(res)?; in inner_readlink()
276 None => break Err(super::Error::Sys(Errno::ENAMETOOLONG)), in inner_readlink()
401 Errno::result(res) in fcntl()
429 Errno::result(res).map(drop) in flock()
495 Errno::result(ret).map(|r| r as usize) in copy_file_range()
515 Errno::result(ret).map(|r| r as usize) in splice()
521 Errno::result(ret).map(|r| r as usize) in tee()
534 Errno::result(ret).map(|r| r as usize) in vmsplice()
580 Errno::result(res).map(drop) in fallocate()
593 use crate::errno::Errno;
617 Errno::result(res) in posix_fadvise()
631 match Errno::result(res) { in posix_fallocate()
634 Ok(errno) => Err(crate::Error::Sys(Errno::from_i32(errno))), in posix_fallocate()