Home
last modified time | relevance | path

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

/linux-6.6.21/include/net/
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()
/linux-6.6.21/net/ncsi/
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()
/linux-6.6.21/net/core/
Dnet_namespace.c470 return get_net(old_net); in copy_net_ns()
674 return &get_net(container_of(ns, struct net, ns))->ns; in get_net_ns()
689 net = get_net(container_of(ns, struct net, ns)); in get_net_ns_by_fd()
712 net = get_net(nsproxy->net_ns); in get_net_ns_by_pid()
1357 net = get_net(nsproxy->net_ns); in netns_get()
1383 nsproxy->net_ns = get_net(net); in netns_install()
Drtnetlink.c2303 net = get_net(src_net); in rtnl_link_get_net()
2324 return get_net(src_net); in rtnl_link_get_net_by_nlattr()
/linux-6.6.21/fs/afs/
Dmntpt.c82 fc->net_ns = get_net(src_as->net_ns); in afs_mntpt_set_params()
Dsuper.c513 as->net_ns = get_net(fc->net_ns); in afs_alloc_sbi()
/linux-6.6.21/fs/
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()
/linux-6.6.21/fs/nfs/
Dnamespace.c174 fc->net_ns = get_net(client->cl_net); in nfs_d_automount()
Dclient.c184 clp->cl_net = get_net(cl_init->net); in nfs_alloc_client()
Dfs_context.c1618 fc->net_ns = get_net(net); in nfs_init_fs_context()
/linux-6.6.21/fs/proc/
Dproc_net.c279 net = get_net(ns->net_ns); in get_proc_task_net()
/linux-6.6.21/kernel/bpf/
Doffload.c441 get_net(net); in bpf_prog_offload_info_fill_ns()
649 get_net(net); in bpf_map_offload_info_fill_ns()
/linux-6.6.21/kernel/
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()
Dauditfilter.c1186 dest->net = get_net(sock_net(NETLINK_CB(request_skb).sk)); in audit_list_rules_send()
/linux-6.6.21/fs/nfsd/
Dnfsctl.c1429 return get_tree_keyed(fc, nfsd_fill_super, get_net(fc->net_ns)); in nfsd_fs_get_tree()
Dnfs4state.c8153 get_net(net); in nfs4_state_create_net()
/linux-6.6.21/net/sunrpc/
Drpc_pipe.c1422 return get_tree_keyed(fc, rpc_fill_super, get_net(fc->net_ns)); in rpc_fs_get_tree()
Dclnt.c1550 net = get_net(xprt->xprt_net); in rpc_localaddr()
/linux-6.6.21/drivers/net/
Dgtp.c1297 net = get_net(src_net); in gtp_find_dev()
/linux-6.6.21/net/ceph/
Dmessenger.c1694 write_pnet(&msgr->net, get_net(current->nsproxy->net_ns)); in ceph_messenger_init()
/linux-6.6.21/fs/smb/client/
Dconnect.c1698 cifs_set_net_ns(tcp_ses, get_net(current->nsproxy->net_ns)); in cifs_get_tcp_session()
/linux-6.6.21/drivers/infiniband/core/
Dcma.c1016 id_priv->id.route.addr.dev_addr.net = get_net(net); in __rdma_create_id()
/linux-6.6.21/net/netfilter/
Dnf_tables_api.c9770 get_net(trans->ctx.net); in nf_tables_commit_release()