Searched refs:vcdev (Results 1 – 1 of 1) sorted by relevance
75 vcdev: Option<Arc<TtyDevice>>, field84 inner: SpinLock::new(InnerVirtConsole { vcdev: None }), in new()111 let vcdev = TtyDevice::new( in devfs_setup() localVariable117 device_register(vcdev.clone())?; in devfs_setup()118 devfs_register(vcdev.name_ref(), vcdev.clone())?; in devfs_setup()120 self.inner.lock().vcdev = Some(vcdev); in devfs_setup()126 let vcdev = self.inner.lock().vcdev.take(); in devfs_remove() localVariable127 if let Some(vcdev) = vcdev { in devfs_remove()128 devfs_unregister(vcdev.name_ref(), vcdev.clone()) in devfs_remove()