Home
last modified time | relevance | path

Searched refs:net (Results 1 – 7 of 7) sorted by relevance

/kernel/
Daudit.c108 struct net *net; member
201 struct net *net; member
285 static struct sock *audit_get_sk(const struct net *net) in audit_get_sk() argument
289 if (!net) in audit_get_sk()
292 aunet = net_generic(net, audit_net_id); in audit_get_sk()
478 put_net(ac->net); in auditd_conn_free()
492 static int auditd_set(struct pid *pid, u32 portid, struct net *net) in auditd_set() argument
497 if (!pid || !net) in auditd_set()
505 ac_new->net = get_net(net); in auditd_set()
655 struct net *net; in auditd_send_unicast_skb() local
[all …]
Daudit.h228 struct net *net; member
Dauditfilter.c1158 struct net *net = sock_net(NETLINK_CB(request_skb).sk); in audit_list_rules_send() local
1172 dest->net = get_net(net); in audit_list_rules_send()
Dsysctl_binary.c1232 struct net *net = current->nsproxy->net_ns; in get_sysctl() local
1234 dev = dev_get_by_index(net, ctl_name); in get_sysctl()
/kernel/bpf/
Doffload.c273 struct net *net; in bpf_prog_offload_info_fill_ns() local
280 net = dev_net(aux->offload->netdev); in bpf_prog_offload_info_fill_ns()
281 get_net(net); in bpf_prog_offload_info_fill_ns()
282 ns = &net->ns; in bpf_prog_offload_info_fill_ns()
364 struct net *net = current->nsproxy->net_ns; in bpf_map_offload_map_alloc() local
383 offmap->netdev = __dev_get_by_index(net, attr->map_ifindex); in bpf_map_offload_map_alloc()
500 struct net *net; in bpf_map_offload_info_fill_ns() local
507 net = dev_net(args->offmap->netdev); in bpf_map_offload_info_fill_ns()
508 get_net(net); in bpf_map_offload_info_fill_ns()
509 ns = &net->ns; in bpf_map_offload_info_fill_ns()
Ddevmap.c583 static struct bpf_dtab_netdev *__dev_map_alloc_node(struct net *net, in __dev_map_alloc_node() argument
609 dev->dev = dev_get_by_index(net, ifindex); in __dev_map_alloc_node()
622 static int __dev_map_update_elem(struct net *net, struct bpf_map *map, in __dev_map_update_elem() argument
640 dev = __dev_map_alloc_node(net, dtab, ifindex, i); in __dev_map_update_elem()
663 static int __dev_map_hash_update_elem(struct net *net, struct bpf_map *map, in __dev_map_hash_update_elem() argument
682 dev = __dev_map_alloc_node(net, dtab, ifindex, idx); in __dev_map_hash_update_elem()
/kernel/power/
DKconfig52 from <http://suspend.sf.net>.