Lines Matching refs:Option
65 fn bus(&self) -> Option<Weak<dyn Bus>> { in bus()
69 fn set_bus(&self, bus: Option<Weak<dyn Bus>>) { in set_bus()
73 fn set_class(&self, class: Option<Weak<dyn Class>>) { in set_class()
77 fn class(&self) -> Option<Arc<dyn Class>> { in class()
86 fn driver(&self) -> Option<Arc<dyn Driver>> { in driver()
90 fn set_driver(&self, driver: Option<Weak<dyn Driver>>) { in set_driver()
108 fn dev_parent(&self) -> Option<Weak<dyn Device>> { in dev_parent()
112 fn set_dev_parent(&self, parent: Option<Weak<dyn Device>>) { in set_dev_parent()
122 fn set_inode(&self, inode: Option<Arc<KernFSInode>>) { in set_inode()
126 fn inode(&self) -> Option<Arc<KernFSInode>> { in inode()
130 fn parent(&self) -> Option<Weak<dyn KObject>> { in parent()
134 fn set_parent(&self, parent: Option<Weak<dyn KObject>>) { in set_parent()
138 fn kset(&self) -> Option<Arc<KSet>> { in kset()
142 fn set_kset(&self, kset: Option<Arc<KSet>>) { in set_kset()
146 fn kobj_type(&self) -> Option<&'static dyn KObjType> { in kobj_type()
150 fn set_kobj_type(&self, ktype: Option<&'static dyn KObjType>) { in set_kobj_type()