Lines Matching refs:parent
81 root_inode.inner.write().parent = Arc::downgrade(&root_inode); in new()
106 parent: Weak::new(), in create_root_inode()
144 parent: Weak<KernFSInode>, field
241 .parent in find()
389 parent: Option<Arc<KernFSInode>>, in new()
397 let parent: Weak<KernFSInode> = parent.map(|x| Arc::downgrade(&x)).unwrap_or_default(); in new() localVariable
402 parent: parent.clone(), in new()
421 if parent.strong_count() > 0 { in new()
422 let kernfs = parent in new()
613 pub fn parent(&self) -> Option<Arc<KernFSInode>> { in parent() method
614 return self.inner.read().parent.upgrade(); in parent()
637 let parent = self.parent(); in remove_inode_include_self() localVariable
638 if let Some(parent) = parent { in remove_inode_include_self()
639 parent.children.lock().remove(self.name()); in remove_inode_include_self()