/DragonOS/kernel/src/driver/base/device/ |
H A D | init.rs | 35 virtual_kset.set_parent(Some(Arc::downgrade(&parent))); in devices_init() 58 dev_block_kset.set_parent(Some(Arc::downgrade(&parent))); in devices_init() 73 dev_char_kset.set_parent(Some(Arc::downgrade(&parent))); in devices_init()
|
H A D | mod.rs | 518 device.set_parent(Some(Arc::downgrade(&kobject_parent))); in add_device() 586 class_dir.set_parent(Some(Arc::downgrade(&kobject_parent))); in class_dir_create_and_add() 1077 fn set_parent(&self, parent: Option<Weak<dyn KObject>>) { in set_parent() method
|
H A D | bus.rs | 543 devices_system_kset.set_parent(Some(Arc::downgrade(&parent))); in buses_init() 856 fake_root_dev.set_parent(Some(Arc::downgrade(parent_of_root))); in subsys_register()
|
/DragonOS/kernel/src/driver/base/ |
H A D | kobject.rs | 38 fn set_parent(&self, parent: Option<Weak<dyn KObject>>); in set_parent() method 202 kobj.set_parent(Some(Arc::downgrade(&(kset as Arc<dyn KObject>)))); in add_kobj() 213 kobj.set_parent(None); in add_kobj() 261 kobj.set_parent(None); in remove_kobj()
|
H A D | kset.rs | 80 kset.set_parent(Some(Arc::downgrade(&parent_kobj))); in new_and_add() 166 fn set_parent(&self, parent: Option<Weak<dyn KObject>>) { in set_parent() method
|
H A D | cpu.rs | 221 fn set_parent(&self, parent: Option<Weak<dyn KObject>>) { in set_parent() method
|
/DragonOS/kernel/src/libs/ |
H A D | rbtree.rs | 214 fn set_parent(&mut self, parent: NodePtr<K, V>) { in set_parent() method 277 node.left().set_parent(node); in deep_clone() 281 node.right().set_parent(node); in deep_clone() 873 temp.left().set_parent(node); in left_rotate() 876 temp.set_parent(node.parent()); in left_rotate() 886 node.set_parent(temp); in left_rotate() 908 temp.right().set_parent(node); in right_rotate() 911 temp.set_parent(node.parent()); in right_rotate() 921 node.set_parent(temp); in right_rotate() 1025 node.set_parent(y); in insert() [all …]
|
/DragonOS/kernel/src/driver/open_firmware/ |
H A D | device_node.rs | 73 pub fn set_parent(&self, parent: Arc<DeviceNode>) { in set_parent() method 121 fn set_parent(&self, _parent: Option<Weak<dyn KObject>>) { in set_parent() method
|
/DragonOS/kernel/src/driver/pci/ |
H A D | device.rs | 116 bus_device.set_parent(parent); in new() 186 fn set_parent(&self, parent: Option<Weak<dyn KObject>>) { in set_parent() method
|
H A D | raw_device.rs | 192 fn set_parent(&self, parent: Option<Weak<dyn KObject>>) { in set_parent() method
|
/DragonOS/kernel/src/driver/base/platform/ |
H A D | platform_device.rs | 147 platform_bus_device.set_parent(parent); in new() 270 fn set_parent(&self, parent: Option<Weak<dyn KObject>>) { in set_parent() method
|
/DragonOS/kernel/src/driver/pci/test/ |
H A D | pt_driver.rs | 132 fn set_parent(&self, parent: Option<Weak<dyn KObject>>) { in set_parent() method
|
H A D | pt_device.rs | 186 fn set_parent(&self, parent: Option<Weak<dyn KObject>>) { in set_parent() method
|
/DragonOS/kernel/src/driver/input/serio/i8042/ |
H A D | i8042_ports.rs | 134 fn set_parent(&self, parent: Option<Weak<dyn KObject>>) { in set_parent() method
|
H A D | i8042_device.rs | 137 fn set_parent(&self, parent: Option<Weak<dyn KObject>>) { in set_parent() method
|
H A D | i8042_driver.rs | 151 fn set_parent(&self, parent: Option<Weak<dyn KObject>>) { in set_parent() method
|
/DragonOS/kernel/src/driver/serial/serial8250/ |
H A D | mod.rs | 320 fn set_parent(&self, parent: Option<Weak<dyn KObject>>) { in set_parent() method 519 fn set_parent(&self, parent: Option<Weak<dyn KObject>>) { in set_parent() method
|
/DragonOS/kernel/src/driver/rtc/ |
H A D | rtc_cmos.rs | 166 fn set_parent(&self, parent: Option<Weak<dyn KObject>>) { in set_parent() method
|
H A D | sysfs.rs | 204 fn set_parent(&self, parent: Option<Weak<dyn KObject>>) { in set_parent() method
|
/DragonOS/kernel/src/driver/net/ |
H A D | virtio_net.rs | 151 fn set_parent(&self, parent: Option<Weak<dyn KObject>>) { in set_parent() method 737 fn set_parent(&self, parent: Option<Weak<dyn KObject>>) { in set_parent() method 942 fn set_parent(&self, parent: Option<Weak<dyn KObject>>) { in set_parent() method
|
/DragonOS/kernel/src/driver/block/ |
H A D | virtio_blk.rs | 436 fn set_parent(&self, parent: Option<Weak<dyn KObject>>) { in set_parent() method 623 fn set_parent(&self, parent: Option<Weak<dyn KObject>>) { in set_parent() method
|
/DragonOS/kernel/src/driver/input/ps2_mouse/ |
H A D | ps_mouse_driver.rs | 176 fn set_parent(&self, parent: Option<alloc::sync::Weak<dyn KObject>>) { in set_parent() method
|
/DragonOS/kernel/src/arch/x86_64/driver/ |
H A D | rtc.rs | 193 fn set_parent(&self, parent: Option<Weak<dyn KObject>>) { in set_parent() method
|
/DragonOS/kernel/src/driver/video/fbdev/base/fbcon/ |
H A D | mod.rs | 142 fn set_parent(&self, parent: Option<Weak<dyn KObject>>) { in set_parent() method
|
/DragonOS/kernel/src/driver/video/fbdev/base/ |
H A D | fbmem.rs | 291 fn set_parent(&self, parent: Option<Weak<dyn KObject>>) { in set_parent() method
|