Home
last modified time | relevance | path

Searched refs:bpf_find_map (Results 1 – 18 of 18) sorted by relevance

/external/linux-kselftest/tools/testing/selftests/bpf/prog_tests/
Dstacktrace_map.c28 control_map_fd = bpf_find_map(__func__, obj, "control_map"); in test_stacktrace_map()
32 stackid_hmap_fd = bpf_find_map(__func__, obj, "stackid_hmap"); in test_stacktrace_map()
36 stackmap_fd = bpf_find_map(__func__, obj, "stackmap"); in test_stacktrace_map()
40 stack_amap_fd = bpf_find_map(__func__, obj, "stack_amap"); in test_stacktrace_map()
Dxdp_noinline.c37 map_fd = bpf_find_map(__func__, obj, "vip_map"); in test_xdp_noinline()
42 map_fd = bpf_find_map(__func__, obj, "ch_rings"); in test_xdp_noinline()
47 map_fd = bpf_find_map(__func__, obj, "reals"); in test_xdp_noinline()
66 map_fd = bpf_find_map(__func__, obj, "stats"); in test_xdp_noinline()
Dl4lb_all.c36 map_fd = bpf_find_map(__func__, obj, "vip_map"); in test_l4lb()
41 map_fd = bpf_find_map(__func__, obj, "ch_rings"); in test_l4lb()
46 map_fd = bpf_find_map(__func__, obj, "reals"); in test_l4lb()
65 map_fd = bpf_find_map(__func__, obj, "stats"); in test_l4lb()
Dstacktrace_build_id.c34 control_map_fd = bpf_find_map(__func__, obj, "control_map"); in test_stacktrace_build_id()
39 stackid_hmap_fd = bpf_find_map(__func__, obj, "stackid_hmap"); in test_stacktrace_build_id()
44 stackmap_fd = bpf_find_map(__func__, obj, "stackmap"); in test_stacktrace_build_id()
49 stack_amap_fd = bpf_find_map(__func__, obj, "stack_amap"); in test_stacktrace_build_id()
Dstacktrace_map_raw_tp.c28 control_map_fd = bpf_find_map(__func__, obj, "control_map"); in test_stacktrace_map_raw_tp()
32 stackid_hmap_fd = bpf_find_map(__func__, obj, "stackid_hmap"); in test_stacktrace_map_raw_tp()
36 stackmap_fd = bpf_find_map(__func__, obj, "stackmap"); in test_stacktrace_map_raw_tp()
Dstacktrace_build_id_nmi.c65 control_map_fd = bpf_find_map(__func__, obj, "control_map"); in test_stacktrace_build_id_nmi()
70 stackid_hmap_fd = bpf_find_map(__func__, obj, "stackid_hmap"); in test_stacktrace_build_id_nmi()
75 stackmap_fd = bpf_find_map(__func__, obj, "stackmap"); in test_stacktrace_build_id_nmi()
80 stack_amap_fd = bpf_find_map(__func__, obj, "stack_amap"); in test_stacktrace_build_id_nmi()
Dglobal_data.c9 map_fd = bpf_find_map(__func__, obj, "result_number"); in test_global_data_number()
44 map_fd = bpf_find_map(__func__, obj, "result_string"); in test_global_data_string()
79 map_fd = bpf_find_map(__func__, obj, "result_struct"); in test_global_data_struct()
Dmap_lock.c47 map_fd[0] = bpf_find_map(__func__, obj, "hash_map"); in test_map_lock()
50 map_fd[1] = bpf_find_map(__func__, obj, "array_map"); in test_map_lock()
Dqueue_stack_map.c33 map_in_fd = bpf_find_map(__func__, obj, "map_in"); in test_queue_stack_map_by_type()
37 map_out_fd = bpf_find_map(__func__, obj, "map_out"); in test_queue_stack_map_by_type()
Dxdp.c22 map_fd = bpf_find_map(__func__, obj, "vip2tnl"); in test_xdp()
Dprobe_user.c31 results_map_fd = bpf_find_map(__func__, obj, "test_pro.bss"); in test_probe_user()
Dattach_probe.c108 results_map_fd = bpf_find_map(__func__, obj, "results_map"); in test_attach_probe()
Dbpf_obj_id.c55 map_fds[i] = bpf_find_map(__func__, objs[i], "test_map_id"); in test_bpf_obj_id()
/external/linux-kselftest/tools/testing/selftests/bpf/
Dtest_netcnt.c21 static int bpf_find_map(const char *test, struct bpf_object *obj, in bpf_find_map() function
95 map_fd = bpf_find_map(__func__, obj, "netcnt"); in main()
101 percpu_map_fd = bpf_find_map(__func__, obj, "percpu_netcnt"); in main()
Dtest_tcpbpf_user.c79 static int bpf_find_map(const char *test, struct bpf_object *obj, in bpf_find_map() function
132 map_fd = bpf_find_map(__func__, obj, "global_map"); in main()
136 sock_map_fd = bpf_find_map(__func__, obj, "sockopt_results"); in main()
Dget_cgroup_id_user.c35 static int bpf_find_map(const char *test, struct bpf_object *obj, in bpf_find_map() function
79 cgidmap_fd = bpf_find_map(__func__, obj, "cg_ids"); in main()
84 pidmap_fd = bpf_find_map(__func__, obj, "pidmap"); in main()
Dtest_progs.h137 int bpf_find_map(const char *test, struct bpf_object *obj, const char *name);
Dtest_progs.c184 int bpf_find_map(const char *test, struct bpf_object *obj, const char *name) in bpf_find_map() function