Home
last modified time | relevance | path

Searched refs:bpf_map_info (Results 1 – 11 of 11) sorted by relevance

/Linux-v4.19/tools/bpf/bpftool/
Dmap.c94 static void *alloc_value(struct bpf_map_info *info) in alloc_value()
159 struct bpf_map_info *map_info, void *key, in do_dump_btf()
184 static int get_btf(struct bpf_map_info *map_info, struct btf **btf) in get_btf()
259 static void print_entry_json(struct bpf_map_info *info, unsigned char *key, in print_entry_json()
307 static void print_entry_plain(struct bpf_map_info *info, unsigned char *key, in print_entry_plain()
373 static int parse_elem(char **argv, struct bpf_map_info *info, in parse_elem()
478 static int show_map_close_json(int fd, struct bpf_map_info *info) in show_map_close_json()
527 static int show_map_close_plain(int fd, struct bpf_map_info *info) in show_map_close_plain()
567 struct bpf_map_info info = {}; in do_show()
631 struct bpf_map_info info = {}; in do_dump()
[all …]
Dmap_perf_ring.c178 struct bpf_map_info map_info = {}; in do_event_pipe()
/Linux-v4.19/samples/bpf/
Dtest_map_in_map_user.c37 struct bpf_map_info info = {}; in check_map_id()
/Linux-v4.19/tools/testing/selftests/bpf/
Dtest_progs.c428 struct bpf_map_info map_infos[nr_iters + 1]; in test_bpf_obj_id()
473 info_len = sizeof(struct bpf_map_info) * 2; in test_bpf_obj_id()
483 info_len != sizeof(struct bpf_map_info) || in test_bpf_obj_id()
489 info_len, sizeof(struct bpf_map_info), in test_bpf_obj_id()
613 struct bpf_map_info map_info = {}; in test_bpf_obj_id()
640 CHECK(err || info_len != sizeof(struct bpf_map_info) || in test_bpf_obj_id()
645 err, errno, info_len, sizeof(struct bpf_map_info), in test_bpf_obj_id()
Dtest_btf.c1697 struct bpf_map_info map_info = {}; in test_btf_id()
/Linux-v4.19/kernel/bpf/
Doffload.c461 struct bpf_map_info *info;
489 int bpf_map_offload_info_fill(struct bpf_map_info *info, struct bpf_map *map) in bpf_map_offload_info_fill()
Dsyscall.c2099 struct bpf_map_info __user *uinfo = u64_to_user_ptr(attr->info.info); in bpf_map_get_info_by_fd()
2100 struct bpf_map_info info = {}; in bpf_map_get_info_by_fd()
/Linux-v4.19/tools/include/uapi/linux/
Dbpf.h2495 struct bpf_map_info { struct
/Linux-v4.19/include/uapi/linux/
Dbpf.h2495 struct bpf_map_info { struct
/Linux-v4.19/include/linux/
Dbpf.h660 int bpf_map_offload_info_fill(struct bpf_map_info *info, struct bpf_map *map);
/Linux-v4.19/tools/lib/bpf/
Dlibbpf.c1060 struct bpf_map_info info = {}; in bpf_map__reuse_fd()