Searched refs:new_fs (Results 1 – 5 of 5) sorted by relevance
/linux-5.19.10/fs/ |
D | fs_struct.c | 136 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()
|
D | namespace.c | 3453 struct user_namespace *user_ns, struct fs_struct *new_fs) in copy_mnt_ns() argument 3504 if (new_fs) { in copy_mnt_ns() 3505 if (&p->mnt == new_fs->root.mnt) { in copy_mnt_ns() 3506 new_fs->root.mnt = mntget(&q->mnt); in copy_mnt_ns() 3509 if (&p->mnt == new_fs->pwd.mnt) { in copy_mnt_ns() 3510 new_fs->pwd.mnt = mntget(&q->mnt); in copy_mnt_ns()
|
/linux-5.19.10/kernel/ |
D | nsproxy.c | 69 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()
|
D | fork.c | 3118 struct fs_struct *fs, *new_fs = NULL; in ksys_unshare() local 3157 err = unshare_fs(unshare_flags, &new_fs); in ksys_unshare() 3167 new_cred, new_fs); in ksys_unshare() 3177 if (new_fs || new_fd || do_sysvsem || new_cred || new_nsproxy) { in ksys_unshare() 3195 if (new_fs) { in ksys_unshare() 3198 current->fs = new_fs; in ksys_unshare() 3200 new_fs = NULL; in ksys_unshare() 3202 new_fs = fs; in ksys_unshare() 3228 if (new_fs) in ksys_unshare() 3229 free_fs_struct(new_fs); in ksys_unshare()
|
/linux-5.19.10/drivers/net/ethernet/freescale/dpaa2/ |
D | dpaa2-ethtool.c | 647 struct ethtool_rx_flow_spec *new_fs, in dpaa2_eth_update_cls_rule() argument 676 if (!new_fs) in dpaa2_eth_update_cls_rule() 679 err = dpaa2_eth_do_cls_rule(net_dev, new_fs, true); in dpaa2_eth_update_cls_rule() 684 rule->fs = *new_fs; in dpaa2_eth_update_cls_rule()
|