| /linux-6.15/tools/testing/selftests/mm/ |
| H A D | run_vmtests.sh | 220 run_test() { function 280 CATEGORY="hugetlb" run_test ./map_hugetlb 363 CATEGORY="mmap" run_test ./map_populate 367 CATEGORY="mlock" run_test ./mlock2-tests 371 CATEGORY="mremap" run_test ./mremap_test 373 CATEGORY="hugetlb" run_test ./thuge-gen 439 CATEGORY="ksm" run_test ./ksm_tests -U 472 CATEGORY="cow" run_test ./cow 474 CATEGORY="thp" run_test ./khugepaged 506 CATEGORY="mkdirty" run_test ./mkdirty [all …]
|
| H A D | test_hmm.sh | 89 function run_test() function 103 run_test $@
|
| H A D | test_vmalloc.sh | 157 function run_test() function 175 run_test $@
|
| /linux-6.15/tools/testing/selftests/net/ |
| H A D | udpgro.sh | 63 run_test() { function 160 run_test "no GRO" "${ipv4_args} -M 10 -s 1400" "-4 -n 10 -l 1400" 165 run_test "no GRO chk cmsg" "${ipv4_args} -M 10 -s 1400" "-4 -n 10 -l 1400 -S -1" 172 run_test "GRO" "${ipv4_args} -M 1 -s 14720 -S 0 " "-4 -n 1 -l 14720" 174 run_test "GRO chk cmsg" "${ipv4_args} -M 1 -s 14720 -S 0 " "-4 -n 1 -l 14720 -S 1472" 176 run_test "GRO with custom segment size" "${ipv4_args} -M 1 -s 14720 -S 500 " "-4 -n 1 -l 14720" 187 run_test "no GRO" "${ipv6_args} -M 10 -s 1400" "-n 10 -l 1400" 189 run_test "no GRO chk cmsg" "${ipv6_args} -M 10 -s 1400" "-n 10 -l 1400 -S -1" 191 run_test "GRO" "${ipv6_args} -M 1 -s 14520 -S 0" "-n 1 -l 14520" 193 run_test "GRO chk cmsg" "${ipv6_args} -M 1 -s 14520 -S 0" "-n 1 -l 14520 -S 1452" [all …]
|
| H A D | gro.sh | 12 run_test() { function 52 exit_code=$(run_test $proto $test) 103 exit_code=$(run_test "${proto}" "${test}")
|
| H A D | udpgro_fwd.sh | 102 run_test() { function 216 run_test "No GRO" $BM_NET$DST 10 0 222 run_test "GRO frag list" $BM_NET$DST 1 0 235 run_test "GRO fwd" $BM_NET$DST_NAT 1 0 $BM_NET$DST 247 run_test "GRO frag list over UDP tunnel" $OL_NET$DST 10 10 261 run_test "GRO fwd over UDP tunnel" $OL_NET$DST_NAT 10 10 $OL_NET$DST
|
| H A D | so_txtime.sh | 50 run_test() { function 75 run_test $@ 80 run_test $@
|
| /linux-6.15/tools/testing/selftests/efivarfs/ |
| H A D | efivarfs.sh | 31 run_test() function 364 run_test test_create 365 run_test test_create_empty 366 run_test test_create_read 367 run_test test_delete 368 run_test test_zero_size_delete 369 run_test test_open_unlink 370 run_test test_valid_filenames 371 run_test test_invalid_filenames 372 run_test test_no_set_size [all …]
|
| /linux-6.15/tools/testing/selftests/timens/ |
| H A D | clock_nanosleep.c | 41 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()
|
| H A D | timer.c | 18 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()
|
| H A D | timerfd.c | 25 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()
|
| H A D | futex.c | 20 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-6.15/tools/testing/selftests/arm64/abi/ |
| H A D | tpidr2.c | 246 #define run_test(name) \ macro 283 run_test(default_value); in main() 284 run_test(write_read); in main() 285 run_test(write_sleep_read); in main() 286 run_test(write_fork_read); in main() 287 run_test(write_clone_read); in main()
|
| /linux-6.15/tools/testing/selftests/bpf/prog_tests/ |
| H A D | btf_skc_cls_ingress.c | 99 static void run_test(struct test_btf_skc_cls_ingress *skel, bool gen_cookies, in run_test() function 206 run_test(skel, false, TEST_MODE_IPV4); in test_conn_ipv4() 211 run_test(skel, false, TEST_MODE_IPV6); in test_conn_ipv6() 216 run_test(skel, false, TEST_MODE_DUAL); in test_conn_dual() 221 run_test(skel, true, TEST_MODE_IPV4); in test_syncookie_ipv4() 226 run_test(skel, true, TEST_MODE_IPV6); in test_syncookie_ipv6() 231 run_test(skel, true, TEST_MODE_DUAL); in test_syncookie_dual()
|
| H A D | connect_force_port.c | 49 static int run_test(int cgroup_fd, int server_fd, int family, int type) in run_test() function 144 CHECK_FAIL(run_test(cgroup_fd, server_fd, AF_INET, SOCK_STREAM)); in test_connect_force_port() 150 CHECK_FAIL(run_test(cgroup_fd, server_fd, AF_INET6, SOCK_STREAM)); in test_connect_force_port() 156 CHECK_FAIL(run_test(cgroup_fd, server_fd, AF_INET, SOCK_DGRAM)); in test_connect_force_port() 162 CHECK_FAIL(run_test(cgroup_fd, server_fd, AF_INET6, SOCK_DGRAM)); in test_connect_force_port()
|
| H A D | modify_return.c | 14 static void run_test(__u32 input_retval, __u16 want_side_effect, __s16 want_ret) in run_test() function 55 run_test(0 /* input_retval */, in serial_test_modify_return() 58 run_test(-EINVAL /* input_retval */, in serial_test_modify_return()
|
| H A D | cgroup_v1v2.c | 10 static int run_test(int cgroup_fd, int server_fd, bool classid) in run_test() function 79 ASSERT_OK(run_test(cgroup_fd, server_fd, false), "cgroup-v2-only"); in test_cgroup_v1v2() 82 ASSERT_OK(run_test(cgroup_fd, server_fd, true), "cgroup-v1v2"); in test_cgroup_v1v2()
|
| /linux-6.15/tools/testing/selftests/drivers/net/ocelot/ |
| H A D | basic_qos.sh | 152 run_test() 208 run_test "Port-default QoS classification" ${h1} 5 0 217 run_test "Trusted VLAN PCP QoS classification" ${h1}.100 3 0 228 run_test "Trusted DSCP QoS classification" ${h1} 4 ${tos} 232 run_test "Untrusted DSCP QoS classification follows VLAN PCP" \ 236 run_test "Untrusted DSCP QoS classification follows port default" \
|
| /linux-6.15/tools/testing/selftests/net/forwarding/ |
| H A D | tc_taprio.sh | 247 run_test() 309 run_test 0.000000000 $STREAM_PRIO_1 0 0 "Gate always open" 314 run_test 0.000000000 $STREAM_PRIO_3 0 1 "Gate always closed" 320 run_test 0.000000000 $STREAM_PRIO_2 0 0 "In band with gate" 326 run_test 0.005000000 $STREAM_PRIO_2 \ 353 run_test 0.000000000 $STREAM_PRIO_1 0 0 "Under maximum SDU" 360 run_test 0.000000000 $STREAM_PRIO_1 0 1 "Over maximum SDU"
|
| H A D | local_termination.sh | 168 run_test() function 434 run_test $h1 $h2 $skip_ptp $no_unicast_flt "$h2" 452 run_test $h1 br0 $skip_ptp $no_unicast_flt \ 484 run_test $h1.100 $h2.100 $skip_ptp $no_unicast_flt "VLAN upper" 509 run_test $h1.100 $h2.100 $skip_ptp $no_unicast_flt \ 545 run_test $h1.100 br0.100 $skip_ptp $no_unicast_flt \
|
| /linux-6.15/tools/testing/selftests/net/mptcp/ |
| H A D | simult_flows.sh | 216 run_test() function 297 run_test 10 10 0 0 "balanced bwidth" 298 run_test 10 10 1 25 "balanced bwidth with unbalanced delay" 301 MPTCP_LIB_SUBTEST_FLAKY=1 run_test 10 3 0 0 "unbalanced bwidth" 302 run_test 10 3 1 25 "unbalanced bwidth with unbalanced delay" 303 run_test 10 3 25 1 "unbalanced bwidth with opposed, unbalanced delay"
|
| /linux-6.15/tools/testing/selftests/cgroup/ |
| H A D | test_cpuset_v1_base.sh | 60 run_test() function 74 run_test
|
| /linux-6.15/tools/testing/selftests/sched_ext/ |
| H A D | init_enable_count.c | 18 static enum scx_test_status run_test(bool global) in run_test() function 144 status = run_test(true); in run() 148 return run_test(false); in run()
|
| /linux-6.15/tools/testing/selftests/powerpc/mm/ |
| H A D | subpage_prot.c | 93 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-6.15/tools/testing/selftests/kvm/x86/ |
| H A D | nx_huge_pages_test.c | 105 void run_test(int reclaim_period_ms, bool disable_nx_huge_pages, in run_test() function 261 run_test(reclaim_period_ms, false, reboot_permissions); in main() 262 run_test(reclaim_period_ms, true, reboot_permissions); in main()
|