Searched defs:bpf_map_ops (Results 1 – 2 of 2) sorted by relevance
| /kernel/linux/linux-4.19/include/linux/ |
| D | bpf.h | 29 struct bpf_map_ops { struct 31 int (*map_alloc_check)(union bpf_attr *attr); 32 struct bpf_map *(*map_alloc)(union bpf_attr *attr); 33 void (*map_release)(struct bpf_map *map, struct file *map_file); 34 void (*map_free)(struct bpf_map *map); 35 int (*map_get_next_key)(struct bpf_map *map, void *key, void *next_key); 36 void (*map_release_uref)(struct bpf_map *map); 37 void *(*map_lookup_elem_sys_only)(struct bpf_map *map, void *key); 61 const struct bpf_map_ops *ops ____cacheline_aligned; argument
|
| /kernel/linux/linux-5.10/include/linux/ |
| D | bpf.h | 55 struct bpf_map_ops { struct 57 int (*map_alloc_check)(union bpf_attr *attr); 58 struct bpf_map *(*map_alloc)(union bpf_attr *attr); 59 void (*map_release)(struct bpf_map *map, struct file *map_file); 60 void (*map_free)(struct bpf_map *map); 61 int (*map_get_next_key)(struct bpf_map *map, void *key, void *next_key); 62 void (*map_release_uref)(struct bpf_map *map); 63 void *(*map_lookup_elem_sys_only)(struct bpf_map *map, void *key); 64 int (*map_lookup_batch)(struct bpf_map *map, const union bpf_attr *attr, 66 int (*map_lookup_and_delete_batch)(struct bpf_map *map, [all …]
|