Lines Matching refs:path
124 fn try_find_gendisk_as_rootfs(path: &str) -> Option<Arc<GenDisk>> { in try_find_gendisk_as_rootfs()
125 if let Some(gd) = block_dev_manager().lookup_gendisk_by_path(path) { in try_find_gendisk_as_rootfs()
126 info!("Use {} as rootfs", path); in try_find_gendisk_as_rootfs()
141 .find_map(|&path| try_find_gendisk_as_rootfs(path)) in mount_root_fs()
171 path: &str, in do_mkdir_at()
175 let (mut current_inode, path) = in do_mkdir_at()
176 user_path_at(&ProcessManager::current_pcb(), dirfd, path.trim())?; in do_mkdir_at()
177 let (name, parent) = rsplit_path(&path); in do_mkdir_at()
187 pub fn do_remove_dir(dirfd: i32, path: &str) -> Result<u64, SystemError> { in do_remove_dir()
188 let path = path.trim(); in do_remove_dir() localVariable
191 let (inode_begin, remain_path) = user_path_at(&pcb, dirfd, path)?; in do_remove_dir()
220 pub fn do_unlink_at(dirfd: i32, path: &str) -> Result<u64, SystemError> { in do_unlink_at()
221 let path = path.trim(); in do_unlink_at() localVariable
224 let (inode_begin, remain_path) = user_path_at(&pcb, dirfd, path)?; in do_unlink_at()
384 let path = work.absolute_path()? + &rest; in do_umount2() localVariable
386 if let Some(fs) = MOUNT_LIST().remove(path) { in do_umount2()