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()
199 return Ok(self.0.lock().metadata.clone()); in metadata()
258 return Ok(inode.children.get(name).ok_or(SystemError::ENOENT)?.clone()); in find()
302 parent: guard.self_ref.clone(), in do_create_with_data()
321 fs: guard.fs.clone(), in do_create_with_data()
328 guard.children.insert(String::from(_name), result.clone()); in do_create_with_data()
378 .clone() in link()