/DragonOS/kernel/src/driver/base/ |
H A D | kset.rs | 19 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 …]
|
H A D | subsys.rs | 90 pub fn subsys(&self) -> Arc<KSet> { in subsys() 139 pub fn devices_kset(&self) -> Option<Arc<KSet>> { in devices_kset() 145 pub fn set_devices_kset(&self, devices_kset: Arc<KSet>) { in set_devices_kset() 151 pub fn drivers_kset(&self) -> Option<Arc<KSet>> { in drivers_kset() 155 pub fn set_drivers_kset(&self, drivers_kset: Arc<KSet>) { in set_drivers_kset()
|
H A D | kobject.rs | 41 fn kset(&self) -> Option<Arc<KSet>>; in kset() 44 fn set_kset(&self, kset: Option<Arc<KSet>>); in set_kset() 183 join_kset: Option<Arc<KSet>>, in init_and_add_kobj() 196 join_kset: Option<Arc<KSet>>, in add_kobj()
|
H A D | cpu.rs | 225 fn kset(&self) -> Option<Arc<KSet>> { in kset() 229 fn set_kset(&self, kset: Option<Arc<KSet>>) { in set_kset()
|
/DragonOS/kernel/src/driver/open_firmware/ |
H A D | device_node.rs | 125 fn kset(&self) -> Option<Arc<KSet>> { in kset() 129 fn set_kset(&self, _kset: Option<Arc<KSet>>) { in set_kset()
|
/DragonOS/kernel/src/driver/pci/test/ |
H A D | pt_driver.rs | 136 fn kset(&self) -> Option<Arc<KSet>> { in kset() 140 fn set_kset(&self, kset: Option<Arc<KSet>>) { in set_kset()
|
H A D | pt_device.rs | 190 fn kset(&self) -> Option<Arc<KSet>> { in kset() 194 fn set_kset(&self, kset: Option<Arc<KSet>>) { in set_kset()
|
/DragonOS/kernel/src/driver/input/serio/i8042/ |
H A D | i8042_driver.rs | 155 fn kset(&self) -> Option<Arc<KSet>> { in kset() 159 fn set_kset(&self, kset: Option<Arc<KSet>>) { in set_kset()
|
H A D | i8042_ports.rs | 138 fn kset(&self) -> Option<Arc<KSet>> { in kset() 142 fn set_kset(&self, kset: Option<Arc<KSet>>) { in set_kset()
|
H A D | i8042_device.rs | 141 fn kset(&self) -> Option<Arc<KSet>> { in kset() 145 fn set_kset(&self, kset: Option<Arc<KSet>>) { in set_kset()
|
/DragonOS/kernel/src/driver/rtc/ |
H A D | rtc_cmos.rs | 170 fn kset(&self) -> Option<Arc<KSet>> { in kset() 174 fn set_kset(&self, kset: Option<Arc<KSet>>) { in set_kset()
|
H A D | sysfs.rs | 208 fn kset(&self) -> Option<Arc<KSet>> { in kset() 212 fn set_kset(&self, kset: Option<Arc<KSet>>) { in set_kset()
|
/DragonOS/kernel/src/driver/serial/serial8250/ |
H A D | mod.rs | 324 fn kset(&self) -> Option<Arc<KSet>> { in kset() 328 fn set_kset(&self, kset: Option<Arc<KSet>>) { in set_kset() 523 fn kset(&self) -> Option<Arc<KSet>> { in kset() 527 fn set_kset(&self, kset: Option<Arc<KSet>>) { in set_kset()
|
/DragonOS/kernel/src/driver/pci/ |
H A D | raw_device.rs | 196 fn kset(&self) -> Option<Arc<KSet>> { in kset() 200 fn set_kset(&self, kset: Option<Arc<KSet>>) { in set_kset()
|
H A D | device.rs | 156 fn kset(&self) -> Option<Arc<KSet>> { in kset() 182 fn set_kset(&self, kset: Option<Arc<KSet>>) { in set_kset()
|
/DragonOS/kernel/src/driver/input/ps2_mouse/ |
H A D | ps_mouse_driver.rs | 180 fn kset(&self) -> Option<Arc<KSet>> { in kset() 184 fn set_kset(&self, kset: Option<Arc<KSet>>) { in set_kset()
|
/DragonOS/kernel/src/arch/x86_64/driver/ |
H A D | rtc.rs | 197 fn kset(&self) -> Option<Arc<KSet>> { in kset() 201 fn set_kset(&self, kset: Option<Arc<KSet>>) { in set_kset()
|
/DragonOS/kernel/src/driver/net/ |
H A D | virtio_net.rs | 155 fn kset(&self) -> Option<Arc<KSet>> { in kset() 159 fn set_kset(&self, kset: Option<Arc<KSet>>) { in set_kset() 741 fn kset(&self) -> Option<Arc<KSet>> { in kset() 745 fn set_kset(&self, kset: Option<Arc<KSet>>) { in set_kset() 946 fn kset(&self) -> Option<Arc<KSet>> { in kset() 950 fn set_kset(&self, kset: Option<Arc<KSet>>) { in set_kset()
|
/DragonOS/kernel/src/driver/block/ |
H A D | virtio_blk.rs | 440 fn kset(&self) -> Option<Arc<KSet>> { in kset() 444 fn set_kset(&self, kset: Option<Arc<KSet>>) { in set_kset() 627 fn kset(&self) -> Option<Arc<KSet>> { in kset() 631 fn set_kset(&self, kset: Option<Arc<KSet>>) { in set_kset()
|
/DragonOS/kernel/src/driver/base/platform/ |
H A D | platform_device.rs | 242 fn kset(&self) -> Option<Arc<KSet>> { in kset() 266 fn set_kset(&self, kset: Option<Arc<KSet>>) { in set_kset()
|
/DragonOS/kernel/src/driver/base/device/ |
H A D | mod.rs | 110 unsafe fn set_sys_dev_block_kset(kset: Arc<KSet>) { in set_sys_dev_block_kset() 114 unsafe fn set_sys_dev_char_kset(kset: Arc<KSet>) { in set_sys_dev_char_kset() 123 unsafe fn set_sys_devices_virtual_kset(kset: Arc<KSet>) { in set_sys_devices_virtual_kset() 1081 fn kset(&self) -> Option<Arc<KSet>> { in kset() 1085 fn set_kset(&self, kset: Option<Arc<KSet>>) { in set_kset()
|
/DragonOS/kernel/src/driver/disk/ahci/ |
H A D | ahcidisk.rs | 423 fn kset(&self) -> Option<Arc<KSet>> { in kset() 455 fn set_kset(&self, _kset: Option<Arc<KSet>>) { in set_kset()
|
/DragonOS/kernel/src/driver/video/fbdev/ |
H A D | vesafb.rs | 238 fn kset(&self) -> Option<Arc<KSet>> { in kset() 242 fn set_kset(&self, kset: Option<Arc<KSet>>) { in set_kset() 826 fn kset(&self) -> Option<Arc<KSet>> { in kset() 830 fn set_kset(&self, kset: Option<Arc<KSet>>) { in set_kset()
|
/DragonOS/kernel/src/driver/net/e1000e/ |
H A D | e1000e_driver.rs | 400 fn kset(&self) -> Option<Arc<crate::driver::base::kset::KSet>> { in kset() 404 fn set_kset(&self, kset: Option<Arc<crate::driver::base::kset::KSet>>) { in set_kset()
|
/DragonOS/kernel/src/driver/video/fbdev/base/ |
H A D | fbmem.rs | 295 fn kset(&self) -> Option<Arc<KSet>> { in kset() 299 fn set_kset(&self, kset: Option<Arc<KSet>>) { in set_kset()
|