Searched refs:pwd (Results 1 – 5 of 5) sorted by relevance
41 old_pwd = fs->pwd; in set_fs_pwd()42 fs->pwd = *path; in set_fs_pwd()74 hits += replace_path(&fs->pwd, old_root, new_root); in chroot_fs_refs()92 path_put(&fs->pwd); in free_fs_struct()128 fs->pwd = old->pwd; in copy_fs_struct()129 path_get(&fs->pwd); in copy_fs_struct()
396 struct path *pwd) in get_fs_root_and_pwd_rcu() argument403 *pwd = fs->pwd; in get_fs_root_and_pwd_rcu()428 struct path pwd, root; in SYSCALL_DEFINE2() local435 get_fs_root_and_pwd_rcu(current->fs, &root, &pwd); in SYSCALL_DEFINE2()438 if (!d_unlinked(pwd.dentry)) { in SYSCALL_DEFINE2()444 error = prepend_path(&pwd, &root, &cwd, &buflen); in SYSCALL_DEFINE2()
122 mnt = mntget(fs->pwd.mnt); in get_vfsmount_from_fd()
3299 if (&p->mnt == new_fs->pwd.mnt) { in copy_mnt_ns()3300 new_fs->pwd.mnt = mntget(&q->mnt); in copy_mnt_ns()
2303 nd->path = fs->pwd; in path_init()