• Home
  • Raw
  • Download

Lines Matching +defs:c +defs:mode +defs:base +defs:map

301 int libbpf_set_strict_mode(enum libbpf_strict_mode mode)  in libbpf_set_strict_mode()
988 static bool bpf_map__is_struct_ops(const struct bpf_map *map) in bpf_map__is_struct_ops()
994 static int bpf_map__init_kern_struct_ops(struct bpf_map *map, in bpf_map__init_kern_struct_ops()
1126 struct bpf_map *map; in bpf_object__init_kern_struct_ops_maps() local
1154 struct bpf_map *map; in init_struct_ops_maps() local
1500 struct bpf_map *map; in bpf_object__add_map() local
1527 static int bpf_map_mmap_resize(struct bpf_map *map, size_t old_sz, size_t new_sz) in bpf_map_mmap_resize()
1613 static bool map_is_mmapable(struct bpf_object *obj, struct bpf_map *map) in map_is_mmapable()
1644 struct bpf_map *map; in bpf_object__init_internal_map() local
2181 static int build_map_pin_path(struct bpf_map *map, const char *path) in build_map_pin_path()
2455 static bool map_is_ringbuf(const struct bpf_map *map) in map_is_ringbuf()
2461 static void fill_map_from_def(struct bpf_map *map, const struct btf_map_def *def) in fill_map_from_def()
2530 struct bpf_map *map; in bpf_object__init_user_btf_map() local
4143 struct bpf_map *map; in bpf_program__record_reloc() local
4417 static int map_fill_btf_type_info(struct bpf_object *obj, struct bpf_map *map) in map_fill_btf_type_info()
4483 bool bpf_map__autocreate(const struct bpf_map *map) in bpf_map__autocreate()
4488 int bpf_map__set_autocreate(struct bpf_map *map, bool autocreate) in bpf_map__set_autocreate()
4497 int bpf_map__reuse_fd(struct bpf_map *map, int fd) in bpf_map__reuse_fd()
4559 __u32 bpf_map__max_entries(const struct bpf_map *map) in bpf_map__max_entries()
4564 struct bpf_map *bpf_map__inner_map(struct bpf_map *map) in bpf_map__inner_map()
4572 int bpf_map__set_max_entries(struct bpf_map *map, __u32 max_entries) in bpf_map__set_max_entries()
4659 int ret, map, insn_cnt = ARRAY_SIZE(insns); in probe_kern_global_data() local
4839 int ret, map, prog, insn_cnt = ARRAY_SIZE(insns); in probe_prog_bind_map() local
5079 static bool map_is_reuse_compat(const struct bpf_map *map, int map_fd) in map_is_reuse_compat()
5105 bpf_object__reuse_map(struct bpf_map *map) in bpf_object__reuse_map()
5144 bpf_object__populate_internal_map(struct bpf_object *obj, struct bpf_map *map) in bpf_object__populate_internal_map()
5182 static int bpf_object__create_map(struct bpf_object *obj, struct bpf_map *map, bool is_inner) in bpf_object__create_map()
5285 static int init_map_in_map_slots(struct bpf_object *obj, struct bpf_map *map) in init_map_in_map_slots()
5321 static int init_prog_array_slots(struct bpf_object *obj, struct bpf_map *map) in init_prog_array_slots()
5356 struct bpf_map *map; in bpf_object_init_prog_arrays() local
5374 static int map_set_def_max_entries(struct bpf_map *map) in map_set_def_max_entries()
5395 struct bpf_map *map; in bpf_object__create_maps() local
5986 int map_idx, const struct bpf_map *map) in poison_map_ldimm64()
6047 const struct bpf_map *map; in bpf_object__relocate_data() local
6718 struct bpf_map *map = NULL, *targ_map = NULL; in bpf_object__collect_map_relos() local
7109 struct bpf_map *map; in bpf_object_load_prog() local
7268 const struct bpf_map *map; in fixup_log_missing_map_load() local
8000 static void bpf_map_prepare_vdata(const struct bpf_map *map) in bpf_map_prepare_vdata()
8207 int bpf_map__pin(struct bpf_map *map, const char *path) in bpf_map__pin()
8268 int bpf_map__unpin(struct bpf_map *map, const char *path) in bpf_map__unpin()
8304 int bpf_map__set_pin_path(struct bpf_map *map, const char *path) in bpf_map__set_pin_path()
8322 const char *bpf_map__pin_path(const struct bpf_map *map) in bpf_map__pin_path()
8327 bool bpf_map__is_pinned(const struct bpf_map *map) in bpf_map__is_pinned()
8344 struct bpf_map *map; in bpf_object__pin_maps() local
8392 struct bpf_map *map; in bpf_object__unpin_maps() local
8512 static void bpf_map__destroy(struct bpf_map *map) in bpf_map__destroy()
9220 struct bpf_map *map; in find_struct_ops_map_by_offset() local
9245 struct bpf_map *map; in bpf_object__collect_st_ops_relos() local
9574 int bpf_map__fd(const struct bpf_map *map) in bpf_map__fd()
9579 static bool map_uses_real_name(const struct bpf_map *map) in map_uses_real_name()
9594 const char *bpf_map__name(const struct bpf_map *map) in bpf_map__name()
9605 enum bpf_map_type bpf_map__type(const struct bpf_map *map) in bpf_map__type()
9610 int bpf_map__set_type(struct bpf_map *map, enum bpf_map_type type) in bpf_map__set_type()
9618 __u32 bpf_map__map_flags(const struct bpf_map *map) in bpf_map__map_flags()
9623 int bpf_map__set_map_flags(struct bpf_map *map, __u32 flags) in bpf_map__set_map_flags()
9631 __u64 bpf_map__map_extra(const struct bpf_map *map) in bpf_map__map_extra()
9636 int bpf_map__set_map_extra(struct bpf_map *map, __u64 map_extra) in bpf_map__set_map_extra()
9644 __u32 bpf_map__numa_node(const struct bpf_map *map) in bpf_map__numa_node()
9649 int bpf_map__set_numa_node(struct bpf_map *map, __u32 numa_node) in bpf_map__set_numa_node()
9657 __u32 bpf_map__key_size(const struct bpf_map *map) in bpf_map__key_size()
9662 int bpf_map__set_key_size(struct bpf_map *map, __u32 size) in bpf_map__set_key_size()
9670 __u32 bpf_map__value_size(const struct bpf_map *map) in bpf_map__value_size()
9675 static int map_btf_datasec_resize(struct bpf_map *map, __u32 size) in map_btf_datasec_resize()
9746 int bpf_map__set_value_size(struct bpf_map *map, __u32 size) in bpf_map__set_value_size()
9776 __u32 bpf_map__btf_key_type_id(const struct bpf_map *map) in bpf_map__btf_key_type_id()
9781 __u32 bpf_map__btf_value_type_id(const struct bpf_map *map) in bpf_map__btf_value_type_id()
9786 int bpf_map__set_initial_value(struct bpf_map *map, in bpf_map__set_initial_value()
9797 void *bpf_map__initial_value(struct bpf_map *map, size_t *psize) in bpf_map__initial_value()
9805 bool bpf_map__is_internal(const struct bpf_map *map) in bpf_map__is_internal()
9810 __u32 bpf_map__ifindex(const struct bpf_map *map) in bpf_map__ifindex()
9815 int bpf_map__set_ifindex(struct bpf_map *map, __u32 ifindex) in bpf_map__set_ifindex()
9823 int bpf_map__set_inner_map_fd(struct bpf_map *map, int fd) in bpf_map__set_inner_map_fd()
9919 static int validate_map_op(const struct bpf_map *map, size_t key_sz, in validate_map_op()
9960 int bpf_map__lookup_elem(const struct bpf_map *map, in bpf_map__lookup_elem()
9973 int bpf_map__update_elem(const struct bpf_map *map, in bpf_map__update_elem()
9986 int bpf_map__delete_elem(const struct bpf_map *map, in bpf_map__delete_elem()
9998 int bpf_map__lookup_and_delete_elem(const struct bpf_map *map, in bpf_map__lookup_and_delete_elem()
10011 int bpf_map__get_next_key(const struct bpf_map *map, in bpf_map__get_next_key()
11628 int n, c, ret = -EINVAL; in attach_uprobe() local
12286 struct bpf_link *bpf_map__attach_struct_ops(const struct bpf_map *map) in bpf_map__attach_struct_ops()
12335 int bpf_link__update_map(struct bpf_link *link, const struct bpf_map *map) in bpf_link__update_map()
12378 void *base = ((__u8 *)header) + page_size; in perf_event_read_simple() local
12435 void *base; /* mmap()'ed memory */ member
12612 struct bpf_map_info map; in __perf_buffer__new() local
13081 struct bpf_map **map = maps[i].map; in populate_skeleton_maps() local
13166 const struct bpf_map *map; in bpf_object__open_subskeleton() local
13243 struct bpf_map *map = *s->maps[i].map; in bpf_object__load_skeleton() local