Home
last modified time | relevance | path

Searched refs:FileMode (Results 1 – 1 of 1) sorted by relevance

/packages/modules/Virtualization/authfs/src/
Dfusefs.rs110 enum FileMode { enum
115 fn create_stat(ino: libc::ino_t, file_size: u64, file_mode: FileMode) -> io::Result<libc::stat64> { in create_stat()
121 FileMode::ReadOnly => libc::S_IFREG | libc::S_IRUSR, in create_stat()
122 FileMode::ReadWrite => libc::S_IFREG | libc::S_IRUSR | libc::S_IWUSR, in create_stat()
214 create_stat(inode, *file_size, FileMode::ReadOnly)? in lookup()
217 create_stat(inode, editor.size(), FileMode::ReadWrite)? in lookup()
241 create_stat(inode, *file_size, FileMode::ReadOnly)? in getattr()
244 create_stat(inode, editor.size(), FileMode::ReadWrite)? in getattr()
341 let mut new_attr = create_stat(inode, editor.size(), FileMode::ReadWrite)?; in setattr()