Lines Matching defs:bpf_map_ops
31 struct bpf_map_ops { struct
33 int (*map_alloc_check)(union bpf_attr *attr);
34 struct bpf_map *(*map_alloc)(union bpf_attr *attr);
35 void (*map_release)(struct bpf_map *map, struct file *map_file);
36 void (*map_free)(struct bpf_map *map);
37 int (*map_get_next_key)(struct bpf_map *map, void *key, void *next_key);
38 void (*map_release_uref)(struct bpf_map *map);
39 void *(*map_lookup_elem_sys_only)(struct bpf_map *map, void *key);
42 void *(*map_lookup_elem)(struct bpf_map *map, void *key);
43 int (*map_update_elem)(struct bpf_map *map, void *key, void *value, u64 flags);
44 int (*map_delete_elem)(struct bpf_map *map, void *key);
45 int (*map_push_elem)(struct bpf_map *map, void *value, u64 flags);
46 int (*map_pop_elem)(struct bpf_map *map, void *value);
47 int (*map_peek_elem)(struct bpf_map *map, void *value);
50 void *(*map_fd_get_ptr)(struct bpf_map *map, struct file *map_file,
52 void (*map_fd_put_ptr)(void *ptr);
53 u32 (*map_gen_lookup)(struct bpf_map *map, struct bpf_insn *insn_buf);
54 u32 (*map_fd_sys_lookup_elem)(void *ptr);
78 const struct bpf_map_ops *ops ____cacheline_aligned; argument