Lines Matching +defs:map +defs:link

1099 static bool bpf_map__is_struct_ops(const struct bpf_map *map)  in bpf_map__is_struct_ops()
1125 struct bpf_map *map; in bpf_object_adjust_struct_ops_autoload() local
1163 static int bpf_map__init_kern_struct_ops(struct bpf_map *map) in bpf_map__init_kern_struct_ops()
1364 struct bpf_map *map; in bpf_object__init_kern_struct_ops_maps() local
1394 struct bpf_map *map; in init_struct_ops_maps() local
1787 struct bpf_map *map; in bpf_object__add_map() local
1828 static size_t bpf_map_mmap_sz(const struct bpf_map *map) in bpf_map_mmap_sz()
1842 static int bpf_map_mmap_resize(struct bpf_map *map, size_t old_sz, size_t new_sz) in bpf_map_mmap_resize()
1928 static bool map_is_mmapable(struct bpf_object *obj, struct bpf_map *map) in map_is_mmapable()
1959 struct bpf_map *map; in bpf_object__init_internal_map() local
2549 static int build_map_pin_path(struct bpf_map *map, const char *path) in build_map_pin_path()
2823 static bool map_is_ringbuf(const struct bpf_map *map) in map_is_ringbuf()
2829 static void fill_map_from_def(struct bpf_map *map, const struct btf_map_def *def) in fill_map_from_def()
2898 struct bpf_map *map; in bpf_object__init_user_btf_map() local
2989 static int init_arena_map_data(struct bpf_object *obj, struct bpf_map *map, in init_arena_map_data()
3065 struct bpf_map *map = &obj->maps[i]; in bpf_object__init_user_btf_maps() local
3486 static bool map_needs_vmlinux_btf(struct bpf_map *map) in map_needs_vmlinux_btf()
3494 struct bpf_map *map; in obj_needs_vmlinux_btf() local
4572 struct bpf_map *map; in bpf_program__record_reloc() local
4877 static int map_fill_btf_type_info(struct bpf_object *obj, struct bpf_map *map) in map_fill_btf_type_info()
4943 static bool map_is_created(const struct bpf_map *map) in map_is_created()
4948 bool bpf_map__autocreate(const struct bpf_map *map) in bpf_map__autocreate()
4953 int bpf_map__set_autocreate(struct bpf_map *map, bool autocreate) in bpf_map__set_autocreate()
4962 int bpf_map__set_autoattach(struct bpf_map *map, bool autoattach) in bpf_map__set_autoattach()
4971 bool bpf_map__autoattach(const struct bpf_map *map) in bpf_map__autoattach()
4976 int bpf_map__reuse_fd(struct bpf_map *map, int fd) in bpf_map__reuse_fd()
5034 __u32 bpf_map__max_entries(const struct bpf_map *map) in bpf_map__max_entries()
5039 struct bpf_map *bpf_map__inner_map(struct bpf_map *map) in bpf_map__inner_map()
5047 int bpf_map__set_max_entries(struct bpf_map *map, __u32 max_entries) in bpf_map__set_max_entries()
5163 static bool map_is_reuse_compat(const struct bpf_map *map, int map_fd) in map_is_reuse_compat()
5198 bpf_object__reuse_map(struct bpf_map *map) in bpf_object__reuse_map()
5235 bpf_object__populate_internal_map(struct bpf_object *obj, struct bpf_map *map) in bpf_object__populate_internal_map()
5304 static int bpf_object__create_map(struct bpf_object *obj, struct bpf_map *map, bool is_inner) in bpf_object__create_map()
5440 static int init_map_in_map_slots(struct bpf_object *obj, struct bpf_map *map) in init_map_in_map_slots()
5476 static int init_prog_array_slots(struct bpf_object *obj, struct bpf_map *map) in init_prog_array_slots()
5511 struct bpf_map *map; in bpf_object_init_prog_arrays() local
5527 static int map_set_def_max_entries(struct bpf_map *map) in map_set_def_max_entries()
5548 struct bpf_map *map; in bpf_object__create_maps() local
6147 int map_idx, const struct bpf_map *map) in poison_map_ldimm64()
6359 const struct bpf_map *map; in bpf_object__relocate_data() local
7482 struct bpf_map *map = NULL, *targ_map = NULL; in bpf_object__collect_map_relos() local
7892 struct bpf_map *map; in bpf_object_load_prog() local
8049 const struct bpf_map *map; in fixup_log_missing_map_load() local
8816 static void bpf_map_prepare_vdata(const struct bpf_map *map) in bpf_map_prepare_vdata()
8840 struct bpf_map *map; in bpf_object_prepare_struct_ops() local
9079 int bpf_map__pin(struct bpf_map *map, const char *path) in bpf_map__pin()
9143 int bpf_map__unpin(struct bpf_map *map, const char *path) in bpf_map__unpin()
9179 int bpf_map__set_pin_path(struct bpf_map *map, const char *path) in bpf_map__set_pin_path()
9197 const char *bpf_map__pin_path(const struct bpf_map *map) in bpf_map__pin_path()
9202 bool bpf_map__is_pinned(const struct bpf_map *map) in bpf_map__is_pinned()
9219 struct bpf_map *map; in bpf_object__pin_maps() local
9267 struct bpf_map *map; in bpf_object__unpin_maps() local
9387 static void bpf_map__destroy(struct bpf_map *map) in bpf_map__destroy()
10156 struct bpf_map *map; in find_struct_ops_map_by_offset() local
10184 struct bpf_map *map; in bpf_object__collect_st_ops_relos() local
10520 int bpf_map__fd(const struct bpf_map *map) in bpf_map__fd()
10529 static bool map_uses_real_name(const struct bpf_map *map) in map_uses_real_name()
10544 const char *bpf_map__name(const struct bpf_map *map) in bpf_map__name()
10555 enum bpf_map_type bpf_map__type(const struct bpf_map *map) in bpf_map__type()
10560 int bpf_map__set_type(struct bpf_map *map, enum bpf_map_type type) in bpf_map__set_type()
10568 __u32 bpf_map__map_flags(const struct bpf_map *map) in bpf_map__map_flags()
10573 int bpf_map__set_map_flags(struct bpf_map *map, __u32 flags) in bpf_map__set_map_flags()
10581 __u64 bpf_map__map_extra(const struct bpf_map *map) in bpf_map__map_extra()
10586 int bpf_map__set_map_extra(struct bpf_map *map, __u64 map_extra) in bpf_map__set_map_extra()
10594 __u32 bpf_map__numa_node(const struct bpf_map *map) in bpf_map__numa_node()
10599 int bpf_map__set_numa_node(struct bpf_map *map, __u32 numa_node) in bpf_map__set_numa_node()
10607 __u32 bpf_map__key_size(const struct bpf_map *map) in bpf_map__key_size()
10612 int bpf_map__set_key_size(struct bpf_map *map, __u32 size) in bpf_map__set_key_size()
10620 __u32 bpf_map__value_size(const struct bpf_map *map) in bpf_map__value_size()
10625 static int map_btf_datasec_resize(struct bpf_map *map, __u32 size) in map_btf_datasec_resize()
10696 int bpf_map__set_value_size(struct bpf_map *map, __u32 size) in bpf_map__set_value_size()
10729 __u32 bpf_map__btf_key_type_id(const struct bpf_map *map) in bpf_map__btf_key_type_id()
10734 __u32 bpf_map__btf_value_type_id(const struct bpf_map *map) in bpf_map__btf_value_type_id()
10739 int bpf_map__set_initial_value(struct bpf_map *map, in bpf_map__set_initial_value()
10761 void *bpf_map__initial_value(const struct bpf_map *map, size_t *psize) in bpf_map__initial_value()
10780 bool bpf_map__is_internal(const struct bpf_map *map) in bpf_map__is_internal()
10785 __u32 bpf_map__ifindex(const struct bpf_map *map) in bpf_map__ifindex()
10790 int bpf_map__set_ifindex(struct bpf_map *map, __u32 ifindex) in bpf_map__set_ifindex()
10798 int bpf_map__set_inner_map_fd(struct bpf_map *map, int fd) in bpf_map__set_inner_map_fd()
10816 int bpf_map__set_exclusive_program(struct bpf_map *map, struct bpf_program *prog) in bpf_map__set_exclusive_program()
10832 struct bpf_program *bpf_map__exclusive_program(struct bpf_map *map) in bpf_map__exclusive_program()
10915 static int validate_map_op(const struct bpf_map *map, size_t key_sz, in validate_map_op()
10961 int bpf_map__lookup_elem(const struct bpf_map *map, in bpf_map__lookup_elem()
10974 int bpf_map__update_elem(const struct bpf_map *map, in bpf_map__update_elem()
10987 int bpf_map__delete_elem(const struct bpf_map *map, in bpf_map__delete_elem()
10999 int bpf_map__lookup_and_delete_elem(const struct bpf_map *map, in bpf_map__lookup_and_delete_elem()
11012 int bpf_map__get_next_key(const struct bpf_map *map, in bpf_map__get_next_key()
11041 int bpf_link__update_program(struct bpf_link *link, struct bpf_program *prog) in bpf_link__update_program()
11066 void bpf_link__disconnect(struct bpf_link *link) in bpf_link__disconnect()
11071 int bpf_link__destroy(struct bpf_link *link) in bpf_link__destroy()
11090 int bpf_link__fd(const struct bpf_link *link) in bpf_link__fd()
11095 const char *bpf_link__pin_path(const struct bpf_link *link) in bpf_link__pin_path()
11100 static int bpf_link__detach_fd(struct bpf_link *link) in bpf_link__detach_fd()
11107 struct bpf_link *link; in bpf_link__open() local
11134 int bpf_link__detach(struct bpf_link *link) in bpf_link__detach()
11139 int bpf_link__pin(struct bpf_link *link, const char *path) in bpf_link__pin()
11166 int bpf_link__unpin(struct bpf_link *link) in bpf_link__unpin()
11183 struct bpf_link link; member
11194 static int bpf_link_perf_detach(struct bpf_link *link) in bpf_link_perf_detach()
11220 static void bpf_link_perf_dealloc(struct bpf_link *link) in bpf_link_perf_dealloc()
11231 struct bpf_link_perf *link; in bpf_program__attach_perf_event_opts() local
11630 struct bpf_link *link; in bpf_program__attach_kprobe_opts() local
11977 struct bpf_link *link = NULL; in bpf_program__attach_kprobe_multi_opts() local
12069 static int attach_kprobe(const struct bpf_program *prog, long cookie, struct bpf_link **link) in attach_kprobe()
12106 static int attach_ksyscall(const struct bpf_program *prog, long cookie, struct bpf_link **link) in attach_ksyscall()
12127 static int attach_kprobe_multi(const struct bpf_program *prog, long cookie, struct bpf_link **link) in attach_kprobe_multi()
12159 struct bpf_link **link) in attach_kprobe_session()
12184 static int attach_uprobe_multi(const struct bpf_program *prog, long cookie, struct bpf_link **link) in attach_uprobe_multi()
12437 struct bpf_link *link = NULL; in bpf_program__attach_uprobe_multi() local
12563 struct bpf_link *link; in bpf_program__attach_uprobe_opts() local
12700 static int attach_uprobe(const struct bpf_program *prog, long cookie, struct bpf_link **link) in attach_uprobe()
12772 struct bpf_link *link; in bpf_program__attach_usdt() local
12818 static int attach_usdt(const struct bpf_program *prog, long cookie, struct bpf_link **link) in attach_usdt()
12903 struct bpf_link *link; in bpf_program__attach_tracepoint_opts() local
12937 static int attach_tp(const struct bpf_program *prog, long cookie, struct bpf_link **link) in attach_tp()
12975 struct bpf_link *link; in bpf_program__attach_raw_tracepoint_opts() local
13012 static int attach_raw_tp(const struct bpf_program *prog, long cookie, struct bpf_link **link) in attach_raw_tp()
13058 struct bpf_link *link; in bpf_program__attach_btf_id() local
13105 static int attach_trace(const struct bpf_program *prog, long cookie, struct bpf_link **link) in attach_trace()
13111 static int attach_lsm(const struct bpf_program *prog, long cookie, struct bpf_link **link) in attach_lsm()
13123 struct bpf_link *link; in bpf_program_attach_fd() local
13314 struct bpf_link *link; in bpf_program__attach_iter() local
13348 static int attach_iter(const struct bpf_program *prog, long cookie, struct bpf_link **link) in attach_iter()
13358 struct bpf_link *link; in bpf_program__attach_netfilter() local
13396 struct bpf_link *link = NULL; in bpf_program__attach() local
13424 struct bpf_link link; member
13428 static int bpf_link__detach_struct_ops(struct bpf_link *link) in bpf_link__detach_struct_ops()
13442 struct bpf_link *bpf_map__attach_struct_ops(const struct bpf_map *map) in bpf_map__attach_struct_ops()
13444 struct bpf_link_struct_ops *link; in bpf_map__attach_struct_ops() local
13498 int bpf_link__update_map(struct bpf_link *link, const struct bpf_map *map) in bpf_link__update_map()
13778 struct bpf_map_info map; in __perf_buffer__new() local
14248 struct bpf_map **map = map_skel->map; in populate_skeleton_maps() local
14319 const struct bpf_map *map; in bpf_object__open_subskeleton() local
14397 struct bpf_map *map = *map_skel->map; in bpf_object__load_skeleton() local
14415 struct bpf_link **link = prog_skel->link; in bpf_object__attach_skeleton() local
14450 struct bpf_map *map = *map_skel->map; in bpf_object__attach_skeleton() local
14451 struct bpf_link **link; in bpf_object__attach_skeleton() local
14495 struct bpf_link **link = prog_skel->link; in bpf_object__detach_skeleton() local
14506 struct bpf_link **link = map_skel->link; in bpf_object__detach_skeleton() local