Lines Matching refs:clone
36 return __SYS_DEVICES_INODE.as_ref().unwrap().clone(); in SYS_DEVICES_INODE()
45 return __SYS_BUS_INODE.as_ref().unwrap().clone(); in SYS_BUS_INODE()
54 return __SYS_CLASS_INODE.as_ref().unwrap().clone(); in SYS_CLASS_INODE()
63 return __SYS_FS_INODE.as_ref().unwrap().clone(); in SYS_FS_INODE()
80 return self.root_inode.clone(); in root_inode()
201 return Ok(self.0.lock().metadata.clone()); in metadata()
260 return Ok(inode.children.get(name).ok_or(SystemError::ENOENT)?.clone()); in find()
304 parent: guard.self_ref.clone(), in do_create_with_data()
323 fs: guard.fs.clone(), in do_create_with_data()
330 guard.children.insert(String::from(_name), result.clone()); in do_create_with_data()
380 .clone() in link()