Lines Matching refs:bpf_map
18 struct bpf_map map;
27 static struct bpf_map *sock_map_alloc(union bpf_attr *attr) in sock_map_alloc()
70 struct bpf_map *map; in sock_map_get_from_fd()
90 struct bpf_map *map; in sock_map_prog_detach()
137 struct bpf_map *map, void *link_raw) in sock_map_add_link()
155 struct bpf_map *map = link->map; in sock_map_del_link()
231 static int sock_map_link(struct bpf_map *map, struct sk_psock_progs *progs, in sock_map_link()
322 static int sock_map_link_no_progs(struct bpf_map *map, struct sock *sk) in sock_map_link_no_progs()
343 static void sock_map_free(struct bpf_map *map) in sock_map_free()
376 static void sock_map_release_progs(struct bpf_map *map) in sock_map_release_progs()
381 static struct sock *__sock_map_lookup_elem(struct bpf_map *map, u32 key) in __sock_map_lookup_elem()
392 static void *sock_map_lookup(struct bpf_map *map, void *key) in sock_map_lookup()
404 static void *sock_map_lookup_sys(struct bpf_map *map, void *key) in sock_map_lookup_sys()
439 static void sock_map_delete_from_link(struct bpf_map *map, struct sock *sk, in sock_map_delete_from_link()
447 static int sock_map_delete_elem(struct bpf_map *map, void *key) in sock_map_delete_elem()
460 static int sock_map_get_next_key(struct bpf_map *map, void *key, void *next) in sock_map_get_next_key()
477 static int sock_map_update_common(struct bpf_map *map, u32 idx, in sock_map_update_common()
574 static int sock_hash_update_common(struct bpf_map *map, void *key,
577 int sock_map_update_elem_sys(struct bpf_map *map, void *key, void *value, in sock_map_update_elem_sys()
618 static int sock_map_update_elem(struct bpf_map *map, void *key, in sock_map_update_elem()
644 struct bpf_map *, map, void *, key, u64, flags) in BPF_CALL_4() argument
667 struct bpf_map *, map, u32, key, u64, flags) in BPF_CALL_4() argument
695 struct bpf_map *, map, u32, key, u64, flags) in BPF_CALL_4() argument
722 struct bpf_map *map;
729 __bpf_md_ptr(struct bpf_map *, map);
735 struct bpf_map *map, void *key, in DEFINE_BPF_ITER_FUNC()
868 struct bpf_map map;
902 static struct sock *__sock_hash_lookup_elem(struct bpf_map *map, void *key) in __sock_hash_lookup_elem()
925 static void sock_hash_delete_from_link(struct bpf_map *map, struct sock *sk, in sock_hash_delete_from_link()
950 static int sock_hash_delete_elem(struct bpf_map *map, void *key) in sock_hash_delete_elem()
999 static int sock_hash_update_common(struct bpf_map *map, void *key, in sock_hash_update_common()
1071 static int sock_hash_get_next_key(struct bpf_map *map, void *key, in sock_hash_get_next_key()
1111 static struct bpf_map *sock_hash_alloc(union bpf_attr *attr) in sock_hash_alloc()
1173 static void sock_hash_free(struct bpf_map *map) in sock_hash_free()
1225 static void *sock_hash_lookup_sys(struct bpf_map *map, void *key) in sock_hash_lookup_sys()
1240 static void *sock_hash_lookup(struct bpf_map *map, void *key) in sock_hash_lookup()
1252 static void sock_hash_release_progs(struct bpf_map *map) in sock_hash_release_progs()
1258 struct bpf_map *, map, void *, key, u64, flags) in BPF_CALL_4() argument
1280 struct bpf_map *, map, void *, key, u64, flags) in BPF_CALL_4() argument
1308 struct bpf_map *, map, void *, key, u64, flags) in BPF_CALL_4() argument
1335 struct bpf_map *map;
1475 static struct sk_psock_progs *sock_map_progs(struct bpf_map *map) in sock_map_progs()
1489 int sock_map_prog_update(struct bpf_map *map, struct bpf_prog *prog, in sock_map_prog_update()
1588 struct bpf_map *map; in sock_map_iter_attach_target()