Home
last modified time | relevance | path

Searched refs:run_test (Results 1 – 25 of 60) sorted by relevance

123

/Linux-v5.15/tools/testing/selftests/net/
Dudpgro.sh60 run_test() { function
151 run_test "no GRO" "${ipv4_args} -M 10 -s 1400" "-4 -n 10 -l 1400"
156 run_test "no GRO chk cmsg" "${ipv4_args} -M 10 -s 1400" "-4 -n 10 -l 1400 -S -1"
163 run_test "GRO" "${ipv4_args} -M 1 -s 14720 -S 0 " "-4 -n 1 -l 14720"
165 run_test "GRO chk cmsg" "${ipv4_args} -M 1 -s 14720 -S 0 " "-4 -n 1 -l 14720 -S 1472"
167 run_test "GRO with custom segment size" "${ipv4_args} -M 1 -s 14720 -S 500 " "-4 -n 1 -l 14720"
169run_test "GRO with custom segment size cmsg" "${ipv4_args} -M 1 -s 14720 -S 500 " "-4 -n 1 -l 1472…
178 run_test "no GRO" "${ipv6_args} -M 10 -s 1400" "-n 10 -l 1400"
180 run_test "no GRO chk cmsg" "${ipv6_args} -M 10 -s 1400" "-n 10 -l 1400 -S -1"
182 run_test "GRO" "${ipv6_args} -M 1 -s 14520 -S 0" "-n 1 -l 14520"
[all …]
Dgro.sh12 run_test() { function
47 exit_code=$(run_test $proto $test)
98 run_test "${proto}" "${test}"
Dudpgro_fwd.sh89 run_test() { function
200 run_test "No GRO" $BM_NET$DST 10 0
205 run_test "GRO frag list" $BM_NET$DST 1 0
217 run_test "GRO fwd" $BM_NET$DST_NAT 1 0 $BM_NET$DST
228 run_test "GRO frag list over UDP tunnel" $OL_NET$DST 1 1
241 run_test "GRO fwd over UDP tunnel" $OL_NET$DST_NAT 1 1 $OL_NET$DST
Dioam6.sh332 run_test() function
437 run_test ${FUNCNAME[0]} "${desc}" ioam-node-alpha ioam-node-beta db01::2 \
452 run_test ${FUNCNAME[0]} "${desc}" ioam-node-alpha ioam-node-beta db01::2 \
488 run_test "out_bit$i" "$descr" ioam-node-alpha ioam-node-beta \
507 run_test ${FUNCNAME[0]} "${desc}" ioam-node-alpha ioam-node-beta db01::2 \
532 run_test ${FUNCNAME[0]} "${desc}" ioam-node-alpha ioam-node-beta db01::2 \
547 run_test ${FUNCNAME[0]} "${desc}" ioam-node-alpha ioam-node-beta db01::2 \
568 run_test "in_bit$i" "${desc/<n>/$i}" ioam-node-alpha ioam-node-beta \
591 run_test ${FUNCNAME[0]} "${desc}" ioam-node-alpha ioam-node-beta db01::2 \
610 run_test ${FUNCNAME[0]} "${desc}" ioam-node-alpha ioam-node-beta db01::2 \
[all …]
/Linux-v5.15/tools/testing/selftests/efivarfs/
Defivarfs.sh31 run_test() function
204 run_test test_create
205 run_test test_create_empty
206 run_test test_create_read
207 run_test test_delete
208 run_test test_zero_size_delete
209 run_test test_open_unlink
210 run_test test_valid_filenames
211 run_test test_invalid_filenames
/Linux-v5.15/tools/testing/selftests/timens/
Dclock_nanosleep.c41 int run_test(int clockid, int abs) in run_test() function
140 ret |= run_test(CLOCK_MONOTONIC, 0); in main()
141 ret |= run_test(CLOCK_MONOTONIC, 1); in main()
142 ret |= run_test(CLOCK_BOOTTIME_ALARM, 0); in main()
143 ret |= run_test(CLOCK_BOOTTIME_ALARM, 1); in main()
Dtimer.c18 int run_test(int clockid, struct timespec now) in run_test() function
109 ret |= run_test(CLOCK_BOOTTIME, btime_now); in main()
110 ret |= run_test(CLOCK_MONOTONIC, mtime_now); in main()
111 ret |= run_test(CLOCK_BOOTTIME_ALARM, btime_now); in main()
Dtimerfd.c25 int run_test(int clockid, struct timespec now) in run_test() function
116 ret |= run_test(CLOCK_BOOTTIME, btime_now); in main()
117 ret |= run_test(CLOCK_MONOTONIC, mtime_now); in main()
118 ret |= run_test(CLOCK_BOOTTIME_ALARM, btime_now); in main()
Dfutex.c20 static int run_test(int clockid) in run_test() function
95 ret |= run_test(CLOCK_REALTIME); in main()
96 ret |= run_test(CLOCK_MONOTONIC); in main()
/Linux-v5.15/tools/testing/selftests/bpf/prog_tests/
Dconnect_force_port.c49 static int run_test(int cgroup_fd, int server_fd, int family, int type) in run_test() function
143 CHECK_FAIL(run_test(cgroup_fd, server_fd, AF_INET, SOCK_STREAM)); in test_connect_force_port()
149 CHECK_FAIL(run_test(cgroup_fd, server_fd, AF_INET6, SOCK_STREAM)); in test_connect_force_port()
155 CHECK_FAIL(run_test(cgroup_fd, server_fd, AF_INET, SOCK_DGRAM)); in test_connect_force_port()
161 CHECK_FAIL(run_test(cgroup_fd, server_fd, AF_INET6, SOCK_DGRAM)); in test_connect_force_port()
Dmodify_return.c14 static void run_test(__u32 input_retval, __u16 want_side_effect, __s16 want_ret) in run_test() function
58 run_test(0 /* input_retval */, in test_modify_return()
61 run_test(-EINVAL /* input_retval */, in test_modify_return()
Dcgroup_v1v2.c10 static int run_test(int cgroup_fd, int server_fd, bool classid) in run_test() function
72 ASSERT_OK(run_test(cgroup_fd, server_fd, false), "cgroup-v2-only"); in test_cgroup_v1v2()
75 ASSERT_OK(run_test(cgroup_fd, server_fd, true), "cgroup-v1v2"); in test_cgroup_v1v2()
Dtcp_rtt.c92 static int run_test(int cgroup_fd, int server_fd) in run_test() function
168 CHECK_FAIL(run_test(cgroup_fd, server_fd)); in test_tcp_rtt()
/Linux-v5.15/tools/testing/selftests/net/mptcp/
Dsimult_flows.sh222 run_test() function
294 run_test 10 10 0 0 "balanced bwidth"
295 run_test 10 10 1 50 "balanced bwidth with unbalanced delay"
298 run_test 30 10 0 0 "unbalanced bwidth"
299 run_test 30 10 1 50 "unbalanced bwidth with unbalanced delay"
300 run_test 30 10 50 1 "unbalanced bwidth with opposed, unbalanced delay"
/Linux-v5.15/tools/testing/selftests/vm/
Dtest_hmm.sh81 function run_test() function
95 run_test $@
Dtest_vmalloc.sh157 function run_test() function
175 run_test $@
Dva_128TBswitch.c231 static int run_test(struct testcase *test, int count) in run_test() function
285 ret = run_test(testcases, ARRAY_SIZE(testcases)); in main()
287 ret = run_test(hugetlb_testcases, ARRAY_SIZE(hugetlb_testcases)); in main()
Dcharge_reserved_hugetlb.sh263 function run_test() { function
420 run_test 5 "$populate" "" 10 10 10 "$method" "$private" "0" "$reserve"
449 run_test 5 "$populate" '-w' 5 5 10 "$method" "$private" "0" "$reserve"
471 run_test "5" "$populate" '' "10" "2" "10" "$method" "$private" "1" \
489 run_test 5 "$populate" "-w" 2 10 10 "$method" "$private" "1" "$reserve"
/Linux-v5.15/tools/testing/selftests/powerpc/mm/
Dsubpage_prot.c93 static int run_test(void *addr, unsigned long size) in run_test() function
182 return run_test(mallocblock, mallocsize); in test_anon()
219 return run_test(fileblock, filesize); in test_file()
/Linux-v5.15/tools/testing/selftests/powerpc/
Dharness.c27 int run_test(int (test_function)(void), char *name) in run_test() function
123 rc = run_test(test_function, name); in test_harness()
/Linux-v5.15/tools/testing/selftests/bpf/
Dtest_tcp_check_syncookie_user.c119 static int run_test(int server_fd, int results_fd, bool xdp) in run_test() function
242 if (run_test(server, results, xdp)) in main()
245 if (run_test(server_v6, results, xdp)) in main()
/Linux-v5.15/tools/testing/selftests/breakpoints/
Dbreakpoint_test_arm64.c112 static bool run_test(int wr_size, int wp_size, int wr, int wp) in run_test() function
217 result = run_test(size, MIN(size, 8), wr, wp); in main()
234 if (run_test(size, 8, -size, -8)) in main()
/Linux-v5.15/tools/testing/selftests/intel_pstate/
Drun.sh49 function run_test () { function
99 run_test $freq
/Linux-v5.15/tools/testing/selftests/timers/
Dfreq-step.c146 static int run_test(int calibration, double freq_base, double freq_step) in run_test() function
235 run_test(1, 0.0, 0.0); in init_test()
253 fails += run_test(0, freq_base, freq_step); in main()
/Linux-v5.15/drivers/misc/
Dkgdbts.c175 int (*run_test) (int, int); member
833 ts.run_test = run_simple_test; in init_simple_test()
1122 if (ts.run_test) in kgdbts_get_char()
1123 val = ts.run_test(1, 0); in kgdbts_get_char()
1130 if (ts.run_test) in kgdbts_put_char()
1131 ts.run_test(0, chr); in kgdbts_put_char()

123