Lines Matching refs:children
115 children: SpinLock::new(HashMap::new()), in create_root_inode()
135 children: SpinLock<HashMap<String, Arc<KernFSInode>>>, field
248 .children in find()
262 let children = self.children.lock(); in get_entry_name() localVariable
263 let r = children in get_entry_name()
310 self.children in list()
411 children: SpinLock::new(HashMap::new()), in new()
544 self.children.lock().insert(name, new_inode.clone()); in inner_create()
567 let mut children = self.children.lock(); in remove() localVariable
568 let inode = children.get(name).ok_or(SystemError::ENOENT)?; in remove()
569 if inode.children.lock().is_empty() { in remove()
570 children.remove(name); in remove()
628 let mut children = self.children.lock().drain().collect::<Vec<_>>(); in remove_recursive() localVariable
629 while let Some((_, child)) = children.pop() { in remove_recursive()
630 children.append(&mut child.children.lock().drain().collect::<Vec<_>>()); in remove_recursive()
639 parent.children.lock().remove(self.name()); in remove_inode_include_self()