net_ns 1673 drivers/infiniband/core/device.c ret = rdma_dev_change_netns(dev, current->nsproxy->net_ns, net); net_ns 503 drivers/infiniband/core/ucma.c cm_id = __rdma_create_id(current->nsproxy->net_ns, net_ns 988 drivers/infiniband/core/user_mad.c if (!rdma_dev_access_netns(port->ib_dev, current->nsproxy->net_ns)) { net_ns 1086 drivers/infiniband/core/user_mad.c if (!rdma_dev_access_netns(port->ib_dev, current->nsproxy->net_ns)) { net_ns 1060 drivers/infiniband/core/uverbs_main.c if (!rdma_dev_access_netns(ib_dev, current->nsproxy->net_ns)) { net_ns 597 drivers/net/ppp/ppp_generic.c err = ppp_unattached_ioctl(current->nsproxy->net_ns, net_ns 2596 drivers/net/ppp/ppp_generic.c return ppp_register_net_channel(current->nsproxy->net_ns, chan); net_ns 503 drivers/net/tap.c struct net *net = current->nsproxy->net_ns; net_ns 3420 drivers/net/tun.c struct net *net = current->nsproxy->net_ns; net_ns 1442 drivers/staging/unisys/visornic/visornic_main.c for_each_netdev_rcu(current->nsproxy->net_ns, dev) { net_ns 246 fs/afs/internal.h struct net *net_ns; /* Network namespace */ net_ns 1037 fs/afs/internal.h return afs_net(AFS_FS_S(sb)->net_ns); net_ns 67 fs/afs/main.c static int __net_init afs_net_init(struct net *net_ns) net_ns 70 fs/afs/main.c struct afs_net *net = afs_net(net_ns); net_ns 73 fs/afs/main.c net->net = net_ns; net_ns 144 fs/afs/main.c static void __net_exit afs_net_exit(struct net *net_ns) net_ns 146 fs/afs/main.c struct afs_net *net = afs_net(net_ns); net_ns 81 fs/afs/mntpt.c if (fc->net_ns != src_as->net_ns) { net_ns 82 fs/afs/mntpt.c put_net(fc->net_ns); net_ns 83 fs/afs/mntpt.c fc->net_ns = get_net(src_as->net_ns); net_ns 404 fs/afs/super.c return (as->net_ns == fc->net_ns && net_ns 415 fs/afs/super.c return (as->net_ns == fc->net_ns && net_ns 499 fs/afs/super.c as->net_ns = get_net(fc->net_ns); net_ns 515 fs/afs/super.c afs_put_cell(afs_net(as->net_ns), as->cell); net_ns 516 fs/afs/super.c put_net(as->net_ns); net_ns 524 fs/afs/super.c struct afs_net *net = afs_net(as->net_ns); net_ns 626 fs/afs/super.c ctx->net = afs_net(fc->net_ns); net_ns 2659 fs/cifs/connect.c if (!net_eq(cifs_net_ns(server), current->nsproxy->net_ns)) net_ns 2772 fs/cifs/connect.c cifs_set_net_ns(tcp_ses, get_net(current->nsproxy->net_ns)); net_ns 80 fs/cifs/dns_resolve.c rc = dns_query(current->nsproxy->net_ns, NULL, hostname, len, net_ns 270 fs/fs_context.c fc->net_ns = get_net(current->nsproxy->net_ns); net_ns 361 fs/fs_context.c get_net(fc->net_ns); net_ns 504 fs/fs_context.c put_net(fc->net_ns); net_ns 25 fs/lockd/procfs.c struct lockd_net *ln = net_generic(current->nsproxy->net_ns, net_ns 52 fs/lockd/procfs.c struct lockd_net *ln = net_generic(current->nsproxy->net_ns, net_ns 952 fs/nfs/super.c data->net = current->nsproxy->net_ns; net_ns 2315 fs/nfs/super.c data->net = current->nsproxy->net_ns; net_ns 243 fs/nfsd/export.c nfsd_file_cache_purge(current->nsproxy->net_ns); net_ns 50 fs/nfsd/fault_inject.c struct net *net = current->nsproxy->net_ns; net_ns 7017 fs/nfsd/nfs4state.c struct nfsd_net *nn = net_generic(current->nsproxy->net_ns, net_ns 7035 fs/nfsd/nfs4state.c struct nfsd_net *nn = net_generic(current->nsproxy->net_ns, net_ns 7058 fs/nfsd/nfs4state.c struct nfsd_net *nn = net_generic(current->nsproxy->net_ns, net_ns 7085 fs/nfsd/nfs4state.c struct nfsd_net *nn = net_generic(current->nsproxy->net_ns, net_ns 7121 fs/nfsd/nfs4state.c struct nfsd_net *nn = net_generic(current->nsproxy->net_ns, net_ns 7192 fs/nfsd/nfs4state.c struct nfsd_net *nn = net_generic(current->nsproxy->net_ns, net_ns 7225 fs/nfsd/nfs4state.c struct nfsd_net *nn = net_generic(current->nsproxy->net_ns, net_ns 7246 fs/nfsd/nfs4state.c struct nfsd_net *nn = net_generic(current->nsproxy->net_ns, net_ns 7270 fs/nfsd/nfs4state.c struct nfsd_net *nn = net_generic(current->nsproxy->net_ns, net_ns 7323 fs/nfsd/nfs4state.c struct nfsd_net *nn = net_generic(current->nsproxy->net_ns, net_ns 7357 fs/nfsd/nfs4state.c struct nfsd_net *nn = net_generic(current->nsproxy->net_ns, net_ns 7378 fs/nfsd/nfs4state.c struct nfsd_net *nn = net_generic(current->nsproxy->net_ns, net_ns 7401 fs/nfsd/nfs4state.c struct nfsd_net *nn = net_generic(current->nsproxy->net_ns, net_ns 7452 fs/nfsd/nfs4state.c struct nfsd_net *nn = net_generic(current->nsproxy->net_ns, net_ns 7486 fs/nfsd/nfs4state.c struct nfsd_net *nn = net_generic(current->nsproxy->net_ns, net_ns 7508 fs/nfsd/nfs4state.c struct nfsd_net *nn = net_generic(current->nsproxy->net_ns, net_ns 7555 fs/nfsd/nfs4state.c struct nfsd_net *nn = net_generic(current->nsproxy->net_ns, net_ns 7577 fs/nfsd/nfs4state.c struct nfsd_net *nn = net_generic(current->nsproxy->net_ns, net_ns 157 fs/nfsd/nfsctl.c return exports_net_open(current->nsproxy->net_ns, file); net_ns 1343 fs/nfsd/nfsctl.c struct nfsd_net *nn = net_generic(current->nsproxy->net_ns, net_ns 1389 fs/nfsd/nfsctl.c return get_tree_keyed(fc, nfsd_fill_super, get_net(fc->net_ns)); net_ns 1406 fs/nfsd/nfsctl.c fc->user_ns = get_user_ns(fc->net_ns->user_ns); net_ns 266 fs/proc/proc_net.c net = get_net(ns->net_ns); net_ns 94 include/linux/fs_context.h struct net *net_ns; /* The network namespace for this mount */ net_ns 37 include/linux/nsproxy.h struct net *net_ns; net_ns 660 kernel/bpf/devmap.c return __dev_map_update_elem(current->nsproxy->net_ns, net_ns 717 kernel/bpf/devmap.c return __dev_map_hash_update_elem(current->nsproxy->net_ns, net_ns 99 kernel/bpf/offload.c offload->netdev = dev_get_by_index(current->nsproxy->net_ns, net_ns 364 kernel/bpf/offload.c struct net *net = current->nsproxy->net_ns; net_ns 38 kernel/nsproxy.c .net_ns = &init_net, net_ns 103 kernel/nsproxy.c new_nsp->net_ns = copy_net_ns(flags, user_ns, tsk->nsproxy->net_ns); net_ns 104 kernel/nsproxy.c if (IS_ERR(new_nsp->net_ns)) { net_ns 105 kernel/nsproxy.c err = PTR_ERR(new_nsp->net_ns); net_ns 180 kernel/nsproxy.c put_net(ns->net_ns); net_ns 1232 kernel/sysctl_binary.c struct net *net = current->nsproxy->net_ns; net_ns 965 net/9p/trans_fd.c err = __sock_create(current->nsproxy->net_ns, PF_INET, net_ns 1016 net/9p/trans_fd.c err = __sock_create(current->nsproxy->net_ns, PF_UNIX, net_ns 286 net/bpf/test_run.c sock_net_set(sk, current->nsproxy->net_ns); net_ns 300 net/bpf/test_run.c skb->protocol = eth_type_trans(skb, current->nsproxy->net_ns->loopback_dev); net_ns 365 net/bpf/test_run.c rxqueue = __netif_get_rx_queue(current->nsproxy->net_ns->loopback_dev, 0); net_ns 144 net/ceph/ceph_common.c if (!net_eq(current->nsproxy->net_ns, read_pnet(&client->msgr.net))) net_ns 1894 net/ceph/messenger.c ip_len = dns_query(current->nsproxy->net_ns, net_ns 3058 net/ceph/messenger.c write_pnet(&msgr->net, get_net(current->nsproxy->net_ns)); net_ns 118 net/core/flow_dissector.c net = current->nsproxy->net_ns; net_ns 172 net/core/flow_dissector.c return flow_dissector_bpf_prog_detach(current->nsproxy->net_ns); net_ns 1575 net/core/net-sysfs.c struct net *net = current->nsproxy->net_ns; net_ns 1582 net/core/net-sysfs.c struct net *ns = current->nsproxy->net_ns; net_ns 688 net/core/net_namespace.c net = get_net(nsproxy->net_ns); net_ns 1342 net/core/net_namespace.c net = get_net(nsproxy->net_ns); net_ns 1366 net/core/net_namespace.c put_net(nsproxy->net_ns); net_ns 1367 net/core/net_namespace.c nsproxy->net_ns = get_net(net); net_ns 646 net/core/netpoll.c struct net *net = current->nsproxy->net_ns; net_ns 502 net/core/pktgen.c struct pktgen_net *pn = net_generic(current->nsproxy->net_ns, pg_net_id); net_ns 2391 net/netfilter/nf_conntrack_core.c if (current->nsproxy->net_ns != &init_net) net_ns 682 net/rds/tcp.c struct net *net = current->nsproxy->net_ns; net_ns 5654 net/sctp/socket.c if (!net_eq(current->nsproxy->net_ns, sock_net(sk))) net_ns 329 net/sctp/sysctl.c struct net *net = current->nsproxy->net_ns; net_ns 375 net/sctp/sysctl.c struct net *net = current->nsproxy->net_ns; net_ns 404 net/sctp/sysctl.c struct net *net = current->nsproxy->net_ns; net_ns 444 net/sctp/sysctl.c struct net *net = current->nsproxy->net_ns; net_ns 1469 net/socket.c return __sock_create(current->nsproxy->net_ns, family, type, protocol, res, 0); net_ns 1419 net/sunrpc/rpc_pipe.c return get_tree_keyed(fc, rpc_fill_super, get_net(fc->net_ns)); net_ns 1436 net/sunrpc/rpc_pipe.c fc->user_ns = get_user_ns(fc->net_ns->user_ns); net_ns 33 net/sysctl_net.c return ¤t->nsproxy->net_ns->sysctls; net_ns 38 net/sysctl_net.c return ¤t->nsproxy->net_ns->sysctls == set; net_ns 223 security/keys/keyring.c index_key->domain_tag = current->nsproxy->net_ns->key_domain;