Home
last modified time | relevance | path

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

/linux-6.1.9/include/net/
Dnet_namespace.h254 static inline struct net *get_net(struct net *net) in get_net() function
294 static inline struct net *get_net(struct net *net) in get_net() function
342 get_net(net); in get_net_track()
/linux-6.1.9/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.1.9/net/core/
Dnet_namespace.c459 return get_net(old_net); in copy_net_ns()
661 return &get_net(container_of(ns, struct net, ns))->ns; in get_net_ns()
677 net = get_net(container_of(ns, struct net, ns)); in get_net_ns_by_fd()
701 net = get_net(nsproxy->net_ns); in get_net_ns_by_pid()
1345 net = get_net(nsproxy->net_ns); in netns_get()
1371 nsproxy->net_ns = get_net(net); in netns_install()
Drtnetlink.c2236 net = get_net(src_net); in rtnl_link_get_net()
2257 return get_net(src_net); in rtnl_link_get_net_by_nlattr()
/linux-6.1.9/fs/afs/
Dmntpt.c82 fc->net_ns = get_net(src_as->net_ns); in afs_mntpt_set_params()
Dsuper.c511 as->net_ns = get_net(fc->net_ns); in afs_alloc_sbi()
/linux-6.1.9/fs/
Dfs_context.c266 fc->net_ns = get_net(current->nsproxy->net_ns); in alloc_fs_context()
358 get_net(fc->net_ns); in vfs_dup_fs_context()
/linux-6.1.9/kernel/bpf/
Doffload.c278 get_net(net); in bpf_prog_offload_info_fill_ns()
505 get_net(net); in bpf_map_offload_info_fill_ns()
/linux-6.1.9/fs/proc/
Dproc_net.c279 net = get_net(ns->net_ns); in get_proc_task_net()
/linux-6.1.9/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.c1554 fc->net_ns = get_net(net); in nfs_init_fs_context()
/linux-6.1.9/kernel/
Daudit.c509 ac_new->net = get_net(net); in auditd_set()
700 net = get_net(ac->net); in auditd_send_unicast_skb()
850 net = get_net(ac->net); in kauditd_thread()
1003 reply->net = get_net(sock_net(NETLINK_CB(request_skb).sk)); in audit_send_reply()
Dauditfilter.c1185 dest->net = get_net(sock_net(NETLINK_CB(request_skb).sk)); in audit_list_rules_send()
/linux-6.1.9/fs/nfsd/
Dnfsctl.c1379 return get_tree_keyed(fc, nfsd_fill_super, get_net(fc->net_ns)); in nfsd_fs_get_tree()
Dnfs4state.c7969 get_net(net); in nfs4_state_create_net()
/linux-6.1.9/net/sunrpc/
Drpc_pipe.c1422 return get_tree_keyed(fc, rpc_fill_super, get_net(fc->net_ns)); in rpc_fs_get_tree()
Dclnt.c1538 net = get_net(xprt->xprt_net); in rpc_localaddr()
/linux-6.1.9/drivers/net/
Dgtp.c1293 net = get_net(src_net); in gtp_find_dev()
/linux-6.1.9/net/ceph/
Dmessenger.c1622 write_pnet(&msgr->net, get_net(current->nsproxy->net_ns)); in ceph_messenger_init()
/linux-6.1.9/fs/cifs/
Dconnect.c1627 cifs_set_net_ns(tcp_ses, get_net(current->nsproxy->net_ns)); in cifs_get_tcp_session()
/linux-6.1.9/drivers/infiniband/core/
Dcma.c989 id_priv->id.route.addr.dev_addr.net = get_net(net); in __rdma_create_id()
/linux-6.1.9/net/netfilter/
Dnf_tables_api.c8816 get_net(trans->ctx.net); in nf_tables_commit_release()