Lines Matching refs:Option
69 fn bus(&self) -> Option<Weak<dyn Bus>> { in bus()
73 fn set_bus(&self, bus: Option<Weak<dyn Bus>>) { in set_bus()
76 fn class(&self) -> Option<Arc<dyn Class>> { in class()
85 fn set_class(&self, class: Option<Weak<dyn Class>>) { in set_class()
89 fn driver(&self) -> Option<Arc<dyn Driver>> { in driver()
93 fn set_driver(&self, driver: Option<Weak<dyn Driver>>) { in set_driver()
111 fn dev_parent(&self) -> Option<Weak<dyn Device>> { in dev_parent()
115 fn set_dev_parent(&self, dev_parent: Option<Weak<dyn Device>>) { in set_dev_parent()
125 fn set_inode(&self, inode: Option<Arc<KernFSInode>>) { in set_inode()
129 fn inode(&self) -> Option<Arc<KernFSInode>> { in inode()
133 fn parent(&self) -> Option<Weak<dyn KObject>> { in parent()
137 fn set_parent(&self, parent: Option<Weak<dyn KObject>>) { in set_parent()
141 fn kset(&self) -> Option<Arc<KSet>> { in kset()
145 fn set_kset(&self, kset: Option<Arc<KSet>>) { in set_kset()
149 fn kobj_type(&self) -> Option<&'static dyn KObjType> { in kobj_type()
153 fn set_kobj_type(&self, ktype: Option<&'static dyn KObjType>) { in set_kobj_type()