Lines Matching refs:Some
198 if let Some(kset) = join_kset { in add_kobj()
202 kobj.set_parent(Some(Arc::downgrade(&(kset as Arc<dyn KObject>)))); in add_kobj()
210 if let Some(kset) = kobj.kset() { in add_kobj()
221 kobj.update_kobj_state(Some(KObjectState::IN_SYSFS), None); in add_kobj()
230 if let Some(ktype) = kobj.kobj_type() { in create_dir()
232 if let Some(groups) = groups { in create_dir()
247 if let Some(ktype) = ktype { in remove_kobj()
248 if let Some(groups) = ktype.attribute_groups() { in remove_kobj()
256 kobj.update_kobj_state(None, Some(KObjectState::IN_SYSFS)); in remove_kobj()
258 if let Some(kset) = kset { in remove_kobj()
275 Some(&KObjectSysFSOps) in sysfs_ops()