/DragonOS/kernel/src/driver/base/device/ |
H A D | init.rs | 34 let parent = devices_kset.clone() as Arc<dyn KObject>; in devices_init() localVariable 57 let parent = dev_kset.clone() as Arc<dyn KObject>; in devices_init() localVariable 72 let parent = dev_kset.clone() as Arc<dyn KObject>; in devices_init() localVariable
|
/DragonOS/kernel/src/filesystem/sysfs/ |
H A D | dir.rs | 59 let parent = kobj in create_dir() localVariable 123 let parent = inode.parent().unwrap(); in remove_dir() localVariable
|
H A D | symlink.rs | 52 let parent = if let Some(kobj) = kobj { in do_create_link() localVariable 59 let parent = parent.ok_or(SystemError::EFAULT)?; in do_create_link() localVariable
|
H A D | file.rs | 182 let parent = kobj.inode(); in remove_file() localVariable 218 let parent = kobj.inode(); in remove_bin_file() localVariable
|
/DragonOS/kernel/crates/rbpf/src/ |
H A D | lib.rs | 595 parent: EbpfVmMbuff<'a>, field 624 let parent = EbpfVmMbuff::new(prog)?; in new() localVariable 1067 parent: EbpfVmMbuff<'a>, field 1088 let parent = EbpfVmMbuff::new(prog)?; in new() localVariable 1430 parent: EbpfVmRaw<'a>, field 1450 let parent = EbpfVmRaw::new(prog)?; in new() localVariable 1691 parent: EbpfVmRaw<'static>, field 1710 let parent = EbpfVmRaw::new(prog)?; in new() localVariable
|
/DragonOS/kernel/src/driver/open_firmware/ |
H A D | device_node.rs | 30 parent: Weak<DeviceNode>, field 69 pub fn parent(&self) -> Option<Arc<DeviceNode>> { in parent() method 117 fn parent(&self) -> Option<Weak<dyn KObject>> { in parent() method
|
/DragonOS/kernel/src/driver/input/serio/i8042/ |
H A D | i8042_driver.rs | 57 parent: Option<Weak<dyn KObject>>, field 147 fn parent(&self) -> Option<Weak<dyn KObject>> { in parent() method
|
H A D | i8042_ports.rs | 130 fn parent(&self) -> Option<Weak<dyn KObject>> { in parent() method
|
H A D | i8042_device.rs | 133 fn parent(&self) -> Option<Weak<dyn KObject>> { in parent() method
|
/DragonOS/kernel/src/filesystem/kernfs/ |
H A D | mod.rs | 144 parent: Weak<KernFSInode>, field 397 let parent: Weak<KernFSInode> = parent.map(|x| Arc::downgrade(&x)).unwrap_or_default(); in new() localVariable 613 pub fn parent(&self) -> Option<Arc<KernFSInode>> { in parent() method 637 let parent = self.parent(); in remove_inode_include_self() localVariable
|
/DragonOS/kernel/src/driver/base/ |
H A D | kset.rs | 162 fn parent(&self) -> Option<Weak<dyn KObject>> { in parent() method 209 parent: Option<Weak<dyn KObject>>, field
|
H A D | kobject.rs | 35 fn parent(&self) -> Option<Weak<dyn KObject>>; in parent() method 81 pub parent: Option<Weak<dyn KObject>>, field
|
/DragonOS/kernel/src/driver/input/ps2_mouse/ |
H A D | ps_mouse_driver.rs | 119 parent: Option<Weak<dyn KObject>>, field 172 fn parent(&self) -> Option<alloc::sync::Weak<dyn KObject>> { in parent() method
|
/DragonOS/kernel/src/filesystem/ramfs/ |
H A D | mod.rs | 56 parent: Weak<LockedRamFSInode>, field 637 fn parent(&self) -> Result<Arc<dyn IndexNode>, SystemError> { in parent() method
|
/DragonOS/kernel/src/namespaces/ |
H A D | user_namespace.rs | 45 parent: Option<Arc<UserNamespace>>, field
|
H A D | pid_namespace.rs | 37 parent: Option<Arc<PidNamespace>>, field
|
/DragonOS/kernel/src/filesystem/devfs/ |
H A D | mod.rs | 245 parent: Weak<LockedDevFSInode>, field 559 fn parent(&self) -> Result<Arc<dyn IndexNode>, SystemError> { in parent() method
|
/DragonOS/kernel/src/driver/pci/test/ |
H A D | pt_driver.rs | 128 fn parent(&self) -> Option<Weak<dyn KObject>> { in parent() method
|
/DragonOS/kernel/src/driver/rtc/ |
H A D | rtc_cmos.rs | 162 fn parent(&self) -> Option<Weak<dyn KObject>> { in parent() method
|
/DragonOS/kernel/src/libs/ |
H A D | rbtree.rs | 38 parent: NodePtr<K, V>, field 238 fn parent(&self) -> NodePtr<K, V> { in parent() method 953 let mut parent; in insert_fixup() localVariable 1300 let mut parent; in delete() localVariable
|
/DragonOS/kernel/src/driver/video/fbdev/ |
H A D | vesafb.rs | 230 fn parent(&self) -> Option<Weak<dyn KObject>> { in parent() method 724 parent: Option<Weak<dyn KObject>>, field 818 fn parent(&self) -> Option<Weak<dyn KObject>> { in parent() method
|
/DragonOS/kernel/src/driver/serial/serial8250/ |
H A D | mod.rs | 316 fn parent(&self) -> Option<Weak<dyn KObject>> { in parent() method 515 fn parent(&self) -> Option<Weak<dyn KObject>> { in parent() method
|
/DragonOS/kernel/src/driver/pci/ |
H A D | raw_device.rs | 188 fn parent(&self) -> Option<Weak<dyn KObject>> { in parent() method
|
H A D | device.rs | 136 fn parent(&self) -> Option<alloc::sync::Weak<dyn KObject>> { in parent() method
|
/DragonOS/kernel/src/arch/x86_64/driver/ |
H A D | rtc.rs | 189 fn parent(&self) -> Option<Weak<dyn KObject>> { in parent() method
|