Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/net/wireguard/selftest/
Dratelimiter.c13 } expected_results[] __initconst = { variable
29 total_msecs += expected_results[i].msec_to_sleep_before; in maximum_jiffies_at_index()
44 for (i = 0; i < ARRAY_SIZE(expected_results); ++i) { in timings_test()
45 if (expected_results[i].msec_to_sleep_before) in timings_test()
46 msleep(expected_results[i].msec_to_sleep_before); in timings_test()
52 expected_results[i].result) in timings_test()
73 expected_results[i].result) in timings_test()
/Linux-v5.10/tools/testing/selftests/bpf/prog_tests/
Dselect_reuseport.c36 static __u32 expected_results[NR_RESULTS]; variable
355 if (results[i] != expected_results[i]) { in check_results()
372 printf("%u", expected_results[0]); in check_results()
374 printf(", %u", expected_results[i]); in check_results()
470 expected_results[DROP_ERR_INNER_MAP]++; in test_err_inner_map()
476 expected_results[DROP_ERR_SKB_DATA]++; in test_err_skb_data()
487 expected_results[DROP_ERR_SK_SELECT_REUSEPORT]++; in test_err_sk_select_port()
498 expected_results[PASS]++; in test_pass()
516 expected_results[PASS] += 2; in test_syncookie()
546 expected_results[PASS_ERR_SK_SELECT_REUSEPORT] += 1; in test_pass_on_err()
[all …]