|
@@ -31,6 +31,7 @@ struct bpf_map_ops {
|
|
|
void (*map_release)(struct bpf_map *map, struct file *map_file);
|
|
|
void (*map_free)(struct bpf_map *map);
|
|
|
int (*map_get_next_key)(struct bpf_map *map, void *key, void *next_key);
|
|
|
+ void (*map_release_uref)(struct bpf_map *map);
|
|
|
|
|
|
/* funcs callable from userspace and from eBPF programs */
|
|
|
void *(*map_lookup_elem)(struct bpf_map *map, void *key);
|
|
@@ -436,7 +437,6 @@ int bpf_stackmap_copy(struct bpf_map *map, void *key, void *value);
|
|
|
int bpf_fd_array_map_update_elem(struct bpf_map *map, struct file *map_file,
|
|
|
void *key, void *value, u64 map_flags);
|
|
|
int bpf_fd_array_map_lookup_elem(struct bpf_map *map, void *key, u32 *value);
|
|
|
-void bpf_fd_array_map_clear(struct bpf_map *map);
|
|
|
int bpf_fd_htab_map_update_elem(struct bpf_map *map, struct file *map_file,
|
|
|
void *key, void *value, u64 map_flags);
|
|
|
int bpf_fd_htab_map_lookup_elem(struct bpf_map *map, void *key, u32 *value);
|