Searched refs:clone_args (Results 1 – 5 of 5) sorted by relevance
/DragonOS/kernel/src/process/ |
H A D | fork.rs | 350 clone_args: KernelCloneArgs, in copy_process() 353 let clone_flags = clone_args.flags; in copy_process() 414 pcb.thread.write_irqsave().clear_child_tid = Some(clone_args.child_tid); in copy_process() 419 pcb.thread.write_irqsave().set_child_tid = Some(clone_args.child_tid); in copy_process() 425 clone_args.parent_tid.data() as *mut i32, in copy_process() 478 Self::copy_thread(current_pcb, pcb, &clone_args, current_trapframe).unwrap_or_else(|e| { in copy_process() 487 clone_args.set_tid.clone(), in copy_process() 532 .store(clone_args.exit_signal, Ordering::SeqCst); in copy_process()
|
H A D | syscall.rs | 224 clone_args: KernelCloneArgs, in clone() 226 let flags = clone_args.flags; in clone() 241 ProcessManager::copy_process(¤t_pcb, &pcb, clone_args, current_trapframe)?; in clone()
|
/DragonOS/kernel/src/arch/x86_64/process/ |
H A D | mod.rs | 302 clone_args: &KernelCloneArgs, in copy_thread() 305 let clone_flags = clone_args.flags; in copy_thread() 324 let usp = clone_args.stack; in copy_thread() 356 Syscall::do_arch_prctl_64(new_pcb, ARCH_SET_FS, clone_args.tls, true)?; in copy_thread()
|
/DragonOS/kernel/src/arch/riscv64/process/ |
H A D | mod.rs | 107 clone_args: &KernelCloneArgs, in copy_thread() 110 let clone_flags = clone_args.flags; in copy_thread() 125 let usp = clone_args.stack; in copy_thread()
|
/DragonOS/kernel/src/syscall/ |
H A D | mod.rs | 706 let mut clone_args = KernelCloneArgs::new(); in handle() localVariable 707 clone_args.flags = CloneFlags::from_bits_truncate(args[0] as u64); in handle() 708 clone_args.stack = args[1]; in handle() 709 clone_args.parent_tid = parent_tid; in handle() 710 clone_args.child_tid = child_tid; in handle() 711 clone_args.tls = args[4]; in handle() 712 Self::clone(frame, clone_args) in handle()
|