Lines Matching refs:Option

30     fn set_inode(&self, inode: Option<Arc<KernFSInode>>);  in set_inode()
33 fn inode(&self) -> Option<Arc<KernFSInode>>; in inode()
35 fn parent(&self) -> Option<Weak<dyn KObject>>; in parent()
38 fn set_parent(&self, parent: Option<Weak<dyn KObject>>); in set_parent()
41 fn kset(&self) -> Option<Arc<KSet>>; in kset()
44 fn set_kset(&self, kset: Option<Arc<KSet>>); in set_kset()
46 fn kobj_type(&self) -> Option<&'static dyn KObjType>; in kobj_type()
48 fn set_kobj_type(&self, ktype: Option<&'static dyn KObjType>); in set_kobj_type()
63 pub fn update_kobj_state(&self, insert: Option<KObjectState>, remove: Option<KObjectState>) { in update_kobj_state()
80 pub kern_inode: Option<Arc<KernFSInode>>,
81 pub parent: Option<Weak<dyn KObject>>,
82 pub kset: Option<Arc<KSet>>,
83 pub kobj_type: Option<&'static dyn KObjType>,
87 pub fn get_parent_or_clear_weak(&mut self) -> Option<Weak<dyn KObject>> { in get_parent_or_clear_weak()
95 fn sysfs_ops(&self) -> Option<&dyn SysFSOps>; in sysfs_ops()
97 fn attribute_groups(&self) -> Option<&'static [&'static dyn AttributeGroup]>; in attribute_groups()
114 pub fn new(state: Option<KObjectState>) -> LockedKObjectState { in new()
183 join_kset: Option<Arc<KSet>>, in init_and_add_kobj()
184 kobj_type: Option<&'static dyn KObjType>, in init_and_add_kobj()
190 pub fn kobj_init(kobj: &Arc<dyn KObject>, kobj_type: Option<&'static dyn KObjType>) { in kobj_init()
196 join_kset: Option<Arc<KSet>>, in add_kobj()
274 fn sysfs_ops(&self) -> Option<&dyn SysFSOps> { in sysfs_ops()
278 fn attribute_groups(&self) -> Option<&'static [&'static dyn AttributeGroup]> { in attribute_groups()