Searched refs:new_path (Results 1 – 2 of 2) sorted by relevance
697 let mut new_path = String::from(""); in chdir() localVariable716 new_path.push('/'); in chdir()717 new_path.push_str(seg); in chdir()719 if new_path.is_empty() { in chdir()720 new_path = String::from("/"); in chdir()724 match ROOT_INODE().lookup_follow_symlink(&new_path, VFS_MAX_FOLLOW_SYMLINK_TIMES) { in chdir()732 proc.basic_mut().set_cwd(new_path); in chdir()
670 let new_path = link_path + "/" + &rest_path; in lookup_follow_symlink() localVariable672 return result.lookup_follow_symlink(&new_path, max_follow_times - 1); in lookup_follow_symlink()