Lines Matching defs:bpf_map

75 static struct bpf_map *bpf_object__add_map(struct bpf_object *obj);
334 struct bpf_map {
352 struct bpf_map *inner_map;
412 struct bpf_map *maps;
780 static bool bpf_map__is_struct_ops(const struct bpf_map *map)
786 static int bpf_map__init_kern_struct_ops(struct bpf_map *map,
918 struct bpf_map *map;
945 struct bpf_map *map;
1296 static struct bpf_map *bpf_object__add_map(struct bpf_object *obj)
1298 struct bpf_map *new_maps;
1330 static size_t bpf_map_mmap_sz(const struct bpf_map *map)
1365 struct bpf_map *map;
1802 struct bpf_map *map;
1961 static int build_map_pin_path(struct bpf_map *map, const char *path)
1980 struct bpf_map *map,
2225 struct bpf_map *map;
3346 struct bpf_map *map;
3584 static int bpf_map_find_btf_info(struct bpf_object *obj, struct bpf_map *map)
3655 int bpf_map__reuse_fd(struct bpf_map *map, int fd)
3716 __u32 bpf_map__max_entries(const struct bpf_map *map)
3721 int bpf_map__set_max_entries(struct bpf_map *map, __u32 max_entries)
3729 int bpf_map__resize(struct bpf_map *map, __u32 max_entries)
4076 static bool map_is_reuse_compat(const struct bpf_map *map, int map_fd)
4102 bpf_object__reuse_map(struct bpf_map *map)
4141 bpf_object__populate_internal_map(struct bpf_object *obj, struct bpf_map *map)
4170 static void bpf_map__destroy(struct bpf_map *map);
4172 static int bpf_object__create_map(struct bpf_object *obj, struct bpf_map *map)
4258 static int init_map_slots(struct bpf_map *map)
4260 const struct bpf_map *targ_map;
4291 struct bpf_map *map;
6494 struct bpf_map *map = NULL, *targ_map;
6763 struct bpf_map *rodata_map =
7108 struct bpf_map *m;
7602 int bpf_map__pin(struct bpf_map *map, const char *path)
7663 int bpf_map__unpin(struct bpf_map *map, const char *path)
7699 int bpf_map__set_pin_path(struct bpf_map *map, const char *path)
7714 const char *bpf_map__get_pin_path(const struct bpf_map *map)
7719 bool bpf_map__is_pinned(const struct bpf_map *map)
7736 struct bpf_map *map;
7789 struct bpf_map *map;
7918 static void bpf_map__destroy(struct bpf_map *map)
8538 static struct bpf_map *find_struct_ops_map_by_offset(struct bpf_object *obj,
8541 struct bpf_map *map;
8565 struct bpf_map *map;
8822 int bpf_map__fd(const struct bpf_map *map)
8827 const struct bpf_map_def *bpf_map__def(const struct bpf_map *map)
8832 const char *bpf_map__name(const struct bpf_map *map)
8837 enum bpf_map_type bpf_map__type(const struct bpf_map *map)
8842 int bpf_map__set_type(struct bpf_map *map, enum bpf_map_type type)
8850 __u32 bpf_map__map_flags(const struct bpf_map *map)
8855 int bpf_map__set_map_flags(struct bpf_map *map, __u32 flags)
8863 __u32 bpf_map__numa_node(const struct bpf_map *map)
8868 int bpf_map__set_numa_node(struct bpf_map *map, __u32 numa_node)
8876 __u32 bpf_map__key_size(const struct bpf_map *map)
8881 int bpf_map__set_key_size(struct bpf_map *map, __u32 size)
8889 __u32 bpf_map__value_size(const struct bpf_map *map)
8894 int bpf_map__set_value_size(struct bpf_map *map, __u32 size)
8902 __u32 bpf_map__btf_key_type_id(const struct bpf_map *map)
8907 __u32 bpf_map__btf_value_type_id(const struct bpf_map *map)
8912 int bpf_map__set_priv(struct bpf_map *map, void *priv,
8928 void *bpf_map__priv(const struct bpf_map *map)
8933 int bpf_map__set_initial_value(struct bpf_map *map,
8944 bool bpf_map__is_offload_neutral(const struct bpf_map *map)
8949 bool bpf_map__is_internal(const struct bpf_map *map)
8954 __u32 bpf_map__ifindex(const struct bpf_map *map)
8959 int bpf_map__set_ifindex(struct bpf_map *map, __u32 ifindex)
8967 int bpf_map__set_inner_map_fd(struct bpf_map *map, int fd)
8981 static struct bpf_map *
8982 __bpf_map__iter(const struct bpf_map *m, const struct bpf_object *obj, int i)
8985 struct bpf_map *s, *e;
9005 struct bpf_map *
9006 bpf_map__next(const struct bpf_map *prev, const struct bpf_object *obj)
9014 struct bpf_map *
9015 bpf_map__prev(const struct bpf_map *next, const struct bpf_object *obj)
9026 struct bpf_map *
9029 struct bpf_map *pos;
9044 struct bpf_map *
9074 struct bpf_map *map;
9857 struct bpf_link *bpf_map__attach_struct_ops(struct bpf_map *map)
10819 struct bpf_map **map = s->maps[i].map;
10859 struct bpf_map *map = *s->maps[i].map;