Home
last modified time | relevance | path

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

/Linux-v5.15/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.c3401 struct user_namespace *user_ns, struct fs_struct *new_fs) in copy_mnt_ns() argument
3452 if (new_fs) { in copy_mnt_ns()
3453 if (&p->mnt == new_fs->root.mnt) { in copy_mnt_ns()
3454 new_fs->root.mnt = mntget(&q->mnt); in copy_mnt_ns()
3457 if (&p->mnt == new_fs->pwd.mnt) { in copy_mnt_ns()
3458 new_fs->pwd.mnt = mntget(&q->mnt); in copy_mnt_ns()
/Linux-v5.15/kernel/
Dnsproxy.c69 struct fs_struct *new_fs) in create_new_namespaces() argument
78 new_nsp->mnt_ns = copy_mnt_ns(flags, tsk->nsproxy->mnt_ns, user_ns, new_fs); in create_new_namespaces()
212 struct nsproxy **new_nsp, struct cred *new_cred, struct fs_struct *new_fs) in unshare_nsproxy_namespaces() argument
227 new_fs ? new_fs : current->fs); in unshare_nsproxy_namespaces()
Dfork.c3029 struct fs_struct *fs, *new_fs = NULL; in ksys_unshare() local
3068 err = unshare_fs(unshare_flags, &new_fs); in ksys_unshare()
3078 new_cred, new_fs); in ksys_unshare()
3088 if (new_fs || new_fd || do_sysvsem || new_cred || new_nsproxy) { in ksys_unshare()
3106 if (new_fs) { in ksys_unshare()
3109 current->fs = new_fs; in ksys_unshare()
3111 new_fs = NULL; in ksys_unshare()
3113 new_fs = fs; in ksys_unshare()
3142 if (new_fs) in ksys_unshare()
3143 free_fs_struct(new_fs); in ksys_unshare()
/Linux-v5.15/drivers/net/ethernet/freescale/dpaa2/
Ddpaa2-ethtool.c645 struct ethtool_rx_flow_spec *new_fs, in dpaa2_eth_update_cls_rule() argument
674 if (!new_fs) in dpaa2_eth_update_cls_rule()
677 err = dpaa2_eth_do_cls_rule(net_dev, new_fs, true); in dpaa2_eth_update_cls_rule()
682 rule->fs = *new_fs; in dpaa2_eth_update_cls_rule()