Home
last modified time | relevance | path

Searched refs:new_fs (Results 1 - 10 of 10) sorted by relevance

/kernel/linux/linux-5.10/fs/
H A 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()
H A Dnamespace.c3324 struct user_namespace *user_ns, struct fs_struct *new_fs) in copy_mnt_ns()
3375 if (new_fs) { in copy_mnt_ns()
3376 if (&p->mnt == new_fs->root.mnt) { in copy_mnt_ns()
3377 new_fs->root.mnt = mntget(&q->mnt); in copy_mnt_ns()
3380 if (&p->mnt == new_fs->pwd.mnt) { in copy_mnt_ns()
3381 new_fs->pwd.mnt = mntget(&q->mnt); in copy_mnt_ns()
3323 copy_mnt_ns(unsigned long flags, struct mnt_namespace *ns, struct user_namespace *user_ns, struct fs_struct *new_fs) copy_mnt_ns() argument
/kernel/linux/linux-6.6/fs/
H A 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()
H A Dnamespace.c3756 struct user_namespace *user_ns, struct fs_struct *new_fs) in copy_mnt_ns()
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()
3755 copy_mnt_ns(unsigned long flags, struct mnt_namespace *ns, struct user_namespace *user_ns, struct fs_struct *new_fs) copy_mnt_ns() argument
/kernel/linux/linux-5.10/kernel/
H A Dnsproxy.c70 struct fs_struct *new_fs) in create_new_namespaces()
79 new_nsp->mnt_ns = copy_mnt_ns(flags, tsk->nsproxy->mnt_ns, user_ns, new_fs); in create_new_namespaces()
218 struct nsproxy **new_nsp, struct cred *new_cred, struct fs_struct *new_fs) in unshare_nsproxy_namespaces()
233 new_fs ? new_fs : current->fs); in unshare_nsproxy_namespaces()
68 create_new_namespaces(unsigned long flags, struct task_struct *tsk, struct user_namespace *user_ns, struct fs_struct *new_fs) create_new_namespaces() argument
217 unshare_nsproxy_namespaces(unsigned long unshare_flags, struct nsproxy **new_nsp, struct cred *new_cred, struct fs_struct *new_fs) unshare_nsproxy_namespaces() argument
H A Dfork.c2980 struct fs_struct *fs, *new_fs = NULL; in ksys_unshare() local
3019 err = unshare_fs(unshare_flags, &new_fs); in ksys_unshare()
3029 new_cred, new_fs); in ksys_unshare()
3033 if (new_fs || new_fd || do_sysvsem || new_cred || new_nsproxy) { in ksys_unshare()
3051 if (new_fs) { in ksys_unshare()
3054 current->fs = new_fs; in ksys_unshare()
3056 new_fs = NULL; in ksys_unshare()
3058 new_fs = fs; in ksys_unshare()
3087 if (new_fs) in ksys_unshare()
3088 free_fs_struct(new_fs); in ksys_unshare()
[all...]
/kernel/linux/linux-6.6/kernel/
H A Dnsproxy.c70 struct fs_struct *new_fs) in create_new_namespaces()
79 new_nsp->mnt_ns = copy_mnt_ns(flags, tsk->nsproxy->mnt_ns, user_ns, new_fs); in create_new_namespaces()
215 struct nsproxy **new_nsp, struct cred *new_cred, struct fs_struct *new_fs) in unshare_nsproxy_namespaces()
230 new_fs ? new_fs : current->fs); in unshare_nsproxy_namespaces()
68 create_new_namespaces(unsigned long flags, struct task_struct *tsk, struct user_namespace *user_ns, struct fs_struct *new_fs) create_new_namespaces() argument
214 unshare_nsproxy_namespaces(unsigned long unshare_flags, struct nsproxy **new_nsp, struct cred *new_cred, struct fs_struct *new_fs) unshare_nsproxy_namespaces() argument
H A Dfork.c3403 struct fs_struct *fs, *new_fs = NULL; in ksys_unshare() local
3442 err = unshare_fs(unshare_flags, &new_fs); in ksys_unshare()
3452 new_cred, new_fs); in ksys_unshare()
3462 if (new_fs || new_fd || do_sysvsem || new_cred || new_nsproxy) { in ksys_unshare()
3480 if (new_fs) { in ksys_unshare()
3483 current->fs = new_fs; in ksys_unshare()
3485 new_fs = NULL; in ksys_unshare()
3487 new_fs = fs; in ksys_unshare()
3513 if (new_fs) in ksys_unshare()
3514 free_fs_struct(new_fs); in ksys_unshare()
[all...]
/kernel/linux/linux-5.10/drivers/net/ethernet/freescale/dpaa2/
H A Ddpaa2-ethtool.c645 struct ethtool_rx_flow_spec *new_fs, in dpaa2_eth_update_cls_rule()
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()
644 dpaa2_eth_update_cls_rule(struct net_device *net_dev, struct ethtool_rx_flow_spec *new_fs, unsigned int location) dpaa2_eth_update_cls_rule() argument
/kernel/linux/linux-6.6/drivers/net/ethernet/freescale/dpaa2/
H A Ddpaa2-ethtool.c677 struct ethtool_rx_flow_spec *new_fs, in dpaa2_eth_update_cls_rule()
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()
676 dpaa2_eth_update_cls_rule(struct net_device *net_dev, struct ethtool_rx_flow_spec *new_fs, unsigned int location) dpaa2_eth_update_cls_rule() argument

Completed in 23 milliseconds