Lines Matching refs:st
116 let mut st = unsafe { MaybeUninit::<libc::stat64>::zeroed().assume_init() }; in create_stat() localVariable
118 st.st_ino = ino; in create_stat()
119 st.st_mode = match file_mode { in create_stat()
124 st.st_dev = 0; in create_stat()
125 st.st_nlink = 1; in create_stat()
126 st.st_uid = 0; in create_stat()
127 st.st_gid = 0; in create_stat()
128 st.st_rdev = 0; in create_stat()
129 st.st_size = libc::off64_t::try_from(file_size) in create_stat()
131 st.st_blksize = blk_size(); in create_stat()
133 st.st_blocks = libc::c_longlong::try_from(divide_roundup(file_size, 512)) in create_stat()
135 Ok(st) in create_stat()
209 let st = match self.get_file_config(&inode)? { in lookup() localVariable
223 attr: st, in lookup()