Lines Matching defs:map
18 struct bpf_map map; member
70 struct bpf_map *map; in sock_map_get_from_fd() local
89 struct bpf_map *map; in sock_map_prog_detach() local
133 struct bpf_map *map, void *link_raw) in sock_map_add_link()
151 struct bpf_map *map = link->map; in sock_map_del_link() local
217 static int sock_map_link(struct bpf_map *map, struct sock *sk) in sock_map_link()
339 static void sock_map_free(struct bpf_map *map) in sock_map_free()
372 static void sock_map_release_progs(struct bpf_map *map) in sock_map_release_progs()
377 static struct sock *__sock_map_lookup_elem(struct bpf_map *map, u32 key) in __sock_map_lookup_elem()
388 static void *sock_map_lookup(struct bpf_map *map, void *key) in sock_map_lookup()
400 static void *sock_map_lookup_sys(struct bpf_map *map, void *key) in sock_map_lookup_sys()
434 static void sock_map_delete_from_link(struct bpf_map *map, struct sock *sk, in sock_map_delete_from_link()
442 static long sock_map_delete_elem(struct bpf_map *map, void *key) in sock_map_delete_elem()
455 static int sock_map_get_next_key(struct bpf_map *map, void *key, void *next) in sock_map_get_next_key()
470 static int sock_map_update_common(struct bpf_map *map, u32 idx, in sock_map_update_common()
556 int sock_map_update_elem_sys(struct bpf_map *map, void *key, void *value, in sock_map_update_elem_sys()
597 static long sock_map_update_elem(struct bpf_map *map, void *key, in sock_map_update_elem()
622 BPF_CALL_4(bpf_sock_map_update, struct bpf_sock_ops_kern *, sops, in BPF_CALL_4() argument
645 BPF_CALL_4(bpf_sk_redirect_map, struct sk_buff *, skb, in BPF_CALL_4() argument
673 BPF_CALL_4(bpf_msg_redirect_map, struct sk_msg *, msg, in BPF_CALL_4() argument
705 struct bpf_map *map; member
718 struct bpf_map *map, void *key, in DEFINE_BPF_ITER_FUNC()
813 static u64 sock_map_mem_usage(const struct bpf_map *map) in sock_map_mem_usage()
859 struct bpf_map map; member
893 static struct sock *__sock_hash_lookup_elem(struct bpf_map *map, void *key) in __sock_hash_lookup_elem()
916 static void sock_hash_delete_from_link(struct bpf_map *map, struct sock *sk, in sock_hash_delete_from_link()
941 static long sock_hash_delete_elem(struct bpf_map *map, void *key) in sock_hash_delete_elem()
991 static int sock_hash_update_common(struct bpf_map *map, void *key, in sock_hash_update_common()
1056 static int sock_hash_get_next_key(struct bpf_map *map, void *key, in sock_hash_get_next_key()
1144 static void sock_hash_free(struct bpf_map *map) in sock_hash_free()
1197 static void *sock_hash_lookup_sys(struct bpf_map *map, void *key) in sock_hash_lookup_sys()
1212 static void *sock_hash_lookup(struct bpf_map *map, void *key) in sock_hash_lookup()
1224 static void sock_hash_release_progs(struct bpf_map *map) in sock_hash_release_progs()
1230 struct bpf_map *, map, void *, key, u64, flags) in BPF_CALL_4() argument
1252 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
1311 struct bpf_map *map; member
1427 static u64 sock_hash_mem_usage(const struct bpf_map *map) in sock_hash_mem_usage()
1461 static struct sk_psock_progs *sock_map_progs(struct bpf_map *map) in sock_map_progs()
1475 static int sock_map_prog_link_lookup(struct bpf_map *map, struct bpf_prog ***pprog, in sock_map_prog_link_lookup()
1524 static int sock_map_prog_update(struct bpf_map *map, struct bpf_prog *prog, in sock_map_prog_update()
1562 struct bpf_map *map; in sock_map_bpf_prog_query() local
1711 struct bpf_map *map; member
1847 struct bpf_map *map; in sock_map_link_create() local
1906 struct bpf_map *map; in sock_map_iter_attach_target() local