Lines Matching refs:KObject
10 DynamicKObjKType, KObjType, KObject, KObjectManager, KObjectState, LockedKObjectState,
21 kobjects: RwLock<Vec<Weak<dyn KObject>>>,
75 parent_kobj: Option<Arc<dyn KObject>>, in new_and_add() argument
109 pub fn join(&self, kobj: &Arc<dyn KObject>) { in join() argument
116 pub fn leave(&self, kobj: &Arc<dyn KObject>) { in leave() argument
140 pub fn as_kobject(&self) -> Arc<dyn KObject> { in as_kobject() argument
144 pub fn kobjects(&self) -> RwLockReadGuard<Vec<Weak<dyn KObject>>> { in kobjects() argument
149 impl KObject for KSet {
162 fn parent(&self) -> Option<Weak<dyn KObject>> { in parent() argument
166 fn set_parent(&self, parent: Option<Weak<dyn KObject>>) { in set_parent() argument
209 parent: Option<Weak<dyn KObject>>,
214 fn new(parent: Option<Weak<dyn KObject>>, kset: Option<Arc<KSet>>) -> Self { in new() argument