Searched refs:new_path (Results 1 – 2 of 2) sorted by relevance
436 let mut new_path = String::from(""); in chdir() localVariable455 new_path.push_str("/"); in chdir()456 new_path.push_str(seg); in chdir()458 if new_path == "" { in chdir()459 new_path = String::from("/"); in chdir()463 match ROOT_INODE().lookup_follow_symlink(&new_path, VFS_MAX_FOLLOW_SYMLINK_TIMES) { in chdir()472 proc.basic_mut().set_cwd(String::from(new_path)); in chdir()
488 let new_path = link_path + "/" + &rest_path; in lookup_follow_symlink() localVariable490 return result.lookup_follow_symlink(&new_path, max_follow_times - 1); in lookup_follow_symlink()