Lines Matching defs:bpf_map_ops
56 struct bpf_map_ops { struct
58 int (*map_alloc_check)(union bpf_attr *attr);
59 struct bpf_map *(*map_alloc)(union bpf_attr *attr);
60 void (*map_release)(struct bpf_map *map, struct file *map_file);
61 void (*map_free)(struct bpf_map *map);
62 int (*map_get_next_key)(struct bpf_map *map, void *key, void *next_key);
63 void (*map_release_uref)(struct bpf_map *map);
64 void *(*map_lookup_elem_sys_only)(struct bpf_map *map, void *key);
65 int (*map_lookup_batch)(struct bpf_map *map, const union bpf_attr *attr,
67 int (*map_lookup_and_delete_batch)(struct bpf_map *map,
70 int (*map_update_batch)(struct bpf_map *map, const union bpf_attr *attr,
72 int (*map_delete_batch)(struct bpf_map *map, const union bpf_attr *attr,
76 void *(*map_lookup_elem)(struct bpf_map *map, void *key);
77 int (*map_update_elem)(struct bpf_map *map, void *key, void *value, u64 flags);
78 int (*map_delete_elem)(struct bpf_map *map, void *key);
79 int (*map_push_elem)(struct bpf_map *map, void *value, u64 flags);
80 int (*map_pop_elem)(struct bpf_map *map, void *value);
81 int (*map_peek_elem)(struct bpf_map *map, void *value);
84 void *(*map_fd_get_ptr)(struct bpf_map *map, struct file *map_file,
86 void (*map_fd_put_ptr)(void *ptr);
87 int (*map_gen_lookup)(struct bpf_map *map, struct bpf_insn *insn_buf);
88 u32 (*map_fd_sys_lookup_elem)(void *ptr);
89 void (*map_seq_show_elem)(struct bpf_map *map, void *key,
91 int (*map_check_btf)(const struct bpf_map *map,
97 int (*map_poke_track)(struct bpf_map *map, struct bpf_prog_aux *aux);
98 void (*map_poke_untrack)(struct bpf_map *map, struct bpf_prog_aux *aux);
99 void (*map_poke_run)(struct bpf_map *map, u32 key, struct bpf_prog *old,
103 int (*map_direct_value_addr)(const struct bpf_map *map,
105 int (*map_direct_value_meta)(const struct bpf_map *map,
107 int (*map_mmap)(struct bpf_map *map, struct vm_area_struct *vma);
108 __poll_t (*map_poll)(struct bpf_map *map, struct file *filp,
112 int (*map_local_storage_charge)(struct bpf_local_storage_map *smap,
114 void (*map_local_storage_uncharge)(struct bpf_local_storage_map *smap,
116 struct bpf_local_storage __rcu ** (*map_owner_storage_ptr)(void *owner);
150 const struct bpf_map_ops *ops ____cacheline_aligned; argument