Lines Matching refs:bpf_map
18 struct bpf_map map;
34 static int sock_map_prog_update(struct bpf_map *map, struct bpf_prog *prog,
37 static struct sk_psock_progs *sock_map_progs(struct bpf_map *map);
39 static struct bpf_map *sock_map_alloc(union bpf_attr *attr) in sock_map_alloc()
70 struct bpf_map *map; in sock_map_get_from_fd()
89 struct bpf_map *map; in sock_map_prog_detach()
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()
216 static int sock_map_link(struct bpf_map *map, struct sock *sk) in sock_map_link()
335 static void sock_map_free(struct bpf_map *map) in sock_map_free()
368 static void sock_map_release_progs(struct bpf_map *map) in sock_map_release_progs()
373 static struct sock *__sock_map_lookup_elem(struct bpf_map *map, u32 key) in __sock_map_lookup_elem()
384 static void *sock_map_lookup(struct bpf_map *map, void *key) in sock_map_lookup()
396 static void *sock_map_lookup_sys(struct bpf_map *map, void *key) in sock_map_lookup_sys()
431 static void sock_map_delete_from_link(struct bpf_map *map, struct sock *sk, in sock_map_delete_from_link()
439 static long sock_map_delete_elem(struct bpf_map *map, void *key) in sock_map_delete_elem()
452 static int sock_map_get_next_key(struct bpf_map *map, void *key, void *next) in sock_map_get_next_key()
467 static int sock_map_update_common(struct bpf_map *map, u32 idx, in sock_map_update_common()
547 static int sock_hash_update_common(struct bpf_map *map, void *key,
550 int sock_map_update_elem_sys(struct bpf_map *map, void *key, void *value, in sock_map_update_elem_sys()
591 static long sock_map_update_elem(struct bpf_map *map, void *key, in sock_map_update_elem()
617 struct bpf_map *, map, void *, key, u64, flags) in BPF_CALL_4() argument
640 struct bpf_map *, map, u32, key, u64, flags) in BPF_CALL_4() argument
668 struct bpf_map *, map, u32, key, u64, flags) in BPF_CALL_4() argument
699 struct bpf_map *map;
706 __bpf_md_ptr(struct bpf_map *, map);
712 struct bpf_map *map, void *key, in DEFINE_BPF_ITER_FUNC()
807 static u64 sock_map_mem_usage(const struct bpf_map *map) in sock_map_mem_usage()
853 struct bpf_map map;
887 static struct sock *__sock_hash_lookup_elem(struct bpf_map *map, void *key) in __sock_hash_lookup_elem()
910 static void sock_hash_delete_from_link(struct bpf_map *map, struct sock *sk, in sock_hash_delete_from_link()
935 static long sock_hash_delete_elem(struct bpf_map *map, void *key) in sock_hash_delete_elem()
985 static int sock_hash_update_common(struct bpf_map *map, void *key, in sock_hash_update_common()
1050 static int sock_hash_get_next_key(struct bpf_map *map, void *key, in sock_hash_get_next_key()
1090 static struct bpf_map *sock_hash_alloc(union bpf_attr *attr) in sock_hash_alloc()
1138 static void sock_hash_free(struct bpf_map *map) in sock_hash_free()
1191 static void *sock_hash_lookup_sys(struct bpf_map *map, void *key) in sock_hash_lookup_sys()
1206 static void *sock_hash_lookup(struct bpf_map *map, void *key) in sock_hash_lookup()
1218 static void sock_hash_release_progs(struct bpf_map *map) in sock_hash_release_progs()
1224 struct bpf_map *, map, void *, key, u64, flags) in BPF_CALL_4() argument
1246 struct bpf_map *, map, void *, key, u64, flags) in BPF_CALL_4() argument
1274 struct bpf_map *, map, void *, key, u64, flags) in BPF_CALL_4() argument
1305 struct bpf_map *map;
1421 static u64 sock_hash_mem_usage(const struct bpf_map *map) in sock_hash_mem_usage()
1455 static struct sk_psock_progs *sock_map_progs(struct bpf_map *map) in sock_map_progs()
1469 static int sock_map_prog_link_lookup(struct bpf_map *map, struct bpf_prog ***pprog, in sock_map_prog_link_lookup()
1518 static int sock_map_prog_update(struct bpf_map *map, struct bpf_prog *prog, in sock_map_prog_update()
1556 struct bpf_map *map; in sock_map_bpf_prog_query()
1705 struct bpf_map *map;
1842 struct bpf_map *map; in sock_map_link_create()
1901 struct bpf_map *map; in sock_map_iter_attach_target()