Searched refs:index_zero (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/tools/testing/selftests/bpf/progs/ |
H A D | test_select_reuseport_kern.c | 66 __u32 linum, index = 0, flags = 0, index_zero = 0; in _select_by_skb_data() local 149 reuseport_array = bpf_map_lookup_elem(&outer_map, &index_zero); in _select_by_skb_data() 154 index_ovr = bpf_map_lookup_elem(&tmp_index_ovr_map, &index_zero); in _select_by_skb_data() 177 bpf_map_update_elem(&linum_map, &index_zero, &linum, BPF_ANY); in _select_by_skb_data() 178 bpf_map_update_elem(&data_check_map, &index_zero, &data_check, BPF_ANY); in _select_by_skb_data()
|
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | select_reuseport.c | 43 static __u32 index_zero; variable 230 err = bpf_map_lookup_elem(linum_map, &index_zero, &linum); in get_linum() 251 err = bpf_map_lookup_elem(data_check_map, &index_zero, &result); in check_data() 516 err = bpf_map_update_elem(tmp_index_ovr_map, &index_zero, in test_syncookie() 521 err = bpf_map_lookup_elem(tmp_index_ovr_map, &index_zero, in test_syncookie() 674 err = bpf_map_update_elem(tmp_index_ovr_map, &index_zero, &ovr, in setup_per_test() 683 err = bpf_map_update_elem(outer_map, &index_zero, &reuseport_array, in setup_per_test() 713 err = bpf_map_delete_elem(outer_map, &index_zero); in cleanup_per_test()
|