Searched refs:new_path (Results 1 – 2 of 2) sorted by relevance
701 let mut new_path = String::from(""); in chdir() localVariable720 new_path.push('/'); in chdir()721 new_path.push_str(seg); in chdir()723 if new_path.is_empty() { in chdir()724 new_path = String::from("/"); in chdir()728 match ROOT_INODE().lookup_follow_symlink(&new_path, VFS_MAX_FOLLOW_SYMLINK_TIMES) { in chdir()736 proc.basic_mut().set_cwd(new_path); in chdir()
702 let new_path = link_path + "/" + &rest_path; in do_lookup_follow_symlink() localVariable706 &new_path, in do_lookup_follow_symlink()