Lines Matching refs:children
49 children: BTreeMap<String, Arc<LockedRamFSInode>>, field
83 children: BTreeMap::new(), in new()
248 if inode.children.contains_key(name) { in create_with_data()
256 children: BTreeMap::new(), in create_with_data()
281 inode.children.insert(String::from(name), result.clone()); in create_with_data()
304 if inode.children.contains_key(name) { in link()
309 .children in link()
329 let to_delete = inode.children.get(name).ok_or(-(ENOENT as i32))?; in unlink()
336 inode.children.remove(name); in unlink()
347 let to_delete = inode.children.get(name).ok_or(-(ENOENT as i32))?; in rmdir()
354 inode.children.remove(name); in rmdir()
394 return Ok(inode.children.get(name).ok_or(-(ENOENT as i32))?.clone()); in find()
416 .children in get_entry_name()
418 .filter(|k| inode.children.get(*k).unwrap().0.lock().metadata.inode_id == ino) in get_entry_name()
440 keys.append(&mut self.0.lock().children.keys().cloned().collect()); in list()