Home
last modified time | relevance | path

Searched refs:child (Results 1 – 7 of 7) sorted by relevance

/DragonOS/user/apps/test_namespace/src/
H A Dmain.rs13 Ok(ForkResult::Parent { child }) => { in main()
14 println!("Parent process. Child PID: {}", child); in main()
15 match waitpid(child, None) { in main()
/DragonOS/tools/
H A D.gdbinit3 set follow-fork-mode child
/DragonOS/kernel/src/arch/riscv64/init/
H A Dmod.rs91 for child in node.children() { in print_node()
92 print_node(child, n_spaces + 4); in print_node()
/DragonOS/kernel/src/driver/open_firmware/
H A Ddevice_node.rs81 pub fn add_child(&self, child: Arc<DeviceNode>) { in add_child()
82 self.inner.lock().children.push(child); in add_child()
H A Dfdt.rs351 for child in node.children() { in fdt_scan_reserved_mem()
352 if !self.is_device_avaliable(&child) { in fdt_scan_reserved_mem()
356 reserved_mem_reserve_reg(&child).ok(); in fdt_scan_reserved_mem()
/DragonOS/kernel/src/libs/
H A Drbtree.rs1300 let mut child; in delete() localVariable
1320 child = replace.right(); in delete()
1326 if !child.is_null() { in delete()
1327 child.set_parent(parent); in delete()
1329 parent.set_left(child); in delete()
1340 self.delete_fixup(child, parent); in delete()
1348 child = node.left(); in delete()
1350 child = node.right(); in delete()
1355 if !child.is_null() { in delete()
1356 child.set_parent(parent); in delete()
[all …]
/DragonOS/kernel/src/filesystem/kernfs/
H A Dmod.rs629 while let Some((_, child)) = children.pop() { in remove_recursive()
630 children.append(&mut child.children.lock().drain().collect::<Vec<_>>()); in remove_recursive()