Home
last modified time | relevance | path

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

/linux-6.6.21/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.c3756 struct user_namespace *user_ns, struct fs_struct *new_fs) in copy_mnt_ns() argument
3807 if (new_fs) { in copy_mnt_ns()
3808 if (&p->mnt == new_fs->root.mnt) { in copy_mnt_ns()
3809 new_fs->root.mnt = mntget(&q->mnt); in copy_mnt_ns()
3812 if (&p->mnt == new_fs->pwd.mnt) { in copy_mnt_ns()
3813 new_fs->pwd.mnt = mntget(&q->mnt); in copy_mnt_ns()
/linux-6.6.21/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()
214 struct nsproxy **new_nsp, struct cred *new_cred, struct fs_struct *new_fs) in unshare_nsproxy_namespaces() argument
229 new_fs ? new_fs : current->fs); in unshare_nsproxy_namespaces()
Dfork.c3387 struct fs_struct *fs, *new_fs = NULL; in ksys_unshare() local
3426 err = unshare_fs(unshare_flags, &new_fs); in ksys_unshare()
3436 new_cred, new_fs); in ksys_unshare()
3446 if (new_fs || new_fd || do_sysvsem || new_cred || new_nsproxy) { in ksys_unshare()
3464 if (new_fs) { in ksys_unshare()
3467 current->fs = new_fs; in ksys_unshare()
3469 new_fs = NULL; in ksys_unshare()
3471 new_fs = fs; in ksys_unshare()
3497 if (new_fs) in ksys_unshare()
3498 free_fs_struct(new_fs); in ksys_unshare()
/linux-6.6.21/drivers/net/ethernet/freescale/dpaa2/
Ddpaa2-ethtool.c677 struct ethtool_rx_flow_spec *new_fs, in dpaa2_eth_update_cls_rule() argument
706 if (!new_fs) in dpaa2_eth_update_cls_rule()
709 err = dpaa2_eth_do_cls_rule(net_dev, new_fs, true); in dpaa2_eth_update_cls_rule()
714 rule->fs = *new_fs; in dpaa2_eth_update_cls_rule()