Home
last modified time | relevance | path

Searched refs:bpf_map (Results 1 – 4 of 4) sorted by relevance

/net/core/
Dsock_map.c18 struct bpf_map map;
27 static int sock_map_prog_update(struct bpf_map *map, struct bpf_prog *prog,
29 static struct sk_psock_progs *sock_map_progs(struct bpf_map *map);
31 static struct bpf_map *sock_map_alloc(union bpf_attr *attr) in sock_map_alloc()
63 struct bpf_map *map; in sock_map_get_from_fd()
83 struct bpf_map *map; in sock_map_prog_detach()
130 struct bpf_map *map, void *link_raw) in sock_map_add_link()
148 struct bpf_map *map = link->map; in sock_map_del_link()
213 static int sock_map_link(struct bpf_map *map, struct sock *sk) in sock_map_link()
332 static void sock_map_free(struct bpf_map *map) in sock_map_free()
[all …]
Dbpf_sk_storage.c21 bpf_sk_storage_lookup(struct sock *sk, struct bpf_map *map, bool cacheit_lockit) in bpf_sk_storage_lookup()
35 static int bpf_sk_storage_del(struct sock *sk, struct bpf_map *map) in bpf_sk_storage_del()
64 static void bpf_sk_storage_map_free(struct bpf_map *map) in bpf_sk_storage_map_free()
69 static struct bpf_map *bpf_sk_storage_map_alloc(union bpf_attr *attr) in bpf_sk_storage_map_alloc()
74 static int notsupp_get_next_key(struct bpf_map *map, void *key, in notsupp_get_next_key()
80 static void *bpf_fd_sk_storage_lookup_elem(struct bpf_map *map, void *key) in bpf_fd_sk_storage_lookup_elem()
97 static long bpf_fd_sk_storage_update_elem(struct bpf_map *map, void *key, in bpf_fd_sk_storage_update_elem()
117 static long bpf_fd_sk_storage_delete_elem(struct bpf_map *map, void *key) in bpf_fd_sk_storage_delete_elem()
172 struct bpf_map *map; in bpf_sk_storage_clone()
224 BPF_CALL_5(bpf_sk_storage_get, struct bpf_map *, map, struct sock *, sk, in BPF_CALL_5() argument
[all …]
Dfilter.c4283 void bpf_clear_redirect_map(struct bpf_map *map) in bpf_clear_redirect_map()
4358 struct bpf_map *map; in __xdp_do_redirect_frame()
4455 struct bpf_map *map; in xdp_do_generic_redirect_map()
4567 BPF_CALL_3(bpf_xdp_redirect_map, struct bpf_map *, map, u64, key, in BPF_CALL_3() argument
4595 BPF_CALL_5(bpf_skb_event_output, struct sk_buff *, skb, struct bpf_map *, map, in BPF_CALL_5() argument
4885 BPF_CALL_3(bpf_skb_under_cgroup, struct sk_buff *, skb, struct bpf_map *, map, in BPF_CALL_3() argument
5006 BPF_CALL_5(bpf_xdp_event_output, struct xdp_buff *, xdp, struct bpf_map *, map, in BPF_CALL_5() argument
11179 struct bpf_map *, map, void *, key, u32, flags) in BPF_CALL_4() argument
/net/xdp/
Dxskmap.c64 static struct bpf_map *xsk_map_alloc(union bpf_attr *attr) in xsk_map_alloc()
88 static u64 xsk_map_mem_usage(const struct bpf_map *map) in xsk_map_mem_usage()
96 static void xsk_map_free(struct bpf_map *map) in xsk_map_free()
104 static int xsk_map_get_next_key(struct bpf_map *map, void *key, void *next_key) in xsk_map_get_next_key()
121 static int xsk_map_gen_lookup(struct bpf_map *map, struct bpf_insn *insn_buf) in xsk_map_gen_lookup()
141 static void *__xsk_map_lookup_elem(struct bpf_map *map, u32 key) in __xsk_map_lookup_elem()
151 static void *xsk_map_lookup_elem(struct bpf_map *map, void *key) in xsk_map_lookup_elem()
156 static void *xsk_map_lookup_elem_sys_only(struct bpf_map *map, void *key) in xsk_map_lookup_elem_sys_only()
161 static long xsk_map_update_elem(struct bpf_map *map, void *key, void *value, in xsk_map_update_elem()
222 static long xsk_map_delete_elem(struct bpf_map *map, void *key) in xsk_map_delete_elem()
[all …]