Home
last modified time | relevance | path

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

/Linux-v5.10/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()
Dl4lb_all.c37 map_fd = bpf_find_map(__func__, obj, "vip_map"); in test_l4lb()
42 map_fd = bpf_find_map(__func__, obj, "ch_rings"); in test_l4lb()
47 map_fd = bpf_find_map(__func__, obj, "reals"); in test_l4lb()
66 map_fd = bpf_find_map(__func__, obj, "stats"); in test_l4lb()
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()
Dglobal_data.c10 map_fd = bpf_find_map(__func__, obj, "result_number"); in test_global_data_number()
45 map_fd = bpf_find_map(__func__, obj, "result_string"); in test_global_data_string()
80 map_fd = bpf_find_map(__func__, obj, "result_struct"); in test_global_data_struct()
Dmap_lock.c61 map_fd[0] = bpf_find_map(__func__, obj, "hash_map"); in test_map_lock()
64 map_fd[1] = bpf_find_map(__func__, obj, "array_map"); in test_map_lock()
Dqueue_stack_map.c34 map_in_fd = bpf_find_map(__func__, obj, "map_in"); in test_queue_stack_map_by_type()
38 map_out_fd = bpf_find_map(__func__, obj, "map_out"); in test_queue_stack_map_by_type()
Dxdp.c23 map_fd = bpf_find_map(__func__, obj, "vip2tnl"); in test_xdp()
Dprobe_user.c30 results_map_fd = bpf_find_map(__func__, obj, "test_pro.bss"); in test_probe_user()
Dbpf_obj_id.c60 map_fds[i] = bpf_find_map(__func__, objs[i], "test_map_id"); in test_bpf_obj_id()
/Linux-v5.10/tools/testing/selftests/bpf/
Dtest_netcnt.c21 static int bpf_find_map(const char *test, struct bpf_object *obj, in bpf_find_map() function
82 map_fd = bpf_find_map(__func__, obj, "netcnt"); in main()
88 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
126 map_fd = bpf_find_map(__func__, obj, "global_map"); in main()
130 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
69 cgidmap_fd = bpf_find_map(__func__, obj, "cg_ids"); in main()
74 pidmap_fd = bpf_find_map(__func__, obj, "pidmap"); in main()
Dtest_progs.h206 int bpf_find_map(const char *test, struct bpf_object *obj, const char *name);
Dtest_progs.c244 int bpf_find_map(const char *test, struct bpf_object *obj, const char *name) in bpf_find_map() function