Lines Matching defs:map
15 struct bpf_map map; member
66 struct bpf_map *map; in sock_map_get_from_fd() local
97 struct bpf_map *map, void *link_raw) in sock_map_add_link()
115 struct bpf_map *map = link->map; in sock_map_del_link() local
142 static int sock_map_link(struct bpf_map *map, struct sk_psock_progs *progs, in sock_map_link()
231 static void sock_map_free(struct bpf_map *map) in sock_map_free()
259 static void sock_map_release_progs(struct bpf_map *map) in sock_map_release_progs()
264 static struct sock *__sock_map_lookup_elem(struct bpf_map *map, u32 key) in __sock_map_lookup_elem()
275 static void *sock_map_lookup(struct bpf_map *map, void *key) in sock_map_lookup()
300 static void sock_map_delete_from_link(struct bpf_map *map, struct sock *sk, in sock_map_delete_from_link()
308 static int sock_map_delete_elem(struct bpf_map *map, void *key) in sock_map_delete_elem()
321 static int sock_map_get_next_key(struct bpf_map *map, void *key, void *next) in sock_map_get_next_key()
336 static int sock_map_update_common(struct bpf_map *map, u32 idx, in sock_map_update_common()
402 static int sock_map_update_elem(struct bpf_map *map, void *key, in sock_map_update_elem()
433 BPF_CALL_4(bpf_sock_map_update, struct bpf_sock_ops_kern *, sops, in BPF_CALL_4() argument
456 BPF_CALL_4(bpf_sk_redirect_map, struct sk_buff *, skb, in BPF_CALL_4() argument
480 BPF_CALL_4(bpf_msg_redirect_map, struct sk_msg *, msg, in BPF_CALL_4() argument
527 struct bpf_map map; member
561 static struct sock *__sock_hash_lookup_elem(struct bpf_map *map, void *key) in __sock_hash_lookup_elem()
584 static void sock_hash_delete_from_link(struct bpf_map *map, struct sock *sk, in sock_hash_delete_from_link()
609 static int sock_hash_delete_elem(struct bpf_map *map, void *key) in sock_hash_delete_elem()
658 static int sock_hash_update_common(struct bpf_map *map, void *key, in sock_hash_update_common()
726 static int sock_hash_update_elem(struct bpf_map *map, void *key, in sock_hash_update_elem()
756 static int sock_hash_get_next_key(struct bpf_map *map, void *key, in sock_hash_get_next_key()
853 static void sock_hash_free(struct bpf_map *map) in sock_hash_free()
880 static void sock_hash_release_progs(struct bpf_map *map) in sock_hash_release_progs()
886 struct bpf_map *, map, void *, key, u64, flags) in BPF_CALL_4() argument
908 struct bpf_map *, map, void *, key, u64, flags) in BPF_CALL_4() argument
932 struct bpf_map *, map, void *, key, u64, flags) in BPF_CALL_4() argument
964 static struct sk_psock_progs *sock_map_progs(struct bpf_map *map) in sock_map_progs()
978 int sock_map_prog_update(struct bpf_map *map, struct bpf_prog *prog, in sock_map_prog_update()