Home
last modified time | relevance | path

Searched defs:parent (Results 1 – 25 of 49) sorted by relevance

12

/DragonOS/kernel/src/driver/base/device/
H A Dinit.rs34 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 Ddir.rs59 let parent = kobj in create_dir() localVariable
123 let parent = inode.parent().unwrap(); in remove_dir() localVariable
H A Dsymlink.rs52 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 Dfile.rs182 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 Dlib.rs595 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 Ddevice_node.rs30 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 Di8042_driver.rs57 parent: Option<Weak<dyn KObject>>, field
147 fn parent(&self) -> Option<Weak<dyn KObject>> { in parent() method
H A Di8042_ports.rs130 fn parent(&self) -> Option<Weak<dyn KObject>> { in parent() method
H A Di8042_device.rs133 fn parent(&self) -> Option<Weak<dyn KObject>> { in parent() method
/DragonOS/kernel/src/filesystem/kernfs/
H A Dmod.rs144 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 Dkset.rs162 fn parent(&self) -> Option<Weak<dyn KObject>> { in parent() method
209 parent: Option<Weak<dyn KObject>>, field
H A Dkobject.rs35 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 Dps_mouse_driver.rs119 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 Dmod.rs56 parent: Weak<LockedRamFSInode>, field
637 fn parent(&self) -> Result<Arc<dyn IndexNode>, SystemError> { in parent() method
/DragonOS/kernel/src/namespaces/
H A Duser_namespace.rs45 parent: Option<Arc<UserNamespace>>, field
H A Dpid_namespace.rs37 parent: Option<Arc<PidNamespace>>, field
/DragonOS/kernel/src/filesystem/devfs/
H A Dmod.rs245 parent: Weak<LockedDevFSInode>, field
559 fn parent(&self) -> Result<Arc<dyn IndexNode>, SystemError> { in parent() method
/DragonOS/kernel/src/driver/pci/test/
H A Dpt_driver.rs128 fn parent(&self) -> Option<Weak<dyn KObject>> { in parent() method
/DragonOS/kernel/src/driver/rtc/
H A Drtc_cmos.rs162 fn parent(&self) -> Option<Weak<dyn KObject>> { in parent() method
/DragonOS/kernel/src/libs/
H A Drbtree.rs38 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 Dvesafb.rs230 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 Dmod.rs316 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 Draw_device.rs188 fn parent(&self) -> Option<Weak<dyn KObject>> { in parent() method
H A Ddevice.rs136 fn parent(&self) -> Option<alloc::sync::Weak<dyn KObject>> { in parent() method
/DragonOS/kernel/src/arch/x86_64/driver/
H A Drtc.rs189 fn parent(&self) -> Option<Weak<dyn KObject>> { in parent() method

12