Searched refs:result_map (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | select_reuseport.c | 34 static int result_map, tmp_index_ovr_map, linum_map, data_check_map; variable 115 result_map = bpf_map__fd(map); in prepare_bpf_obj() 116 RET_ERR(result_map < 0, "get result_map fd", in prepare_bpf_obj() 117 "result_map:%d\n", result_map); in prepare_bpf_obj() 340 err = bpf_map_lookup_elem(result_map, &i, &results[i]); in check_results() 562 err = bpf_map_lookup_elem(result_map, &i, &tmp); in test_detach_bpf() 577 err = bpf_map_lookup_elem(result_map, &i, &tmp); in test_detach_bpf() 696 err = bpf_map_update_elem(result_map, &i, &zero, BPF_ANY); in cleanup_per_test()
|
/openbmc/linux/tools/testing/selftests/bpf/progs/ |
H A D | test_select_reuseport_kern.c | 34 } result_map SEC(".maps"); 173 result_cnt = bpf_map_lookup_elem(&result_map, &result); in _select_by_skb_data()
|