Home
last modified time | relevance | path

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

/openbmc/linux/tools/testing/selftests/bpf/prog_tests/
H A Dbpf_obj_pinning.c41 int map_fd = -1, map_fd2 = -1; in bpf_obj_pinning_detached() local
90 if (!ASSERT_GE(map_fd2, 0, "map_get")) in bpf_obj_pinning_detached()
108 if (map_fd2 >= 0) in bpf_obj_pinning_detached()
109 ASSERT_OK(close(map_fd2), "close_map_fd2"); in bpf_obj_pinning_detached()
129 int zero = 0, dst_value, map_fd2, err; in validate_pin() local
164 map_fd2 = bpf_obj_get(abs_path); in validate_pin()
165 if (!ASSERT_GE(map_fd2, 0, "map_get")) in validate_pin()
178 if (map_fd2 >= 0) in validate_pin()
189 int zero = 0, dst_value, map_fd2, err; in validate_get() local
220 if (!ASSERT_GE(map_fd2, 0, "map_get")) in validate_get()
[all …]