Home
last modified time | relevance | path

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

/Linux-v6.6/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.c41 map_fd = bpf_find_map(__func__, obj, "vip_map"); in test_l4lb()
46 map_fd = bpf_find_map(__func__, obj, "ch_rings"); in test_l4lb()
51 map_fd = bpf_find_map(__func__, obj, "reals"); in test_l4lb()
75 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.c64 map_fd[0] = bpf_find_map(__func__, obj, "hash_map"); in test_map_lock()
67 map_fd[1] = bpf_find_map(__func__, obj, "array_map"); in test_map_lock()
Dqueue_stack_map.c41 map_in_fd = bpf_find_map(__func__, obj, "map_in"); in test_queue_stack_map_by_type()
45 map_out_fd = bpf_find_map(__func__, obj, "map_out"); in test_queue_stack_map_by_type()
Dglobal_func_args.c12 map_fd = bpf_find_map(__func__, obj, map_name); in test_global_func_args0()
Dxdp.c29 map_fd = bpf_find_map(__func__, obj, "vip2tnl"); in test_xdp()
Dprobe_user.c41 results_map_fd = bpf_find_map(__func__, obj, "test_pro.bss"); in serial_test_probe_user()
Dbpf_obj_id.c60 map_fds[i] = bpf_find_map(__func__, objs[i], "test_map_id"); in serial_test_bpf_obj_id()
/Linux-v6.6/tools/testing/selftests/bpf/
Dget_cgroup_id_user.c35 static int bpf_find_map(const char *test, struct bpf_object *obj, in bpf_find_map() function
76 cgidmap_fd = bpf_find_map(__func__, obj, "cg_ids"); in main()
81 pidmap_fd = bpf_find_map(__func__, obj, "pidmap"); in main()
Dtest_progs.h405 int bpf_find_map(const char *test, struct bpf_object *obj, const char *name);
Dtest_progs.c537 int bpf_find_map(const char *test, struct bpf_object *obj, const char *name) in bpf_find_map() function