Lines Matching refs:as_fd
223 check_proc_entry(Kind::Proc, proc.as_fd(), None).map_err(|_err| io::Errno::NOTSUP)?;
227 .map(|(fd, stat)| (fd.as_fd(), stat))
252 let proc_self_stat = check_proc_entry(Kind::Pid, proc_self.as_fd(), Some(proc_stat))
257 .map(|(owned, stat)| (owned.as_fd(), stat))
283 check_proc_entry(Kind::Fd, proc_self_fd.as_fd(), Some(proc_stat))
288 .map(|(owned, _stat)| owned.as_fd())
320 check_proc_entry(Kind::Fd, proc_self_fdinfo.as_fd(), Some(proc_stat))
325 .map(|(owned, stat)| (owned.as_fd(), stat))
340 _proc_self_fdinfo(fd.as_fd())
447 check_proc_entry_with_stat(Kind::File, file.as_fd(), file_stat, Some(proc_stat))?;