Home
last modified time | relevance | path

Searched refs:get_net (Results 1 – 23 of 23) sorted by relevance

/openbmc/linux/include/net/
H A Dnet_namespace.h258 static inline struct net *get_net(struct net *net) in get_net() function
298 static inline struct net *get_net(struct net *net) in get_net() function
358 get_net(net); in get_net_track()
/openbmc/linux/net/ncsi/
H A Dncsi-netlink.c231 ndp = ndp_from_ifindex(get_net(sock_net(skb->sk)), in ncsi_pkg_info_all_nl()
292 ndp = ndp_from_ifindex(get_net(sock_net(msg->sk)), in ncsi_set_interface_nl()
368 ndp = ndp_from_ifindex(get_net(sock_net(msg->sk)), in ncsi_clear_interface_nl()
430 ndp = ndp_from_ifindex(get_net(sock_net(msg->sk)), in ncsi_send_cmd_nl()
607 ndp = ndp_from_ifindex(get_net(sock_net(msg->sk)), in ncsi_set_package_mask_nl()
662 ndp = ndp_from_ifindex(get_net(sock_net(msg->sk)), in ncsi_set_channel_mask_nl()
/openbmc/linux/net/core/
H A Dnet_namespace.c473 return get_net(old_net); in copy_net_ns()
697 net = get_net(container_of(ns, struct net, ns)); in get_net_ns_by_fd()
720 net = get_net(nsproxy->net_ns); in get_net_ns_by_pid()
1369 net = get_net(nsproxy->net_ns); in netns_get()
1395 nsproxy->net_ns = get_net(net); in netns_install()
H A Drtnetlink.c2332 net = get_net(src_net); in rtnl_link_get_net()
2353 return get_net(src_net); in rtnl_link_get_net_by_nlattr()
/openbmc/linux/fs/afs/
H A Dmntpt.c82 fc->net_ns = get_net(src_as->net_ns); in afs_mntpt_set_params()
H A Dsuper.c513 as->net_ns = get_net(fc->net_ns); in afs_alloc_sbi()
/openbmc/linux/fs/
H A Dfs_context.c294 fc->net_ns = get_net(current->nsproxy->net_ns); in alloc_fs_context()
407 get_net(fc->net_ns); in vfs_dup_fs_context()
/openbmc/linux/fs/proc/
H A Dproc_net.c279 net = get_net(ns->net_ns); in get_proc_task_net()
/openbmc/linux/fs/nfs/
H A Dnamespace.c174 fc->net_ns = get_net(client->cl_net); in nfs_d_automount()
H A Dfs_context.c1621 fc->net_ns = get_net(net); in nfs_init_fs_context()
H A Dclient.c183 clp->cl_net = get_net(cl_init->net); in nfs_alloc_client()
/openbmc/linux/kernel/bpf/
H A Doffload.c441 get_net(net); in bpf_prog_offload_info_fill_ns()
649 get_net(net); in bpf_map_offload_info_fill_ns()
/openbmc/linux/kernel/
H A Daudit.c512 ac_new->net = get_net(net); in auditd_set()
710 net = get_net(ac->net); in auditd_send_unicast_skb()
860 net = get_net(ac->net); in kauditd_thread()
1013 reply->net = get_net(sock_net(NETLINK_CB(request_skb).sk)); in audit_send_reply()
H A Dauditfilter.c1187 dest->net = get_net(sock_net(NETLINK_CB(request_skb).sk)); in audit_list_rules_send()
/openbmc/linux/fs/nfsd/
H A Dnfsctl.c1429 return get_tree_keyed(fc, nfsd_fill_super, get_net(fc->net_ns)); in nfsd_fs_get_tree()
H A Dnfs4state.c8151 get_net(net); in nfs4_state_create_net()
/openbmc/linux/net/sunrpc/
H A Drpc_pipe.c1422 return get_tree_keyed(fc, rpc_fill_super, get_net(fc->net_ns)); in rpc_fs_get_tree()
H A Dclnt.c1554 net = get_net(xprt->xprt_net); in rpc_localaddr()
/openbmc/linux/drivers/net/
H A Dgtp.c1305 net = get_net(src_net); in gtp_find_dev()
/openbmc/linux/net/ceph/
H A Dmessenger.c1694 write_pnet(&msgr->net, get_net(current->nsproxy->net_ns)); in ceph_messenger_init()
/openbmc/linux/fs/smb/client/
H A Dconnect.c1729 cifs_set_net_ns(tcp_ses, get_net(current->nsproxy->net_ns)); in cifs_get_tcp_session()
/openbmc/linux/drivers/infiniband/core/
H A Dcma.c1018 id_priv->id.route.addr.dev_addr.net = get_net(net); in __rdma_create_id()
/openbmc/linux/net/netfilter/
H A Dnf_tables_api.c9934 get_net(trans->ctx.net); in nf_tables_commit_release()