Searched refs:pwd (Results 1 – 5 of 5) sorted by relevance
39 old_pwd = fs->pwd; in set_fs_pwd()40 fs->pwd = *path; in set_fs_pwd()71 hits += replace_path(&fs->pwd, old_root, new_root); in chroot_fs_refs()89 path_put(&fs->pwd); in free_fs_struct()124 fs->pwd = old->pwd; in copy_fs_struct()125 path_get(&fs->pwd); in copy_fs_struct()
121 mnt = mntget(fs->pwd.mnt); in get_vfsmount_from_fd()
2826 struct path pwd, root; in SYSCALL_DEFINE2() local2832 get_fs_root_and_pwd(current->fs, &root, &pwd); in SYSCALL_DEFINE2()2837 if (!d_unlinked(pwd.dentry)) { in SYSCALL_DEFINE2()2843 error = prepend_path(&pwd, &root, &cwd, &buflen); in SYSCALL_DEFINE2()2870 path_put(&pwd); in SYSCALL_DEFINE2()
2446 if (&p->mnt == fs->pwd.mnt) { in dup_mnt_ns()2447 fs->pwd.mnt = mntget(&q->mnt); in dup_mnt_ns()
1898 nd->path = fs->pwd; in path_init()