Searched refs:clone_args (Results 1 – 5 of 5) sorted by relevance
/DragonOS/kernel/src/process/ |
H A D | fork.rs | 345 clone_args: KernelCloneArgs, in copy_process() 348 let clone_flags = clone_args.flags; in copy_process() 409 pcb.thread.write_irqsave().clear_child_tid = Some(clone_args.child_tid); in copy_process() 414 pcb.thread.write_irqsave().set_child_tid = Some(clone_args.child_tid); in copy_process() 420 clone_args.parent_tid.data() as *mut i32, in copy_process() 473 Self::copy_thread(current_pcb, pcb, &clone_args, current_trapframe).unwrap_or_else(|e| { in copy_process() 482 clone_args.set_tid.clone(), in copy_process() 527 .store(clone_args.exit_signal, Ordering::SeqCst); in copy_process()
|
H A D | syscall.rs | 282 clone_args: KernelCloneArgs, in clone() 284 let flags = clone_args.flags; in clone() 299 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 | 104 clone_args: &KernelCloneArgs, in copy_thread() 107 let clone_flags = clone_args.flags; in copy_thread() 122 let usp = clone_args.stack; in copy_thread()
|
/DragonOS/kernel/src/syscall/ |
H A D | mod.rs | 721 let mut clone_args = KernelCloneArgs::new(); in handle() localVariable 722 clone_args.flags = CloneFlags::from_bits_truncate(args[0] as u64); in handle() 723 clone_args.stack = args[1]; in handle() 724 clone_args.parent_tid = parent_tid; in handle() 725 clone_args.child_tid = child_tid; in handle() 726 clone_args.tls = args[4]; in handle() 727 Self::clone(frame, clone_args) in handle()
|