Searched refs:dest_path (Results 1 – 4 of 4) sorted by relevance
181 let dest_path: &CStr = unsafe { CStr::from_ptr(ptr) }; in sys_chdir() localVariable182 let dest_path: Result<&str, core::str::Utf8Error> = dest_path.to_str(); in sys_chdir() localVariable184 if dest_path.is_err() { in sys_chdir()188 let dest_path: &str = dest_path.unwrap(); in sys_chdir() localVariable190 if dest_path.len() == 0 { in sys_chdir()192 } else if dest_path.len() >= PAGE_4K_SIZE as usize { in sys_chdir()196 let path = Box::new(dest_path.clone()); in sys_chdir()
119 int64_t chdir(char *dest_path) in chdir() argument121 if (dest_path == NULL) in chdir()128 return syscall_invoke(SYS_CHDIR, (uint64_t)dest_path, 0, 0, 0, 0, 0, 0, 0); in chdir()
86 int64_t chdir(char *dest_path);
47 ``int64_t chdir(char *dest_path)``