Lines Matching refs:Stat
22 cwd, fstat, fstatfs, major, openat, renameat, Dir, FileType, Mode, OFlags, Stat,
49 proc_stat: Option<&Stat>,
50 ) -> io::Result<Stat> {
55 /// Check a subdirectory of "/proc" for anomalies, using the provided `Stat`.
59 entry_stat: Stat,
60 proc_stat: Option<&Stat>,
61 ) -> io::Result<Stat> {
105 fn check_proc_root(entry: BorrowedFd<'_>, stat: &Stat) -> io::Result<()> {
131 stat: &Stat,
132 proc_stat: Option<&Stat>,
148 fn check_proc_file(stat: &Stat, proc_stat: Option<&Stat>) -> io::Result<()> {
159 fn check_proc_nonroot(stat: &Stat, proc_stat: Option<&Stat>) -> io::Result<()> {
207 /// and that it looks normal. It also returns the `Stat` of `/proc`.
213 fn proc() -> io::Result<(BorrowedFd<'static>, &'static Stat)> {
233 /// it, and that it looks normal. It also returns the `Stat` of `/proc/self`.
239 fn proc_self() -> io::Result<(BorrowedFd<'static>, &'static Stat)> {
291 type StaticFd = OnceCell<(OwnedFd, Stat)>;
294 fn new_static_fd(fd: OwnedFd, stat: Stat) -> (OwnedFd, Stat) {
301 /// on top of it, and that it looks normal. It also returns the `Stat` of
308 fn proc_self_fdinfo() -> io::Result<(BorrowedFd<'static>, &'static Stat)> {
403 fn open_and_check_file(dir: BorrowedFd, dir_stat: &Stat, name: &CStr) -> io::Result<OwnedFd> {