Lines Matching refs:libc
62 libc::MS_NOSUID | libc::MS_NODEV | libc::MS_RDONLY, in run_fuse()
65 MountOption::RootMode(libc::S_IFDIR | libc::S_IXUSR | libc::S_IXGRP | libc::S_IXOTH), in run_fuse()
102 io::Error::from_raw_os_error(libc::EBADF) in ebadf()
131 fn stat_from(&self, inode: Inode) -> io::Result<libc::stat64> { in stat_from()
133 let mut st = unsafe { std::mem::MaybeUninit::<libc::stat64>::zeroed().assume_init() }; in stat_from()
136 (2 + directory.len() as libc::nlink_t).into() in stat_from()
141 st.st_mode = if inode_data.is_dir() { libc::S_IFDIR } else { libc::S_IFREG }; in stat_from()
172 _ => Err(io::Error::from_raw_os_error(libc::ENOENT)), in lookup()
181 ) -> io::Result<(libc::stat64, std::time::Duration)> { in getattr()
363 ino: entry.inode as libc::ino64_t, in next()
366 InodeKind::Directory => libc::DT_DIR.into(), in next()
367 InodeKind::File => libc::DT_REG.into(), in next()