Lines Matching refs:st
133 let mut st = unsafe { std::mem::MaybeUninit::<libc::stat64>::zeroed().assume_init() }; in stat_from() localVariable
134 st.st_dev = 0; in stat_from()
135 st.st_nlink = if let Some(directory) = inode_data.get_directory() { in stat_from()
140 st.st_ino = inode; in stat_from()
141 st.st_mode = if inode_data.is_dir() { libc::S_IFDIR } else { libc::S_IFREG }; in stat_from()
142 st.st_mode |= inode_data.mode; in stat_from()
143 st.st_uid = 0; in stat_from()
144 st.st_gid = 0; in stat_from()
145 st.st_size = i64::try_from(inode_data.size).unwrap_or(i64::MAX); in stat_from()
146 Ok(st) in stat_from()
182 let st = self.stat_from(inode)?; in getattr() localVariable
183 Ok((st, timeout_max())) in getattr()