Lines Matching refs:clone
38 return self.root_inode.clone(); in root_inode()
85 let dev_root: Arc<LockedDevFSInode> = self.root_inode.clone(); in register_bultinin_device()
103 let dev_root_inode: Arc<LockedDevFSInode> = self.root_inode.clone(); in register_device()
118 dev_char_inode.add_dev(name, device.clone())?; in register_device()
122 dev_root_inode.add_dev(name, device.clone())?; in register_device()
124 device.set_fs(dev_char_inode.0.lock().fs.clone()); in register_device()
137 dev_block_inode.add_dev(name, device.clone())?; in register_device()
138 device.set_fs(dev_block_inode.0.lock().fs.clone()); in register_device()
154 let dev_root_inode: Arc<LockedDevFSInode> = self.root_inode.clone(); in unregister_device()
307 parent: guard.self_ref.clone(), in do_create_with_data()
326 fs: guard.fs.clone(), in do_create_with_data()
333 guard.children.insert(String::from(_name), result.clone()); in do_create_with_data()
384 return Ok(inode.children.get(name).ok_or(SystemError::ENOENT)?.clone()); in find()
444 return Ok(self.0.lock().metadata.clone()); in metadata()