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()
214 static int sock_map_link(struct bpf_map *map, struct sock *sk) in sock_map_link()
326 static void sock_map_free(struct bpf_map *map) in sock_map_free()
357 static void sock_map_release_progs(struct bpf_map *map) in sock_map_release_progs()
362 static struct sock *__sock_map_lookup_elem(struct bpf_map *map, u32 key) in __sock_map_lookup_elem()
373 static void *sock_map_lookup(struct bpf_map *map, void *key) in sock_map_lookup()
385 static void *sock_map_lookup_sys(struct bpf_map *map, void *key) in sock_map_lookup_sys()
420 static void sock_map_delete_from_link(struct bpf_map *map, struct sock *sk, in sock_map_delete_from_link()
428 static int sock_map_delete_elem(struct bpf_map *map, void *key) in sock_map_delete_elem()
441 static int sock_map_get_next_key(struct bpf_map *map, void *key, void *next) in sock_map_get_next_key()
456 static int sock_map_update_common(struct bpf_map *map, u32 idx, in sock_map_update_common()
540 static int sock_hash_update_common(struct bpf_map *map, void *key,
543 int sock_map_update_elem_sys(struct bpf_map *map, void *key, void *value, in sock_map_update_elem_sys()
584 static int sock_map_update_elem(struct bpf_map *map, void *key, in sock_map_update_elem()
610 struct bpf_map *, map, void *, key, u64, flags) in BPF_CALL_4() argument
633 struct bpf_map *, map, u32, key, u64, flags) in BPF_CALL_4() argument
659 struct bpf_map *, map, u32, key, u64, flags) in BPF_CALL_4() argument
686 struct bpf_map *map;
693 __bpf_md_ptr(struct bpf_map *, map);
699 struct bpf_map *map, void *key, in DEFINE_BPF_ITER_FUNC()
823 struct bpf_map map;
857 static struct sock *__sock_hash_lookup_elem(struct bpf_map *map, void *key) in __sock_hash_lookup_elem()
880 static void sock_hash_delete_from_link(struct bpf_map *map, struct sock *sk, in sock_hash_delete_from_link()
905 static int sock_hash_delete_elem(struct bpf_map *map, void *key) in sock_hash_delete_elem()
955 static int sock_hash_update_common(struct bpf_map *map, void *key, in sock_hash_update_common()
1020 static int sock_hash_get_next_key(struct bpf_map *map, void *key, in sock_hash_get_next_key()
1060 static struct bpf_map *sock_hash_alloc(union bpf_attr *attr) in sock_hash_alloc()
1110 static void sock_hash_free(struct bpf_map *map) in sock_hash_free()
1162 static void *sock_hash_lookup_sys(struct bpf_map *map, void *key) in sock_hash_lookup_sys()
1177 static void *sock_hash_lookup(struct bpf_map *map, void *key) in sock_hash_lookup()
1189 static void sock_hash_release_progs(struct bpf_map *map) in sock_hash_release_progs()
1195 struct bpf_map *, map, void *, key, u64, flags) in BPF_CALL_4() argument
1217 struct bpf_map *, map, void *, key, u64, flags) in BPF_CALL_4() argument
1243 struct bpf_map *, map, void *, key, u64, flags) in BPF_CALL_4() argument
1270 struct bpf_map *map;
1401 static struct sk_psock_progs *sock_map_progs(struct bpf_map *map) in sock_map_progs()
1415 static int sock_map_prog_update(struct bpf_map *map, struct bpf_prog *prog, in sock_map_prog_update()
1527 struct bpf_map *map; in sock_map_iter_attach_target()