Lines Matching refs:inode
399 let inode = Arc::new(KernFSInode { in new() localVariable
416 let ptr = inode.as_ref() as *const KernFSInode as *mut KernFSInode; in new()
418 (*ptr).self_ref = Arc::downgrade(&inode); in new()
428 *inode.fs.write() = Arc::downgrade(&kernfs); in new()
430 return inode; in new()
568 let inode = children.get(name).ok_or(SystemError::ENOENT)?; in remove() localVariable
569 if inode.children.lock().is_empty() { in remove()
595 let inode = self.inner_create( in add_link() localVariable
604 inode.inner.write().symlink_target = Some(Arc::downgrade(target)); in add_link()
605 inode.inner.write().symlink_target_absolute_path = Some(target_absolute_path); in add_link()
606 return Ok(inode); in add_link()