Searched refs:cwd (Results 1 – 4 of 4) sorted by relevance
/DragonOS-0.1.9/kernel/src/filesystem/vfs/ |
D | utils.rs | 65 let mut cwd = pcb.basic().cwd(); in user_path_at() localVariable 66 cwd.push('/'); in user_path_at() 67 cwd.push_str(path); in user_path_at() 68 ret_path = cwd; in user_path_at()
|
D | syscall.rs | 438 let cwd = match path.as_bytes()[0] { in chdir() localVariable 440 _ => proc.basic().cwd(), in chdir() 442 let mut cwd_vec: Vec<_> = cwd.split("/").filter(|&x| x != "").collect(); in chdir() 488 let cwd = proc.basic().cwd(); in getcwd() localVariable 490 let cwd_bytes = cwd.as_bytes(); in getcwd()
|
/DragonOS-0.1.9/kernel/src/process/ |
D | mod.rs | 609 let (pid, ppid, cwd) = if is_idle { in do_create_pcb() 613 let cwd = ProcessManager::current_pcb().basic().cwd(); in do_create_pcb() localVariable 614 (Self::generate_pid(), ppid, cwd) in do_create_pcb() 617 let basic_info = ProcessBasicInfo::new(Pid(0), ppid, name, cwd, None); in do_create_pcb() 949 cwd: String, field 964 cwd: String, in new() 972 cwd, in new() 994 pub fn cwd(&self) -> String { in cwd() method 995 return self.cwd.clone(); in cwd() 998 return self.cwd = path; in set_cwd()
|
/DragonOS-0.1.9/docs/community/ChangeLog/V0.1.x/ |
D | V0.1.9.md | 1953 * 新建进程时,设置cwd 2039 * 新建进程时,设置cwd
|