Home
last modified time | relevance | path

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

/Linux-v5.4/kernel/
Dnsproxy.c62 struct fs_struct *new_fs) in create_new_namespaces() argument
71 new_nsp->mnt_ns = copy_mnt_ns(flags, tsk->nsproxy->mnt_ns, user_ns, new_fs); in create_new_namespaces()
189 struct nsproxy **new_nsp, struct cred *new_cred, struct fs_struct *new_fs) in unshare_nsproxy_namespaces() argument
203 new_fs ? new_fs : current->fs); in unshare_nsproxy_namespaces()
Dfork.c2810 struct fs_struct *fs, *new_fs = NULL; in ksys_unshare() local
2849 err = unshare_fs(unshare_flags, &new_fs); in ksys_unshare()
2859 new_cred, new_fs); in ksys_unshare()
2863 if (new_fs || new_fd || do_sysvsem || new_cred || new_nsproxy) { in ksys_unshare()
2881 if (new_fs) { in ksys_unshare()
2884 current->fs = new_fs; in ksys_unshare()
2886 new_fs = NULL; in ksys_unshare()
2888 new_fs = fs; in ksys_unshare()
2917 if (new_fs) in ksys_unshare()
2918 free_fs_struct(new_fs); in ksys_unshare()
/Linux-v5.4/fs/
Dfs_struct.c136 struct fs_struct *new_fs = copy_fs_struct(fs); in unshare_fs_struct() local
139 if (!new_fs) in unshare_fs_struct()
145 current->fs = new_fs; in unshare_fs_struct()
Dnamespace.c3213 struct user_namespace *user_ns, struct fs_struct *new_fs) in copy_mnt_ns() argument
3264 if (new_fs) { in copy_mnt_ns()
3265 if (&p->mnt == new_fs->root.mnt) { in copy_mnt_ns()
3266 new_fs->root.mnt = mntget(&q->mnt); in copy_mnt_ns()
3269 if (&p->mnt == new_fs->pwd.mnt) { in copy_mnt_ns()
3270 new_fs->pwd.mnt = mntget(&q->mnt); in copy_mnt_ns()
/Linux-v5.4/drivers/net/ethernet/freescale/dpaa2/
Ddpaa2-ethtool.c592 struct ethtool_rx_flow_spec *new_fs, in update_cls_rule() argument
620 if (!new_fs) in update_cls_rule()
623 err = do_cls_rule(net_dev, new_fs, true); in update_cls_rule()
628 rule->fs = *new_fs; in update_cls_rule()