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()
369 static void sock_map_release_progs(struct bpf_map *map) in sock_map_release_progs()
374 static struct sock *__sock_map_lookup_elem(struct bpf_map *map, u32 key) in __sock_map_lookup_elem()
385 static void *sock_map_lookup(struct bpf_map *map, void *key) in sock_map_lookup()
397 static void *sock_map_lookup_sys(struct bpf_map *map, void *key) in sock_map_lookup_sys()
432 static void sock_map_delete_from_link(struct bpf_map *map, struct sock *sk, in sock_map_delete_from_link()
440 static int sock_map_delete_elem(struct bpf_map *map, void *key) in sock_map_delete_elem()
453 static int sock_map_get_next_key(struct bpf_map *map, void *key, void *next) in sock_map_get_next_key()
468 static int sock_map_update_common(struct bpf_map *map, u32 idx, in sock_map_update_common()
546 static int sock_hash_update_common(struct bpf_map *map, void *key,
549 int sock_map_update_elem_sys(struct bpf_map *map, void *key, void *value, in sock_map_update_elem_sys()
590 static int sock_map_update_elem(struct bpf_map *map, void *key, in sock_map_update_elem()
616 struct bpf_map *, map, void *, key, u64, flags) in BPF_CALL_4() argument
639 struct bpf_map *, map, u32, key, u64, flags) in BPF_CALL_4() argument
665 struct bpf_map *, map, u32, key, u64, flags) in BPF_CALL_4() argument
692 struct bpf_map *map;
699 __bpf_md_ptr(struct bpf_map *, map);
705 struct bpf_map *map, void *key, in DEFINE_BPF_ITER_FUNC()
837 struct bpf_map map;
871 static struct sock *__sock_hash_lookup_elem(struct bpf_map *map, void *key) in __sock_hash_lookup_elem()
894 static void sock_hash_delete_from_link(struct bpf_map *map, struct sock *sk, in sock_hash_delete_from_link()
919 static int sock_hash_delete_elem(struct bpf_map *map, void *key) in sock_hash_delete_elem()
969 static int sock_hash_update_common(struct bpf_map *map, void *key, in sock_hash_update_common()
1034 static int sock_hash_get_next_key(struct bpf_map *map, void *key, in sock_hash_get_next_key()
1074 static struct bpf_map *sock_hash_alloc(union bpf_attr *attr) in sock_hash_alloc()
1124 static void sock_hash_free(struct bpf_map *map) in sock_hash_free()
1176 static void *sock_hash_lookup_sys(struct bpf_map *map, void *key) in sock_hash_lookup_sys()
1191 static void *sock_hash_lookup(struct bpf_map *map, void *key) in sock_hash_lookup()
1203 static void sock_hash_release_progs(struct bpf_map *map) in sock_hash_release_progs()
1209 struct bpf_map *, map, void *, key, u64, flags) in BPF_CALL_4() argument
1231 struct bpf_map *, map, void *, key, u64, flags) in BPF_CALL_4() argument
1257 struct bpf_map *, map, void *, key, u64, flags) in BPF_CALL_4() argument
1284 struct bpf_map *map;
1423 static struct sk_psock_progs *sock_map_progs(struct bpf_map *map) in sock_map_progs()
1437 static int sock_map_prog_lookup(struct bpf_map *map, struct bpf_prog ***pprog, in sock_map_prog_lookup()
1471 static int sock_map_prog_update(struct bpf_map *map, struct bpf_prog *prog, in sock_map_prog_update()
1495 struct bpf_map *map; in sock_map_bpf_prog_query()
1643 struct bpf_map *map; in sock_map_iter_attach_target()