Searched refs:lookup_follow_symlink (Results 1 – 5 of 5) sorted by relevance
/DragonOS/kernel/src/filesystem/vfs/ |
H A D | open.rs | 46 let _inode = inode.lookup_follow_symlink(path.as_str(), VFS_MAX_FOLLOW_SYMLINK_TIMES)?; in do_faccessat() 59 let _inode = inode.lookup_follow_symlink(path.as_str(), VFS_MAX_FOLLOW_SYMLINK_TIMES)?; in do_fchmodat() 88 let inode: Result<Arc<dyn IndexNode>, SystemError> = inode_begin.lookup_follow_symlink( in do_sys_openat2() 177 inode_begin.lookup_follow_symlink(path.as_str(), VFS_MAX_FOLLOW_SYMLINK_TIMES)? 220 let inode = inode_begin.lookup_follow_symlink(path.as_str(), VFS_MAX_FOLLOW_SYMLINK_TIMES)?;
|
H A D | core.rs | 189 .lookup_follow_symlink(parent_path.unwrap_or("/"), VFS_MAX_FOLLOW_SYMLINK_TIMES)?; in do_remove_dir() 214 inode_begin.lookup_follow_symlink(&remain_path, VFS_MAX_FOLLOW_SYMLINK_TIMES); in do_unlink_at() 231 .lookup_follow_symlink(parent_path.unwrap_or("/"), VFS_MAX_FOLLOW_SYMLINK_TIMES)?; in do_unlink_at() 265 let inode = current_node.lookup_follow_symlink(&rest_path, VFS_MAX_FOLLOW_SYMLINK_TIMES)?; in do_mount()
|
H A D | mod.rs | 595 return self.lookup_follow_symlink(path, 0); in lookup() 605 pub fn lookup_follow_symlink( in lookup_follow_symlink() method 672 return result.lookup_follow_symlink(&new_path, max_follow_times - 1); in lookup_follow_symlink()
|
H A D | syscall.rs | 724 match ROOT_INODE().lookup_follow_symlink(&new_path, VFS_MAX_FOLLOW_SYMLINK_TIMES) { in chdir() 856 old_begin_inode.lookup_follow_symlink(&old_remain_path, symlink_times)? in do_linkat() 868 new_begin_inode.lookup_follow_symlink(new_parent_path.unwrap_or("/"), symlink_times)?; in do_linkat() 1018 .lookup_follow_symlink(old_parent_path.unwrap_or("/"), VFS_MAX_FOLLOW_SYMLINK_TIMES)?; in do_renameat2() 1021 .lookup_follow_symlink(new_parent_path.unwrap_or("/"), VFS_MAX_FOLLOW_SYMLINK_TIMES)?; in do_renameat2() 1355 let inode = ROOT_INODE().lookup_follow_symlink(&remain_path, MAX_PATHLEN)?; in statfs() 1493 ROOT_INODE().lookup_follow_symlink(path, VFS_MAX_FOLLOW_SYMLINK_TIMES); in mknod() 1503 .lookup_follow_symlink(parent_path.unwrap_or("/"), VFS_MAX_FOLLOW_SYMLINK_TIMES)?; in mknod()
|
/DragonOS/kernel/src/driver/tty/pty/ |
H A D | unix98pty.rs | 223 ROOT_INODE().lookup_follow_symlink("/dev/pts", VFS_MAX_FOLLOW_SYMLINK_TIMES)?; in close() 254 ROOT_INODE().lookup_follow_symlink("/dev/pts", VFS_MAX_FOLLOW_SYMLINK_TIMES)?; in ptmx_open()
|