Home
last modified time | relevance | path

Searched refs:expected_results (Results 1 – 3 of 3) 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
336 if (results[i] != expected_results[i]) { in check_results()
353 printf("%u", expected_results[0]); in check_results()
355 printf(", %u", expected_results[i]); in check_results()
451 expected_results[DROP_ERR_INNER_MAP]++; in test_err_inner_map()
457 expected_results[DROP_ERR_SKB_DATA]++; in test_err_skb_data()
468 expected_results[DROP_ERR_SK_SELECT_REUSEPORT]++; in test_err_sk_select_port()
479 expected_results[PASS]++; in test_pass()
497 expected_results[PASS] += 2; in test_syncookie()
527 expected_results[PASS_ERR_SK_SELECT_REUSEPORT] += 1; in test_pass_on_err()
[all …]
/linux/lib/
H A Dchecksum_kunit.c68 static const u16 expected_results[] = { variable
472 CHECK_EQ(ARRAY_SIZE(expected_results), MAX_LEN); in assert_setup_correct()
496 expec = to_sum16(expected_results[len]); in test_csum_fixed_random_inputs()