Lines Matching defs:map
780 static bool bpf_map__is_struct_ops(const struct bpf_map *map) in bpf_map__is_struct_ops()
786 static int bpf_map__init_kern_struct_ops(struct bpf_map *map, in bpf_map__init_kern_struct_ops()
918 struct bpf_map *map; in bpf_object__init_kern_struct_ops_maps() local
945 struct bpf_map *map; in bpf_object__init_struct_ops_maps() local
1330 static size_t bpf_map_mmap_sz(const struct bpf_map *map) in bpf_map_mmap_sz()
1365 struct bpf_map *map; in bpf_object__init_internal_map() local
1802 struct bpf_map *map; in bpf_object__init_user_maps() local
1961 static int build_map_pin_path(struct bpf_map *map, const char *path) in build_map_pin_path()
1980 struct bpf_map *map, in parse_btf_map_def()
2225 struct bpf_map *map; in bpf_object__init_user_btf_map() local
3346 struct bpf_map *map; in bpf_program__record_reloc() local
3581 static int bpf_map_find_btf_info(struct bpf_object *obj, struct bpf_map *map) in bpf_map_find_btf_info()
3652 int bpf_map__reuse_fd(struct bpf_map *map, int fd) in bpf_map__reuse_fd()
3713 __u32 bpf_map__max_entries(const struct bpf_map *map) in bpf_map__max_entries()
3718 int bpf_map__set_max_entries(struct bpf_map *map, __u32 max_entries) in bpf_map__set_max_entries()
3726 int bpf_map__resize(struct bpf_map *map, __u32 max_entries) in bpf_map__resize()
3807 int ret, map; in probe_kern_global_data() local
3970 int ret, map, prog; in probe_prog_bind_map() local
4073 static bool map_is_reuse_compat(const struct bpf_map *map, int map_fd) in map_is_reuse_compat()
4099 bpf_object__reuse_map(struct bpf_map *map) in bpf_object__reuse_map()
4138 bpf_object__populate_internal_map(struct bpf_object *obj, struct bpf_map *map) in bpf_object__populate_internal_map()
4169 static int bpf_object__create_map(struct bpf_object *obj, struct bpf_map *map) in bpf_object__create_map()
4255 static int init_map_slots(struct bpf_map *map) in init_map_slots()
4288 struct bpf_map *map; in bpf_object__create_maps() local
6491 struct bpf_map *map = NULL, *targ_map; in bpf_object__collect_map_relos() local
7599 int bpf_map__pin(struct bpf_map *map, const char *path) in bpf_map__pin()
7660 int bpf_map__unpin(struct bpf_map *map, const char *path) in bpf_map__unpin()
7696 int bpf_map__set_pin_path(struct bpf_map *map, const char *path) in bpf_map__set_pin_path()
7711 const char *bpf_map__get_pin_path(const struct bpf_map *map) in bpf_map__get_pin_path()
7716 bool bpf_map__is_pinned(const struct bpf_map *map) in bpf_map__is_pinned()
7733 struct bpf_map *map; in bpf_object__pin_maps() local
7786 struct bpf_map *map; in bpf_object__unpin_maps() local
7915 static void bpf_map__destroy(struct bpf_map *map) in bpf_map__destroy()
8538 struct bpf_map *map; in find_struct_ops_map_by_offset() local
8562 struct bpf_map *map; in bpf_object__collect_st_ops_relos() local
8819 int bpf_map__fd(const struct bpf_map *map) in bpf_map__fd()
8824 const struct bpf_map_def *bpf_map__def(const struct bpf_map *map) in bpf_map__def()
8829 const char *bpf_map__name(const struct bpf_map *map) in bpf_map__name()
8834 enum bpf_map_type bpf_map__type(const struct bpf_map *map) in bpf_map__type()
8839 int bpf_map__set_type(struct bpf_map *map, enum bpf_map_type type) in bpf_map__set_type()
8847 __u32 bpf_map__map_flags(const struct bpf_map *map) in bpf_map__map_flags()
8852 int bpf_map__set_map_flags(struct bpf_map *map, __u32 flags) in bpf_map__set_map_flags()
8860 __u32 bpf_map__numa_node(const struct bpf_map *map) in bpf_map__numa_node()
8865 int bpf_map__set_numa_node(struct bpf_map *map, __u32 numa_node) in bpf_map__set_numa_node()
8873 __u32 bpf_map__key_size(const struct bpf_map *map) in bpf_map__key_size()
8878 int bpf_map__set_key_size(struct bpf_map *map, __u32 size) in bpf_map__set_key_size()
8886 __u32 bpf_map__value_size(const struct bpf_map *map) in bpf_map__value_size()
8891 int bpf_map__set_value_size(struct bpf_map *map, __u32 size) in bpf_map__set_value_size()
8899 __u32 bpf_map__btf_key_type_id(const struct bpf_map *map) in bpf_map__btf_key_type_id()
8904 __u32 bpf_map__btf_value_type_id(const struct bpf_map *map) in bpf_map__btf_value_type_id()
8909 int bpf_map__set_priv(struct bpf_map *map, void *priv, in bpf_map__set_priv()
8925 void *bpf_map__priv(const struct bpf_map *map) in bpf_map__priv()
8930 int bpf_map__set_initial_value(struct bpf_map *map, in bpf_map__set_initial_value()
8941 bool bpf_map__is_offload_neutral(const struct bpf_map *map) in bpf_map__is_offload_neutral()
8946 bool bpf_map__is_internal(const struct bpf_map *map) in bpf_map__is_internal()
8951 __u32 bpf_map__ifindex(const struct bpf_map *map) in bpf_map__ifindex()
8956 int bpf_map__set_ifindex(struct bpf_map *map, __u32 ifindex) in bpf_map__set_ifindex()
8964 int bpf_map__set_inner_map_fd(struct bpf_map *map, int fd) in bpf_map__set_inner_map_fd()
9071 struct bpf_map *map; in bpf_prog_load_xattr() local
9854 struct bpf_link *bpf_map__attach_struct_ops(struct bpf_map *map) in bpf_map__attach_struct_ops()
10116 struct bpf_map_info map; in __perf_buffer__new() local
10816 struct bpf_map **map = s->maps[i].map; in bpf_object__open_skeleton() local
10856 struct bpf_map *map = *s->maps[i].map; in bpf_object__load_skeleton() local