Lines Matching refs:bpf_map
18 struct bpf_map map;
27 static int sock_map_prog_update(struct bpf_map *map, struct bpf_prog *prog,
29 static struct sk_psock_progs *sock_map_progs(struct bpf_map *map);
31 static struct bpf_map *sock_map_alloc(union bpf_attr *attr) in sock_map_alloc()
65 struct bpf_map *map; in sock_map_get_from_fd()
85 struct bpf_map *map; in sock_map_prog_detach()
134 struct bpf_map *map, void *link_raw) in sock_map_add_link()
152 struct bpf_map *map = link->map; in sock_map_del_link()
217 static int sock_map_link(struct bpf_map *map, struct sock *sk) in sock_map_link()
336 static void sock_map_free(struct bpf_map *map) in sock_map_free()
367 static void sock_map_release_progs(struct bpf_map *map) in sock_map_release_progs()
372 static struct sock *__sock_map_lookup_elem(struct bpf_map *map, u32 key) in __sock_map_lookup_elem()
383 static void *sock_map_lookup(struct bpf_map *map, void *key) in sock_map_lookup()
395 static void *sock_map_lookup_sys(struct bpf_map *map, void *key) in sock_map_lookup_sys()
430 static void sock_map_delete_from_link(struct bpf_map *map, struct sock *sk, in sock_map_delete_from_link()
438 static int sock_map_delete_elem(struct bpf_map *map, void *key) in sock_map_delete_elem()
451 static int sock_map_get_next_key(struct bpf_map *map, void *key, void *next) in sock_map_get_next_key()
466 static int sock_map_update_common(struct bpf_map *map, u32 idx, in sock_map_update_common()
544 static int sock_hash_update_common(struct bpf_map *map, void *key,
547 int sock_map_update_elem_sys(struct bpf_map *map, void *key, void *value, in sock_map_update_elem_sys()
588 static int sock_map_update_elem(struct bpf_map *map, void *key, in sock_map_update_elem()
614 struct bpf_map *, map, void *, key, u64, flags) in BPF_CALL_4() argument
637 struct bpf_map *, map, u32, key, u64, flags) in BPF_CALL_4() argument
663 struct bpf_map *, map, u32, key, u64, flags) in BPF_CALL_4() argument
690 struct bpf_map *map;
697 __bpf_md_ptr(struct bpf_map *, map);
703 struct bpf_map *map, void *key, in DEFINE_BPF_ITER_FUNC()
835 struct bpf_map map;
869 static struct sock *__sock_hash_lookup_elem(struct bpf_map *map, void *key) in __sock_hash_lookup_elem()
892 static void sock_hash_delete_from_link(struct bpf_map *map, struct sock *sk, in sock_hash_delete_from_link()
917 static int sock_hash_delete_elem(struct bpf_map *map, void *key) in sock_hash_delete_elem()
967 static int sock_hash_update_common(struct bpf_map *map, void *key, in sock_hash_update_common()
1032 static int sock_hash_get_next_key(struct bpf_map *map, void *key, in sock_hash_get_next_key()
1072 static struct bpf_map *sock_hash_alloc(union bpf_attr *attr) in sock_hash_alloc()
1122 static void sock_hash_free(struct bpf_map *map) in sock_hash_free()
1174 static void *sock_hash_lookup_sys(struct bpf_map *map, void *key) in sock_hash_lookup_sys()
1189 static void *sock_hash_lookup(struct bpf_map *map, void *key) in sock_hash_lookup()
1201 static void sock_hash_release_progs(struct bpf_map *map) in sock_hash_release_progs()
1207 struct bpf_map *, map, void *, key, u64, flags) in BPF_CALL_4() argument
1229 struct bpf_map *, map, void *, key, u64, flags) in BPF_CALL_4() argument
1255 struct bpf_map *, map, void *, key, u64, flags) in BPF_CALL_4() argument
1282 struct bpf_map *map;
1421 static struct sk_psock_progs *sock_map_progs(struct bpf_map *map) in sock_map_progs()
1435 static int sock_map_prog_lookup(struct bpf_map *map, struct bpf_prog ***pprog, in sock_map_prog_lookup()
1469 static int sock_map_prog_update(struct bpf_map *map, struct bpf_prog *prog, in sock_map_prog_update()
1493 struct bpf_map *map; in sock_map_bpf_prog_query()
1634 struct bpf_map *map; in sock_map_iter_attach_target()