Searched refs:result_map (Results 1 – 2 of 2) sorted by relevance
/linux-6.12.1/tools/testing/selftests/bpf/prog_tests/ |
D | select_reuseport.c | 34 static int result_map, tmp_index_ovr_map, linum_map, data_check_map; variable 113 result_map = bpf_map__fd(map); in prepare_bpf_obj() 114 RET_ERR(result_map < 0, "get result_map fd", in prepare_bpf_obj() 115 "result_map:%d\n", result_map); in prepare_bpf_obj() 330 err = bpf_map_lookup_elem(result_map, &i, &results[i]); in check_results() 552 err = bpf_map_lookup_elem(result_map, &i, &tmp); in test_detach_bpf() 567 err = bpf_map_lookup_elem(result_map, &i, &tmp); in test_detach_bpf() 686 err = bpf_map_update_elem(result_map, &i, &zero, BPF_ANY); in cleanup_per_test()
|
/linux-6.12.1/tools/testing/selftests/bpf/progs/ |
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()
|