Searched refs:FileConfig (Results 1 – 2 of 2) sorted by relevance
/packages/modules/Virtualization/authfs/src/ |
D | fusefs.rs | 49 pub enum FileConfig { enum 77 file_pool: BTreeMap<Inode, FileConfig>, 85 pub fn new(file_pool: BTreeMap<Inode, FileConfig>, max_write: u32) -> AuthFs { in new() argument 89 fn get_file_config(&self, inode: &Inode) -> io::Result<&FileConfig> { in get_file_config() argument 210 FileConfig::LocalVerifiedReadonlyFile { file_size, .. } in lookup() 211 | FileConfig::LocalUnverifiedReadonlyFile { file_size, .. } in lookup() 212 | FileConfig::RemoteUnverifiedReadonlyFile { file_size, .. } in lookup() 213 | FileConfig::RemoteVerifiedReadonlyFile { file_size, .. } => { in lookup() 216 FileConfig::RemoteVerifiedNewFile { editor } => { in lookup() 237 FileConfig::LocalVerifiedReadonlyFile { file_size, .. } in getattr() [all …]
|
D | main.rs | 48 use fusefs::{FileConfig, Inode}; 208 fn new_config_remote_verified_file(remote_id: i32, file_size: u64) -> Result<FileConfig> { in new_config_remote_verified_file() argument 214 Ok(FileConfig::RemoteVerifiedReadonlyFile { in new_config_remote_verified_file() 226 fn new_config_remote_unverified_file(remote_id: i32, file_size: u64) -> Result<FileConfig> { in new_config_remote_unverified_file() argument 228 Ok(FileConfig::RemoteUnverifiedReadonlyFile { reader, file_size }) in new_config_remote_unverified_file() 235 ) -> Result<FileConfig> { in new_config_local_ro_file() argument 245 Ok(FileConfig::LocalVerifiedReadonlyFile { reader, file_size }) in new_config_local_ro_file() 248 fn new_config_local_ro_file_unverified(file_path: &Path) -> Result<FileConfig> { in new_config_local_ro_file_unverified() argument 251 Ok(FileConfig::LocalUnverifiedReadonlyFile { reader, file_size }) in new_config_local_ro_file_unverified() 254 fn new_config_remote_new_verified_file(remote_id: i32) -> Result<FileConfig> { in new_config_remote_new_verified_file() argument [all …]
|