Home
last modified time | relevance | path

Searched defs:KSet (Results 1 – 22 of 22) sorted by relevance

/DragonOS-0.1.9/kernel/src/driver/base/
Dkset.rs19 pub struct KSet { struct
23 inner: RwLock<InnerKSet>, argument
27 parent_data: RwLock<KSetParentData>, argument
28 self_ref: Weak<KSet>, argument
31 impl Hash for KSet { implementation
38 impl core::cmp::Eq for KSet {} implementation
40 impl core::cmp::PartialEq for KSet { implementation
46 impl KSet { impl
76 join_kset: Option<Arc<KSet>>, in new_and_add()
149 impl KObject for KSet { implementation
[all …]
Dsubsys.rs85 pub fn subsys(&self) -> Arc<KSet> { in subsys()
128 pub fn devices_kset(&self) -> Option<Arc<KSet>> { in devices_kset()
134 pub fn set_devices_kset(&self, devices_kset: Arc<KSet>) { in set_devices_kset()
140 pub fn drivers_kset(&self) -> Option<Arc<KSet>> { in drivers_kset()
144 pub fn set_drivers_kset(&self, drivers_kset: Arc<KSet>) { in set_drivers_kset()
Dkobject.rs40 fn kset(&self) -> Option<Arc<KSet>>; in kset()
43 fn set_kset(&self, kset: Option<Arc<KSet>>); in set_kset()
168 join_kset: Option<Arc<KSet>>, in init_and_add_kobj()
181 join_kset: Option<Arc<KSet>>, in add_kobj()
Dcpu.rs214 fn kset(&self) -> Option<Arc<KSet>> { in kset()
218 fn set_kset(&self, kset: Option<Arc<KSet>>) { in set_kset()
/DragonOS-0.1.9/kernel/src/driver/open_firmware/
Ddevice_node.rs125 fn kset(&self) -> Option<Arc<KSet>> { in kset()
129 fn set_kset(&self, _kset: Option<Arc<KSet>>) { in set_kset()
/DragonOS-0.1.9/kernel/src/driver/input/serio/i8042/
Di8042_driver.rs155 fn kset(&self) -> Option<Arc<KSet>> { in kset()
159 fn set_kset(&self, kset: Option<Arc<KSet>>) { in set_kset()
Di8042_device.rs129 fn kset(&self) -> Option<Arc<KSet>> { in kset()
133 fn set_kset(&self, kset: Option<Arc<KSet>>) { in set_kset()
Di8042_ports.rs127 fn kset(&self) -> Option<Arc<KSet>> { in kset()
131 fn set_kset(&self, kset: Option<Arc<KSet>>) { in set_kset()
/DragonOS-0.1.9/kernel/src/driver/serial/serial8250/
Dmod.rs278 fn kset(&self) -> Option<Arc<KSet>> { in kset()
282 fn set_kset(&self, kset: Option<Arc<KSet>>) { in set_kset()
491 fn kset(&self) -> Option<Arc<KSet>> { in kset()
495 fn set_kset(&self, kset: Option<Arc<KSet>>) { in set_kset()
/DragonOS-0.1.9/kernel/src/driver/input/ps2_mouse/
Dps_mouse_driver.rs179 fn kset(&self) -> Option<Arc<KSet>> { in kset()
183 fn set_kset(&self, kset: Option<Arc<KSet>>) { in set_kset()
Dps_mouse_device.rs540 fn kset(&self) -> Option<alloc::sync::Arc<KSet>> { in kset()
544 fn set_kset(&self, kset: Option<alloc::sync::Arc<KSet>>) { in set_kset()
/DragonOS-0.1.9/kernel/src/driver/base/platform/
Dplatform_device.rs247 fn kset(&self) -> Option<Arc<KSet>> { in kset()
271 fn set_kset(&self, kset: Option<Arc<KSet>>) { in set_kset()
/DragonOS-0.1.9/kernel/src/driver/disk/ahci/
Dahcidisk.rs448 fn kset(&self) -> Option<Arc<KSet>> { in kset()
480 fn set_kset(&self, _kset: Option<Arc<KSet>>) { in set_kset()
/DragonOS-0.1.9/kernel/src/driver/net/e1000e/
De1000e_driver.rs303 fn kset(&self) -> Option<Arc<crate::driver::base::kset::KSet>> { in kset()
307 fn set_kset(&self, _kset: Option<Arc<crate::driver::base::kset::KSet>>) { in set_kset()
/DragonOS-0.1.9/kernel/src/driver/video/fbdev/
Dvesafb.rs240 fn kset(&self) -> Option<Arc<KSet>> { in kset()
244 fn set_kset(&self, kset: Option<Arc<KSet>>) { in set_kset()
732 fn kset(&self) -> Option<Arc<KSet>> { in kset()
736 fn set_kset(&self, kset: Option<Arc<KSet>>) { in set_kset()
/DragonOS-0.1.9/kernel/src/driver/net/
Dvirtio_net.rs377 fn kset(&self) -> Option<Arc<crate::driver::base::kset::KSet>> { in kset()
381 fn set_kset(&self, _kset: Option<Arc<crate::driver::base::kset::KSet>>) { in set_kset()
/DragonOS-0.1.9/kernel/src/driver/video/fbdev/base/
Dfbmem.rs293 fn kset(&self) -> Option<Arc<KSet>> { in kset()
297 fn set_kset(&self, kset: Option<Arc<KSet>>) { in set_kset()
/DragonOS-0.1.9/kernel/src/driver/tty/
Dtty_device.rs377 fn kset(&self) -> Option<Arc<crate::driver::base::kset::KSet>> { in kset()
381 fn set_kset(&self, kset: Option<Arc<crate::driver::base::kset::KSet>>) { in set_kset()
Dtty_driver.rs290 fn kset(&self) -> Option<alloc::sync::Arc<crate::driver::base::kset::KSet>> { in kset()
294 fn set_kset(&self, _kset: Option<alloc::sync::Arc<crate::driver::base::kset::KSet>>) { in set_kset()
/DragonOS-0.1.9/kernel/src/driver/base/device/
Dmod.rs101 pub(self) unsafe fn set_sys_dev_block_kset(kset: Arc<KSet>) { in set_sys_dev_block_kset()
105 pub(self) unsafe fn set_sys_dev_char_kset(kset: Arc<KSet>) { in set_sys_dev_char_kset()
114 pub(self) unsafe fn set_sys_devices_virtual_kset(kset: Arc<KSet>) { in set_sys_devices_virtual_kset()
/DragonOS-0.1.9/kernel/src/driver/video/fbdev/base/fbcon/
Dmod.rs146 fn kset(&self) -> Option<Arc<KSet>> { in kset()
150 fn set_kset(&self, kset: Option<Arc<KSet>>) { in set_kset()
/DragonOS-0.1.9/kernel/src/exception/
Dirqdesc.rs557 fn kset(&self) -> Option<Arc<KSet>> { in kset()
561 fn set_kset(&self, kset: Option<Arc<KSet>>) { in set_kset()