Searched refs:file_pool (Results 1 – 2 of 2) sorted by relevance
/packages/modules/Virtualization/authfs/src/ |
D | main.rs | 261 let mut file_pool = BTreeMap::new(); in prepare_file_pool() localVariable 264 file_pool.insert( in prepare_file_pool() 271 file_pool.insert( in prepare_file_pool() 278 file_pool.insert(config.ino, new_config_remote_new_verified_file(config.remote_id)?); in prepare_file_pool() 282 file_pool.insert( in prepare_file_pool() 293 file_pool.insert(config.ino, new_config_local_ro_file_unverified(&config.file_path)?); in prepare_file_pool() 296 Ok(file_pool) in prepare_file_pool() 307 let file_pool = prepare_file_pool(&args)?; in main() localVariable 308 fusefs::loop_forever(file_pool, &args.mount_point)?; in main()
|
D | fusefs.rs | 77 file_pool: BTreeMap<Inode, FileConfig>, field 85 pub fn new(file_pool: BTreeMap<Inode, FileConfig>, max_write: u32) -> AuthFs { in new() 86 AuthFs { file_pool, max_write } in new() 90 self.file_pool.get(&inode).ok_or_else(|| io::Error::from_raw_os_error(libc::ENOENT)) in get_file_config() 381 file_pool: BTreeMap<Inode, FileConfig>, in loop_forever() 411 AuthFs::new(file_pool, max_write), in loop_forever()
|