Home
last modified time | relevance | path

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

12

/DragonOS/kernel/src/driver/base/
H A 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 …]
H A Dsubsys.rs90 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 Dkobject.rs41 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 Dcpu.rs225 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 Ddevice_node.rs125 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 Dpt_driver.rs136 fn kset(&self) -> Option<Arc<KSet>> { in kset()
140 fn set_kset(&self, kset: Option<Arc<KSet>>) { in set_kset()
H A Dpt_device.rs190 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 Di8042_driver.rs155 fn kset(&self) -> Option<Arc<KSet>> { in kset()
159 fn set_kset(&self, kset: Option<Arc<KSet>>) { in set_kset()
H A Di8042_ports.rs138 fn kset(&self) -> Option<Arc<KSet>> { in kset()
142 fn set_kset(&self, kset: Option<Arc<KSet>>) { in set_kset()
H A Di8042_device.rs141 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 Drtc_cmos.rs170 fn kset(&self) -> Option<Arc<KSet>> { in kset()
174 fn set_kset(&self, kset: Option<Arc<KSet>>) { in set_kset()
H A Dsysfs.rs208 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 Dmod.rs324 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 Draw_device.rs196 fn kset(&self) -> Option<Arc<KSet>> { in kset()
200 fn set_kset(&self, kset: Option<Arc<KSet>>) { in set_kset()
H A Ddevice.rs156 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 Dps_mouse_driver.rs180 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 Drtc.rs197 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 Dvirtio_net.rs155 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 Dvirtio_blk.rs440 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 Dplatform_device.rs242 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 Dmod.rs110 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 Dahcidisk.rs423 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 Dvesafb.rs238 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 De1000e_driver.rs400 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 Dfbmem.rs295 fn kset(&self) -> Option<Arc<KSet>> { in kset()
299 fn set_kset(&self, kset: Option<Arc<KSet>>) { in set_kset()

12