Searched defs:kobj (Results 1 – 5 of 5) sorted by relevance
30 kobj: Weak<dyn KObject>, field46 let kobj = Arc::downgrade(kobj); in new() localVariable63 let kobj = self.kobj.upgrade().expect("kobj is None"); in callback_read() localVariable76 let kobj = self.kobj.upgrade().expect("kobj is None"); in callback_read() localVariable86 let kobj = self.kobj.upgrade().expect("kobj is None"); in callback_write() localVariable90 let kobj = self.kobj.upgrade().expect("kobj is None"); in callback_write() localVariable122 let kobj: Arc<dyn KObject>; in add_file_with_mode() localVariable240 let kobj: Arc<dyn KObject>; in add_bin_file_with_mode() localVariable
23 kobj: Weak<dyn KObject>, field36 pub fn kobj(&self) -> Option<Arc<dyn KObject>> { in kobj() method
273 let kobj = driver.clone() as Arc<dyn KObject>; in add_groups() localVariable278 let kobj = driver.clone() as Arc<dyn KObject>; in remove_groups() localVariable293 let kobj = driver.clone() as Arc<dyn KObject>; in create_attr_file() localVariable306 let kobj = driver.clone() as Arc<dyn KObject>; in remove_attr_file() localVariable
780 let kobj = dev.clone() as Arc<dyn KObject>; in add_groups() localVariable795 let kobj = dev.clone() as Arc<dyn KObject>; in remove_groups() localVariable829 let kobj = dev.clone() as Arc<dyn KObject>; in create_file() localVariable845 let kobj = self.device_to_dev_kobj(dev); in remove_sys_dev_entry() localVariable859 let kobj = sys_dev_char_kset().as_kobject(); in device_to_dev_kobj() localVariable
303 let kobj = driver.clone() as Arc<dyn KObject>; in add_driver() localVariable