Home
last modified time | relevance | path

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

/external/linux-kselftest/tools/testing/selftests/bpf/
Dtest_select_reuseport_kern.c68 __u32 linum, index = 0, flags = 0, index_zero = 0; in _select_by_skb_data() local
145 reuseport_array = bpf_map_lookup_elem(&outer_map, &index_zero); in _select_by_skb_data()
150 index_ovr = bpf_map_lookup_elem(&tmp_index_ovr_map, &index_zero); in _select_by_skb_data()
173 bpf_map_update_elem(&linum_map, &index_zero, &linum, BPF_ANY); in _select_by_skb_data()
174 bpf_map_update_elem(&data_check_map, &index_zero, &data_check, BPF_ANY); in _select_by_skb_data()
Dtest_select_reuseport.c40 static __u32 index_zero; variable
222 err = bpf_map_lookup_elem(linum_map, &index_zero, &linum); in get_linum()
243 err = bpf_map_lookup_elem(data_check_map, &index_zero, &result); in check_data()
498 err = bpf_map_update_elem(tmp_index_ovr_map, &index_zero, in test_syncookie()
503 err = bpf_map_lookup_elem(tmp_index_ovr_map, &index_zero, in test_syncookie()
605 err = bpf_map_update_elem(tmp_index_ovr_map, &index_zero, &ovr, in setup_per_test()
619 err = bpf_map_delete_elem(outer_map, &index_zero); in cleanup_per_test()
657 err = bpf_map_update_elem(outer_map, &index_zero, in test_all()