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()
256 static void sock_map_release_progs(struct bpf_map *map) in sock_map_release_progs()
261 static struct sock *__sock_map_lookup_elem(struct bpf_map *map, u32 key) in __sock_map_lookup_elem()
272 static void *sock_map_lookup(struct bpf_map *map, void *key) in sock_map_lookup()
297 static void sock_map_delete_from_link(struct bpf_map *map, struct sock *sk, in sock_map_delete_from_link()
305 static int sock_map_delete_elem(struct bpf_map *map, void *key) in sock_map_delete_elem()
318 static int sock_map_get_next_key(struct bpf_map *map, void *key, void *next) in sock_map_get_next_key()
333 static int sock_map_update_common(struct bpf_map *map, u32 idx, in sock_map_update_common()
399 static int sock_map_update_elem(struct bpf_map *map, void *key, in sock_map_update_elem()
430 BPF_CALL_4(bpf_sock_map_update, struct bpf_sock_ops_kern *, sops, in BPF_CALL_4() argument
453 BPF_CALL_4(bpf_sk_redirect_map, struct sk_buff *, skb, in BPF_CALL_4() argument
477 BPF_CALL_4(bpf_msg_redirect_map, struct sk_msg *, msg, in BPF_CALL_4() argument
524 struct bpf_map map; member
558 static struct sock *__sock_hash_lookup_elem(struct bpf_map *map, void *key) in __sock_hash_lookup_elem()
581 static void sock_hash_delete_from_link(struct bpf_map *map, struct sock *sk, in sock_hash_delete_from_link()
606 static int sock_hash_delete_elem(struct bpf_map *map, void *key) in sock_hash_delete_elem()
655 static int sock_hash_update_common(struct bpf_map *map, void *key, in sock_hash_update_common()
723 static int sock_hash_update_elem(struct bpf_map *map, void *key, in sock_hash_update_elem()
753 static int sock_hash_get_next_key(struct bpf_map *map, void *key, in sock_hash_get_next_key()
850 static void sock_hash_free(struct bpf_map *map) in sock_hash_free()
875 static void sock_hash_release_progs(struct bpf_map *map) in sock_hash_release_progs()
881 struct bpf_map *, map, void *, key, u64, flags) in BPF_CALL_4() argument
903 struct bpf_map *, map, void *, key, u64, flags) in BPF_CALL_4() argument
927 struct bpf_map *, map, void *, key, u64, flags) in BPF_CALL_4() argument
959 static struct sk_psock_progs *sock_map_progs(struct bpf_map *map) in sock_map_progs()
973 int sock_map_prog_update(struct bpf_map *map, struct bpf_prog *prog, in sock_map_prog_update()