/Linux-v5.10/arch/s390/lib/ |
D | test_unwind.c | 302 #define TEST(flags) \ in test_unwind_init() macro 313 TEST(UWM_DEFAULT); in test_unwind_init() 314 TEST(UWM_SP); in test_unwind_init() 315 TEST(UWM_REGS); in test_unwind_init() 316 TEST(UWM_SWITCH_STACK); in test_unwind_init() 317 TEST(UWM_SP | UWM_REGS); in test_unwind_init() 318 TEST(UWM_CALLER | UWM_SP); in test_unwind_init() 319 TEST(UWM_CALLER | UWM_SP | UWM_REGS); in test_unwind_init() 320 TEST(UWM_CALLER | UWM_SP | UWM_REGS | UWM_SWITCH_STACK); in test_unwind_init() 321 TEST(UWM_THREAD); in test_unwind_init() [all …]
|
/Linux-v5.10/arch/arm/probes/kprobes/ |
D | test-thumb.c | 79 TEST( "movs.n r0, #0x5f") in kprobe_thumb16_test_cases() 80 TEST( "movs.n r7, #0xa0") in kprobe_thumb16_test_cases() 131 TEST( "mov lr, pc") in kprobe_thumb16_test_cases() 198 TEST( "ldr r0, [sp, #0]") in kprobe_thumb16_test_cases() 199 TEST( "ldr r7, [sp, #160]") in kprobe_thumb16_test_cases() 206 TEST("add r0, pc, #4") in kprobe_thumb16_test_cases() 207 TEST("add r7, pc, #1020") in kprobe_thumb16_test_cases() 208 TEST("add r0, sp, #4") in kprobe_thumb16_test_cases() 209 TEST("add r7, sp, #1020") in kprobe_thumb16_test_cases() 218 TEST("add sp, #"__stringify(TEST_MEMORY_SIZE)) /* Assumes TEST_MEMORY_SIZE < 0x400 */ in kprobe_thumb16_test_cases() [all …]
|
D | test-arm.c | 78 TEST( op s " r4, pc" ", #0x00005a00") in kprobe_arm_test_cases() 114 TEST( op "vs" s " r7, pc, lsl #3") \ in kprobe_arm_test_cases() 115 TEST( op "vs" s " r7, sp, lsr #4") \ in kprobe_arm_test_cases() 122 TEST( op "eq" s " r0, #0xf5") \ in kprobe_arm_test_cases() 123 TEST( op "ne" s " r11, #0xf5000000") \ in kprobe_arm_test_cases() 124 TEST( op s " r7, #0x000af000") \ in kprobe_arm_test_cases() 125 TEST( op s " r4, #0x00005a00") in kprobe_arm_test_cases() 148 TEST("mov ip, sp") /* This has special case emulation code */ in kprobe_arm_test_cases() 176 TEST("add sp, sp, #16") in kprobe_arm_test_cases() 177 TEST("sub sp, sp, #8") in kprobe_arm_test_cases() [all …]
|
/Linux-v5.10/tools/testing/selftests/kselftest/ |
D | runner.sh | 45 TEST="$2" 48 BASENAME_TEST=$(basename $TEST) 68 if [ ! -x "$TEST" ]; then 69 echo -n "# Warning: file $TEST is " 70 if [ ! -e "$TEST" ]; then 77 cd `dirname $TEST` > /dev/null 102 for TEST in "$@"; do 103 BASENAME_TEST=$(basename $TEST) 109 run_one "$DIR" "$TEST" "$test_num"
|
/Linux-v5.10/tools/testing/selftests/x86/ |
D | test_FCMOV.c | 16 #define TEST(insn) \ macro 33 TEST(fcmovb) 34 TEST(fcmove) 35 TEST(fcmovbe) 36 TEST(fcmovu) 37 TEST(fcmovnb) 38 TEST(fcmovne) 39 TEST(fcmovnbe) 40 TEST(fcmovnu)
|
/Linux-v5.10/tools/testing/ktest/examples/include/ |
D | tests.conf | 33 TEST_START IF ${TEST} == boot 42 TEST_START IF ${TEST} == build 54 TEST_START ITERATE 10 IF ${TEST} == randconfig 58 TEST = ${RUN_TEST} 63 TEST_START ITERATE 10 IF ${TEST} == randconfig && ${MULTI} 70 TEST_START IF ${TEST} == test 73 TEST = ${RUN_TEST}
|
D | patchcheck.conf | 91 TEST_START IF ${TEST} == patchcheck 94 TEST = ${PATCH_TEST} 101 TEST_START IF ${TEST} == patchcheck && ${MULTI} 104 TEST = ${PATCH_TEST}
|
D | bisect.conf | 19 TEST_START IF ${TEST} == bisect 32 TEST = ${RUN_TEST} 82 TEST_START IF ${TEST} == config-bisect
|
D | min-config.conf | 47 TEST_START IF ${TEST} == min-config 52 TEST = ${SSH} echo hi 55 TEST_START IF ${TEST} == min-config && ${MULTI}
|
/Linux-v5.10/lib/ |
D | atomic64_test.c | 20 #define TEST(bit, op, c_op, val) \ macro 114 TEST(, add, +=, onestwos); in test_atomic() 115 TEST(, add, +=, -one); in test_atomic() 116 TEST(, sub, -=, onestwos); in test_atomic() 117 TEST(, sub, -=, -one); in test_atomic() 118 TEST(, or, |=, v1); in test_atomic() 119 TEST(, and, &=, v1); in test_atomic() 120 TEST(, xor, ^=, v1); in test_atomic() 121 TEST(, andnot, &= ~, v1); in test_atomic() 166 TEST(64, add, +=, onestwos); in test_atomic64() [all …]
|
/Linux-v5.10/tools/testing/selftests/bpf/ |
D | test_tc_redirect.sh | 129 TEST="TCPv4 connectivity test" 132 echo -e "${TEST}: ${RED}FAIL${NC}" 135 echo -e "${TEST}: ${GREEN}PASS${NC}" 137 TEST="TCPv6 connectivity test" 140 echo -e "${TEST}: ${RED}FAIL${NC}" 143 echo -e "${TEST}: ${GREEN}PASS${NC}" 145 TEST="ICMPv4 connectivity test" 148 echo -e "${TEST}: ${RED}FAIL${NC}" 151 echo -e "${TEST}: ${GREEN}PASS${NC}" 153 TEST="ICMPv6 connectivity test" [all …]
|
/Linux-v5.10/tools/testing/selftests/powerpc/alignment/ |
D | alignment_handler.c | 93 #define TEST(name, ld_op, st_op, form, ld_reg, st_reg) \ macro 115 #define LOAD_VSX_XFORM_TEST(op) TEST(op, op, stxvd2x, XFORM, 32, 32) 116 #define STORE_VSX_XFORM_TEST(op) TEST(op, lxvd2x, op, XFORM, 32, 32) 117 #define LOAD_VSX_DFORM_TEST(op) TEST(op, op, stxv, DFORM, 32, 32) 118 #define STORE_VSX_DFORM_TEST(op) TEST(op, lxv, op, DFORM, 32, 32) 119 #define LOAD_VMX_XFORM_TEST(op) TEST(op, op, stxvd2x, XFORM, 0, 32) 120 #define STORE_VMX_XFORM_TEST(op) TEST(op, lxvd2x, op, XFORM, 32, 0) 121 #define LOAD_VMX_DFORM_TEST(op) TEST(op, op, stxv, DFORM, 0, 32) 122 #define STORE_VMX_DFORM_TEST(op) TEST(op, lxv, op, DFORM, 32, 0) 124 #define LOAD_XFORM_TEST(op) TEST(op, op, stdx, XFORM, 31, 31) [all …]
|
/Linux-v5.10/tools/testing/selftests/bpf/prog_tests/ |
D | sk_assign.c | 243 #define TEST(NAME, FAMILY, TYPE, REWRITE) \ macro 259 TEST("ipv4 tcp port redir", AF_INET, SOCK_STREAM, false), in test_sk_assign() 260 TEST("ipv4 tcp addr redir", AF_INET, SOCK_STREAM, true), in test_sk_assign() 261 TEST("ipv6 tcp port redir", AF_INET6, SOCK_STREAM, false), in test_sk_assign() 262 TEST("ipv6 tcp addr redir", AF_INET6, SOCK_STREAM, true), in test_sk_assign() 263 TEST("ipv4 udp port redir", AF_INET, SOCK_DGRAM, false), in test_sk_assign() 264 TEST("ipv4 udp addr redir", AF_INET, SOCK_DGRAM, true), in test_sk_assign() 265 TEST("ipv6 udp port redir", AF_INET6, SOCK_DGRAM, false), in test_sk_assign() 266 TEST("ipv6 udp addr redir", AF_INET6, SOCK_DGRAM, true), in test_sk_assign()
|
D | sockmap_listen.c | 1416 #define TEST(fn, ...) \ macro 1488 TEST(test_insert_invalid), in test_ops() 1489 TEST(test_insert_opened), in test_ops() 1490 TEST(test_insert_bound, SOCK_STREAM), in test_ops() 1491 TEST(test_insert), in test_ops() 1493 TEST(test_delete_after_insert), in test_ops() 1494 TEST(test_delete_after_close), in test_ops() 1496 TEST(test_lookup_after_insert), in test_ops() 1497 TEST(test_lookup_after_delete), in test_ops() 1498 TEST(test_lookup_32_bit_value), in test_ops() [all …]
|
/Linux-v5.10/tools/testing/selftests/android/ |
D | Makefile | 16 TEST=$$DIR"_test.sh"; \ 17 if [ -e $$DIR/$$TEST ]; then \ 18 rsync -a $$DIR/$$TEST $$BUILD_TARGET/; \
|
/Linux-v5.10/tools/testing/selftests/arm64/pauth/ |
D | pac.c | 194 TEST(corrupt_pac) in TEST() function 216 TEST(pac_instructions_not_nop) in TEST() function 238 TEST(pac_instructions_not_nop_generic) in TEST() function 250 TEST(single_thread_different_keys) in TEST() function 292 TEST(exec_changed_keys) in TEST() function 325 TEST(context_switch_keep_keys) in TEST() function 348 TEST(context_switch_keep_keys_generic) in TEST() function
|
/Linux-v5.10/tools/testing/selftests/sparc64/ |
D | Makefile | 26 TEST=$$DIR"_test.sh"; \ 27 if [ -e $$DIR/$$TEST ]; then \ 28 rsync -a $$DIR/$$TEST $$BUILD_TARGET/; \
|
/Linux-v5.10/tools/testing/selftests/filesystems/epoll/ |
D | epoll_wakeup_test.c | 148 TEST(epoll1) in TEST() function 179 TEST(epoll2) in TEST() function 210 TEST(epoll3) in TEST() function 248 TEST(epoll4) in TEST() function 286 TEST(epoll5) in TEST() function 325 TEST(epoll6) in TEST() function 365 TEST(epoll7) in TEST() function 411 TEST(epoll8) in TEST() function 457 TEST(epoll9) in TEST() function 500 TEST(epoll10) in TEST() function [all …]
|
/Linux-v5.10/tools/testing/selftests/mincore/ |
D | mincore_selftest.c | 31 TEST(basic_interface) in TEST() function 84 TEST(check_anonymous_locked_pages) in TEST() function 140 TEST(check_huge_pages) in TEST() function 188 TEST(check_file_mmap) in TEST() function 285 TEST(check_tmpfs_mmap) in TEST() function
|
/Linux-v5.10/tools/testing/selftests/ |
D | run_kselftest.sh | 24 -t | --test COLLECTION:TEST Run TEST from COLLECTION
|
/Linux-v5.10/tools/testing/selftests/net/ |
D | reuseaddr_ports_exhausted.c | 81 TEST(reuseaddr_ports_exhausted_unreusable) in TEST() function 101 TEST(reuseaddr_ports_exhausted_reusable_same_euid) in TEST() function 126 TEST(reuseaddr_ports_exhausted_reusable_different_euid) in TEST() function
|
/Linux-v5.10/arch/um/os-Linux/ |
D | execvp.c | 29 #ifndef TEST 132 #ifdef TEST
|
/Linux-v5.10/tools/testing/selftests/seccomp/ |
D | seccomp_bpf.c | 311 TEST(kcmp) in TEST() function 321 TEST(mode_strict_support) in TEST() function 348 TEST(no_new_privs_support) in TEST() function 359 TEST(mode_filter_support) in TEST() function 374 TEST(mode_filter_without_nnp) in TEST() function 403 TEST(filter_size_limits) in TEST() function 440 TEST(filter_chain_limits) in TEST() function 480 TEST(mode_filter_cannot_move_to_strict) in TEST() function 503 TEST(mode_filter_get_seccomp) in TEST() function 528 TEST(ALLOW_all) in TEST() function [all …]
|
/Linux-v5.10/tools/testing/selftests/ptrace/ |
D | vmaccess.c | 24 TEST(vmaccess) in TEST() function 46 TEST(attach) in TEST() function
|
/Linux-v5.10/tools/testing/selftests/core/ |
D | close_range_test.c | 36 TEST(close_range) in TEST() function 95 TEST(close_range_unshare) in TEST() function 184 TEST(close_range_unshare_capped) in TEST() function
|