Lines Matching refs:Option
46 static mut SERIAL8250_ISA_DEVICES: Option<Arc<Serial8250ISADevices>> = None;
47 static mut SERIAL8250_ISA_DRIVER: Option<Arc<Serial8250ISADriver>> = None;
186 fn device(&self) -> Option<Arc<Serial8250ISADevices>> { in device()
189 fn set_device(&self, device: Option<&Arc<Serial8250ISADevices>>); in set_device()
254 fn bus(&self) -> Option<Weak<dyn Bus>> { in bus()
258 fn set_bus(&self, bus: Option<Weak<dyn Bus>>) { in set_bus()
270 fn driver(&self) -> Option<Arc<dyn Driver>> { in driver()
274 fn set_driver(&self, driver: Option<Weak<dyn Driver>>) { in set_driver()
290 fn set_class(&self, _class: Option<Weak<dyn Class>>) { in set_class()
294 fn dev_parent(&self) -> Option<Weak<dyn Device>> { in dev_parent()
298 fn set_dev_parent(&self, dev_parent: Option<Weak<dyn Device>>) { in set_dev_parent()
308 fn set_inode(&self, inode: Option<Arc<KernFSInode>>) { in set_inode()
312 fn inode(&self) -> Option<Arc<KernFSInode>> { in inode()
316 fn parent(&self) -> Option<Weak<dyn KObject>> { in parent()
320 fn set_parent(&self, parent: Option<Weak<dyn KObject>>) { in set_parent()
324 fn kset(&self) -> Option<Arc<KSet>> { in kset()
328 fn set_kset(&self, kset: Option<Arc<KSet>>) { in set_kset()
332 fn kobj_type(&self) -> Option<&'static dyn KObjType> { in kobj_type()
336 fn set_kobj_type(&self, _ktype: Option<&'static dyn KObjType>) { in set_kobj_type()
387 bus: Option<Weak<dyn Bus>>,
388 kobj_type: Option<&'static dyn KObjType>,
389 kset: Option<Arc<KSet>>,
390 parent_kobj: Option<Weak<dyn KObject>>,
391 kern_inode: Option<Arc<KernFSInode>>,
475 fn id_table(&self) -> Option<IdTable> { in id_table()
493 fn bus(&self) -> Option<Weak<dyn Bus>> { in bus()
497 fn set_bus(&self, bus: Option<Weak<dyn Bus>>) { in set_bus()
507 fn set_inode(&self, inode: Option<Arc<KernFSInode>>) { in set_inode()
511 fn inode(&self) -> Option<Arc<KernFSInode>> { in inode()
515 fn parent(&self) -> Option<Weak<dyn KObject>> { in parent()
519 fn set_parent(&self, parent: Option<Weak<dyn KObject>>) { in set_parent()
523 fn kset(&self) -> Option<Arc<KSet>> { in kset()
527 fn set_kset(&self, kset: Option<Arc<KSet>>) { in set_kset()
531 fn kobj_type(&self) -> Option<&'static dyn KObjType> { in kobj_type()
535 fn set_kobj_type(&self, ktype: Option<&'static dyn KObjType>) { in set_kobj_type()