Home
last modified time | relevance | path

Searched refs:new_fs (Results 1 – 4 of 4) sorted by relevance

/linux-4.1.27/kernel/
Dnsproxy.c61 struct fs_struct *new_fs) in create_new_namespaces() argument
70 new_nsp->mnt_ns = copy_mnt_ns(flags, tsk->nsproxy->mnt_ns, user_ns, new_fs); in create_new_namespaces()
177 struct nsproxy **new_nsp, struct cred *new_cred, struct fs_struct *new_fs) in unshare_nsproxy_namespaces() argument
191 new_fs ? new_fs : current->fs); in unshare_nsproxy_namespaces()
Dfork.c1927 struct fs_struct *fs, *new_fs = NULL; in SYSCALL_DEFINE1() local
1965 err = unshare_fs(unshare_flags, &new_fs); in SYSCALL_DEFINE1()
1975 new_cred, new_fs); in SYSCALL_DEFINE1()
1979 if (new_fs || new_fd || do_sysvsem || new_cred || new_nsproxy) { in SYSCALL_DEFINE1()
1997 if (new_fs) { in SYSCALL_DEFINE1()
2000 current->fs = new_fs; in SYSCALL_DEFINE1()
2002 new_fs = NULL; in SYSCALL_DEFINE1()
2004 new_fs = fs; in SYSCALL_DEFINE1()
2031 if (new_fs) in SYSCALL_DEFINE1()
2032 free_fs_struct(new_fs); in SYSCALL_DEFINE1()
/linux-4.1.27/fs/
Dfs_struct.c134 struct fs_struct *new_fs = copy_fs_struct(fs); in unshare_fs_struct() local
137 if (!new_fs) in unshare_fs_struct()
143 current->fs = new_fs; in unshare_fs_struct()
Dnamespace.c2764 struct user_namespace *user_ns, struct fs_struct *new_fs) in copy_mnt_ns() argument
2809 if (new_fs) { in copy_mnt_ns()
2810 if (&p->mnt == new_fs->root.mnt) { in copy_mnt_ns()
2811 new_fs->root.mnt = mntget(&q->mnt); in copy_mnt_ns()
2814 if (&p->mnt == new_fs->pwd.mnt) { in copy_mnt_ns()
2815 new_fs->pwd.mnt = mntget(&q->mnt); in copy_mnt_ns()