• Home
  • Raw
  • Download

Lines Matching refs:bpf_map

268 struct bpf_map;
270 LIBBPF_API struct bpf_link *bpf_map__attach_struct_ops(struct bpf_map *map);
410 LIBBPF_API struct bpf_map *
420 LIBBPF_API struct bpf_map *
423 LIBBPF_API struct bpf_map *
424 bpf_map__next(const struct bpf_map *map, const struct bpf_object *obj);
431 LIBBPF_API struct bpf_map *
432 bpf_map__prev(const struct bpf_map *map, const struct bpf_object *obj);
435 LIBBPF_API int bpf_map__fd(const struct bpf_map *map);
436 LIBBPF_API int bpf_map__reuse_fd(struct bpf_map *map, int fd);
438 LIBBPF_API const struct bpf_map_def *bpf_map__def(const struct bpf_map *map);
440 LIBBPF_API const char *bpf_map__name(const struct bpf_map *map);
442 LIBBPF_API enum bpf_map_type bpf_map__type(const struct bpf_map *map);
443 LIBBPF_API int bpf_map__set_type(struct bpf_map *map, enum bpf_map_type type);
445 LIBBPF_API __u32 bpf_map__max_entries(const struct bpf_map *map);
446 LIBBPF_API int bpf_map__set_max_entries(struct bpf_map *map, __u32 max_entries);
447 LIBBPF_API int bpf_map__resize(struct bpf_map *map, __u32 max_entries);
449 LIBBPF_API __u32 bpf_map__map_flags(const struct bpf_map *map);
450 LIBBPF_API int bpf_map__set_map_flags(struct bpf_map *map, __u32 flags);
452 LIBBPF_API __u32 bpf_map__numa_node(const struct bpf_map *map);
453 LIBBPF_API int bpf_map__set_numa_node(struct bpf_map *map, __u32 numa_node);
455 LIBBPF_API __u32 bpf_map__key_size(const struct bpf_map *map);
456 LIBBPF_API int bpf_map__set_key_size(struct bpf_map *map, __u32 size);
458 LIBBPF_API __u32 bpf_map__value_size(const struct bpf_map *map);
459 LIBBPF_API int bpf_map__set_value_size(struct bpf_map *map, __u32 size);
461 LIBBPF_API __u32 bpf_map__btf_key_type_id(const struct bpf_map *map);
462 LIBBPF_API __u32 bpf_map__btf_value_type_id(const struct bpf_map *map);
464 LIBBPF_API __u32 bpf_map__ifindex(const struct bpf_map *map);
465 LIBBPF_API int bpf_map__set_ifindex(struct bpf_map *map, __u32 ifindex);
467 typedef void (*bpf_map_clear_priv_t)(struct bpf_map *, void *);
468 LIBBPF_API int bpf_map__set_priv(struct bpf_map *map, void *priv,
470 LIBBPF_API void *bpf_map__priv(const struct bpf_map *map);
471 LIBBPF_API int bpf_map__set_initial_value(struct bpf_map *map,
473 LIBBPF_API bool bpf_map__is_offload_neutral(const struct bpf_map *map);
474 LIBBPF_API bool bpf_map__is_internal(const struct bpf_map *map);
475 LIBBPF_API int bpf_map__set_pin_path(struct bpf_map *map, const char *path);
476 LIBBPF_API const char *bpf_map__get_pin_path(const struct bpf_map *map);
477 LIBBPF_API bool bpf_map__is_pinned(const struct bpf_map *map);
478 LIBBPF_API int bpf_map__pin(struct bpf_map *map, const char *path);
479 LIBBPF_API int bpf_map__unpin(struct bpf_map *map, const char *path);
481 LIBBPF_API int bpf_map__set_inner_map_fd(struct bpf_map *map, int fd);
720 struct bpf_map **map;