Searched refs:get_net (Results 1 – 23 of 23) sorted by relevance
/linux-6.6.21/include/net/ |
D | net_namespace.h | 258 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/ |
D | ncsi-netlink.c | 231 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/ |
D | net_namespace.c | 470 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()
|
D | rtnetlink.c | 2303 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/ |
D | mntpt.c | 82 fc->net_ns = get_net(src_as->net_ns); in afs_mntpt_set_params()
|
D | super.c | 513 as->net_ns = get_net(fc->net_ns); in afs_alloc_sbi()
|
/linux-6.6.21/fs/ |
D | fs_context.c | 294 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/ |
D | namespace.c | 174 fc->net_ns = get_net(client->cl_net); in nfs_d_automount()
|
D | client.c | 184 clp->cl_net = get_net(cl_init->net); in nfs_alloc_client()
|
D | fs_context.c | 1618 fc->net_ns = get_net(net); in nfs_init_fs_context()
|
/linux-6.6.21/fs/proc/ |
D | proc_net.c | 279 net = get_net(ns->net_ns); in get_proc_task_net()
|
/linux-6.6.21/kernel/bpf/ |
D | offload.c | 441 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/ |
D | audit.c | 512 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()
|
D | auditfilter.c | 1186 dest->net = get_net(sock_net(NETLINK_CB(request_skb).sk)); in audit_list_rules_send()
|
/linux-6.6.21/fs/nfsd/ |
D | nfsctl.c | 1429 return get_tree_keyed(fc, nfsd_fill_super, get_net(fc->net_ns)); in nfsd_fs_get_tree()
|
D | nfs4state.c | 8153 get_net(net); in nfs4_state_create_net()
|
/linux-6.6.21/net/sunrpc/ |
D | rpc_pipe.c | 1422 return get_tree_keyed(fc, rpc_fill_super, get_net(fc->net_ns)); in rpc_fs_get_tree()
|
D | clnt.c | 1550 net = get_net(xprt->xprt_net); in rpc_localaddr()
|
/linux-6.6.21/drivers/net/ |
D | gtp.c | 1297 net = get_net(src_net); in gtp_find_dev()
|
/linux-6.6.21/net/ceph/ |
D | messenger.c | 1694 write_pnet(&msgr->net, get_net(current->nsproxy->net_ns)); in ceph_messenger_init()
|
/linux-6.6.21/fs/smb/client/ |
D | connect.c | 1698 cifs_set_net_ns(tcp_ses, get_net(current->nsproxy->net_ns)); in cifs_get_tcp_session()
|
/linux-6.6.21/drivers/infiniband/core/ |
D | cma.c | 1016 id_priv->id.route.addr.dev_addr.net = get_net(net); in __rdma_create_id()
|
/linux-6.6.21/net/netfilter/ |
D | nf_tables_api.c | 9770 get_net(trans->ctx.net); in nf_tables_commit_release()
|