Lines Matching defs:map
18 struct bpf_map map; member
63 struct bpf_map *map; in sock_map_get_from_fd() local
83 struct bpf_map *map; in sock_map_prog_detach() local
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() local
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()
365 static void sock_map_release_progs(struct bpf_map *map) in sock_map_release_progs()
370 static struct sock *__sock_map_lookup_elem(struct bpf_map *map, u32 key) in __sock_map_lookup_elem()
381 static void *sock_map_lookup(struct bpf_map *map, void *key) in sock_map_lookup()
393 static void *sock_map_lookup_sys(struct bpf_map *map, void *key) in sock_map_lookup_sys()
428 static void sock_map_delete_from_link(struct bpf_map *map, struct sock *sk, in sock_map_delete_from_link()
436 static long sock_map_delete_elem(struct bpf_map *map, void *key) in sock_map_delete_elem()
449 static int sock_map_get_next_key(struct bpf_map *map, void *key, void *next) in sock_map_get_next_key()
464 static int sock_map_update_common(struct bpf_map *map, u32 idx, in sock_map_update_common()
547 int sock_map_update_elem_sys(struct bpf_map *map, void *key, void *value, in sock_map_update_elem_sys()
588 static long sock_map_update_elem(struct bpf_map *map, void *key, in sock_map_update_elem()
613 BPF_CALL_4(bpf_sock_map_update, struct bpf_sock_ops_kern *, sops, in BPF_CALL_4() argument
636 BPF_CALL_4(bpf_sk_redirect_map, struct sk_buff *, skb, in BPF_CALL_4() argument
662 BPF_CALL_4(bpf_msg_redirect_map, struct sk_msg *, msg, in BPF_CALL_4() argument
692 struct bpf_map *map; member
705 struct bpf_map *map, void *key, in DEFINE_BPF_ITER_FUNC()
800 static u64 sock_map_mem_usage(const struct bpf_map *map) in sock_map_mem_usage()
846 struct bpf_map map; member
880 static struct sock *__sock_hash_lookup_elem(struct bpf_map *map, void *key) in __sock_hash_lookup_elem()
903 static void sock_hash_delete_from_link(struct bpf_map *map, struct sock *sk, in sock_hash_delete_from_link()
928 static long sock_hash_delete_elem(struct bpf_map *map, void *key) in sock_hash_delete_elem()
978 static int sock_hash_update_common(struct bpf_map *map, void *key, in sock_hash_update_common()
1043 static int sock_hash_get_next_key(struct bpf_map *map, void *key, in sock_hash_get_next_key()
1131 static void sock_hash_free(struct bpf_map *map) in sock_hash_free()
1183 static void *sock_hash_lookup_sys(struct bpf_map *map, void *key) in sock_hash_lookup_sys()
1198 static void *sock_hash_lookup(struct bpf_map *map, void *key) in sock_hash_lookup()
1210 static void sock_hash_release_progs(struct bpf_map *map) in sock_hash_release_progs()
1216 struct bpf_map *, map, void *, key, u64, flags) in BPF_CALL_4() argument
1238 struct bpf_map *, map, void *, key, u64, flags) in BPF_CALL_4() argument
1264 struct bpf_map *, map, void *, key, u64, flags) in BPF_CALL_4() argument
1293 struct bpf_map *map; member
1409 static u64 sock_hash_mem_usage(const struct bpf_map *map) in sock_hash_mem_usage()
1443 static struct sk_psock_progs *sock_map_progs(struct bpf_map *map) in sock_map_progs()
1457 static int sock_map_prog_lookup(struct bpf_map *map, struct bpf_prog ***pprog, in sock_map_prog_lookup()
1491 static int sock_map_prog_update(struct bpf_map *map, struct bpf_prog *prog, in sock_map_prog_update()
1515 struct bpf_map *map; in sock_map_bpf_prog_query() local
1664 struct bpf_map *map; in sock_map_iter_attach_target() local