Lines Matching refs:bpf_map

897 struct bpf_map;
899 LIBBPF_API struct bpf_link *bpf_map__attach_struct_ops(const struct bpf_map *map);
900 LIBBPF_API int bpf_link__update_map(struct bpf_link *link, const struct bpf_map *map);
989 LIBBPF_API struct bpf_map *
995 LIBBPF_API struct bpf_map *
996 bpf_object__next_map(const struct bpf_object *obj, const struct bpf_map *map);
1004 LIBBPF_API struct bpf_map *
1005 bpf_object__prev_map(const struct bpf_object *obj, const struct bpf_map *map);
1026 LIBBPF_API int bpf_map__set_autocreate(struct bpf_map *map, bool autocreate);
1027 LIBBPF_API bool bpf_map__autocreate(const struct bpf_map *map);
1036 LIBBPF_API int bpf_map__set_autoattach(struct bpf_map *map, bool autoattach);
1044 LIBBPF_API bool bpf_map__autoattach(const struct bpf_map *map);
1052 LIBBPF_API int bpf_map__fd(const struct bpf_map *map);
1053 LIBBPF_API int bpf_map__reuse_fd(struct bpf_map *map, int fd);
1055 LIBBPF_API const char *bpf_map__name(const struct bpf_map *map);
1057 LIBBPF_API enum bpf_map_type bpf_map__type(const struct bpf_map *map);
1058 LIBBPF_API int bpf_map__set_type(struct bpf_map *map, enum bpf_map_type type);
1060 LIBBPF_API __u32 bpf_map__max_entries(const struct bpf_map *map);
1061 LIBBPF_API int bpf_map__set_max_entries(struct bpf_map *map, __u32 max_entries);
1063 LIBBPF_API __u32 bpf_map__map_flags(const struct bpf_map *map);
1064 LIBBPF_API int bpf_map__set_map_flags(struct bpf_map *map, __u32 flags);
1066 LIBBPF_API __u32 bpf_map__numa_node(const struct bpf_map *map);
1067 LIBBPF_API int bpf_map__set_numa_node(struct bpf_map *map, __u32 numa_node);
1069 LIBBPF_API __u32 bpf_map__key_size(const struct bpf_map *map);
1070 LIBBPF_API int bpf_map__set_key_size(struct bpf_map *map, __u32 size);
1072 LIBBPF_API __u32 bpf_map__value_size(const struct bpf_map *map);
1087 LIBBPF_API int bpf_map__set_value_size(struct bpf_map *map, __u32 size);
1089 LIBBPF_API __u32 bpf_map__btf_key_type_id(const struct bpf_map *map);
1090 LIBBPF_API __u32 bpf_map__btf_value_type_id(const struct bpf_map *map);
1092 LIBBPF_API __u32 bpf_map__ifindex(const struct bpf_map *map);
1093 LIBBPF_API int bpf_map__set_ifindex(struct bpf_map *map, __u32 ifindex);
1095 LIBBPF_API __u64 bpf_map__map_extra(const struct bpf_map *map);
1096 LIBBPF_API int bpf_map__set_map_extra(struct bpf_map *map, __u64 map_extra);
1098 LIBBPF_API int bpf_map__set_initial_value(struct bpf_map *map,
1100 LIBBPF_API void *bpf_map__initial_value(const struct bpf_map *map, size_t *psize);
1106 * @param map the bpf_map
1109 LIBBPF_API bool bpf_map__is_internal(const struct bpf_map *map);
1114 * @param map The bpf_map
1118 LIBBPF_API int bpf_map__set_pin_path(struct bpf_map *map, const char *path);
1123 * @param map The bpf_map
1126 LIBBPF_API const char *bpf_map__pin_path(const struct bpf_map *map);
1131 * @param map The bpf_map
1134 LIBBPF_API bool bpf_map__is_pinned(const struct bpf_map *map);
1141 * @param map The bpf_map to pin
1148 LIBBPF_API int bpf_map__pin(struct bpf_map *map, const char *path);
1153 * @param map The bpf_map to unpin
1161 LIBBPF_API int bpf_map__unpin(struct bpf_map *map, const char *path);
1163 LIBBPF_API int bpf_map__set_inner_map_fd(struct bpf_map *map, int fd);
1164 LIBBPF_API struct bpf_map *bpf_map__inner_map(struct bpf_map *map);
1186 LIBBPF_API int bpf_map__lookup_elem(const struct bpf_map *map,
1210 LIBBPF_API int bpf_map__update_elem(const struct bpf_map *map,
1226 LIBBPF_API int bpf_map__delete_elem(const struct bpf_map *map,
1249 LIBBPF_API int bpf_map__lookup_and_delete_elem(const struct bpf_map *map,
1267 LIBBPF_API int bpf_map__get_next_key(const struct bpf_map *map,
1741 struct bpf_map **map;
1780 struct bpf_map **map;