Home
last modified time | relevance | path

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

/linux/drivers/net/wireguard/selftest/
H A 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/tools/testing/selftests/bpf/prog_tests/
H A Dselect_reuseport.c35 static __u32 expected_results[NR_RESULTS]; variable
338 if (results[i] != expected_results[i]) { in check_results()
355 printf("%u", expected_results[0]); in check_results()
357 printf(", %u", expected_results[i]); in check_results()
452 expected_results[DROP_ERR_INNER_MAP]++; in test_err_inner_map()
458 expected_results[DROP_ERR_SKB_DATA]++; in test_err_skb_data()
469 expected_results[DROP_ERR_SK_SELECT_REUSEPORT]++; in test_err_sk_select_port()
480 expected_results[PASS]++; in test_pass()
498 expected_results[PASS] += 2; in test_syncookie()
528 expected_results[PASS_ERR_SK_SELECT_REUSEPOR in test_pass_on_err()
[all...]