Home
last modified time | relevance | path

Searched defs:kobj (Results 1 – 5 of 5) sorted by relevance

/DragonOS/kernel/src/filesystem/sysfs/
H A Dfile.rs30 kobj: Weak<dyn KObject>, field
46 let kobj = Arc::downgrade(kobj); in new() localVariable
63 let kobj = self.kobj.upgrade().expect("kobj is None"); in callback_read() localVariable
76 let kobj = self.kobj.upgrade().expect("kobj is None"); in callback_read() localVariable
86 let kobj = self.kobj.upgrade().expect("kobj is None"); in callback_write() localVariable
90 let kobj = self.kobj.upgrade().expect("kobj is None"); in callback_write() localVariable
122 let kobj: Arc<dyn KObject>; in add_file_with_mode() localVariable
240 let kobj: Arc<dyn KObject>; in add_bin_file_with_mode() localVariable
H A Ddir.rs23 kobj: Weak<dyn KObject>, field
36 pub fn kobj(&self) -> Option<Arc<dyn KObject>> { in kobj() method
/DragonOS/kernel/src/driver/base/device/
H A Ddriver.rs273 let kobj = driver.clone() as Arc<dyn KObject>; in add_groups() localVariable
278 let kobj = driver.clone() as Arc<dyn KObject>; in remove_groups() localVariable
293 let kobj = driver.clone() as Arc<dyn KObject>; in create_attr_file() localVariable
306 let kobj = driver.clone() as Arc<dyn KObject>; in remove_attr_file() localVariable
H A Dmod.rs780 let kobj = dev.clone() as Arc<dyn KObject>; in add_groups() localVariable
795 let kobj = dev.clone() as Arc<dyn KObject>; in remove_groups() localVariable
829 let kobj = dev.clone() as Arc<dyn KObject>; in create_file() localVariable
845 let kobj = self.device_to_dev_kobj(dev); in remove_sys_dev_entry() localVariable
859 let kobj = sys_dev_char_kset().as_kobject(); in device_to_dev_kobj() localVariable
H A Dbus.rs303 let kobj = driver.clone() as Arc<dyn KObject>; in add_driver() localVariable