Lines Matching refs:inner
120 inner: RwLock<InnerFrameBufferManager>, field
133 inner: RwLock::new(InnerFrameBufferManager { in new()
168 let mut inner = self.inner.write(); in register_fb() localVariable
169 inner.registered_fbs[id.data() as usize] = Some(fb.clone() as Arc<dyn FrameBuffer>); in register_fb()
190 let inner = self.inner.read(); in find_fb_by_id() localVariable
191 return Ok(inner.registered_fbs[id.data() as usize].clone()); in find_fb_by_id()
196 if self.inner.read().registered_fbs[i].is_none() { in generate_fb_id()
212 inner: SpinLock<InnerFbDevice>, field
220 inner: SpinLock::new(InnerFbDevice { in new()
234 let mut inner_guard = r.inner.lock(); in new()
243 self.inner.lock().fb.upgrade() in framebuffer()
248 let inner_guard = self.inner.lock(); in device_number()
256 fn inner(&self) -> SpinLockGuard<InnerFbDevice> { in inner() method
257 self.inner.lock() in inner()
280 self.inner().kobject_common.kern_inode = inode; in set_inode()
284 self.inner().kobject_common.kern_inode.clone() in inode()
288 self.inner().kobject_common.parent.clone() in parent()
292 self.inner().kobject_common.parent = parent; in set_parent()
296 self.inner().kobject_common.kset.clone() in kset()
300 self.inner().kobject_common.kset = kset; in set_kset()
304 self.inner().kobject_common.kobj_type in kobj_type()
308 self.inner().kobject_common.kobj_type = ktype; in set_kobj_type()
312 format!("{}{}", Self::BASENAME, self.inner.lock().fb_id.data()) in name()
381 self.inner().device_common.get_parent_weak_or_clear() in dev_parent()
385 self.inner().device_common.parent = dev_parent; in set_dev_parent()
391 self.inner.lock().device_inode_fs = Some(fs); in set_fs()
414 let fb = self.inner.lock().fb.upgrade().unwrap(); in read_at()
425 let fb = self.inner.lock().fb.upgrade().unwrap(); in write_at()
430 self.inner in fs()
448 Ok(self.inner.lock().devfs_metadata.clone()) in metadata()