| /linux/tools/testing/selftests/bpf/progs/ |
| A D | map_kptr.c | 207 TEST(array_map); in test_map_kptr() 208 TEST(hash_map); in test_map_kptr() 210 TEST(lru_hash_map); in test_map_kptr() 214 #undef TEST in test_map_kptr() 299 #undef TEST in test_map_in_map_kptr() 417 TEST(array_map); in test_map_kptr_ref1() 418 TEST(hash_map); in test_map_kptr_ref1() 430 #undef TEST 455 TEST(array_map); in test_map_kptr_ref2() 456 TEST(hash_map); in test_map_kptr_ref2() [all …]
|
| /linux/tools/testing/selftests/kselftest/ |
| A D | runner.sh | 50 TEST="$2" 53 BASENAME_TEST=$(basename $TEST) 106 if [ ! -e "$TEST" ]; then 107 echo "# Warning: file $TEST is missing!" 114 if [ -x "$TEST" ]; then 123 interpreter=$(head -n 1 "$TEST" | cut -c 3-) 130 cd `dirname $TEST` > /dev/null 155 run_one $DIR $TEST $test_num 182 for TEST in "$@"; do 183 BASENAME_TEST=$(basename $TEST) [all …]
|
| /linux/arch/arm/probes/kprobes/ |
| A D | test-thumb.c | 251 TEST("push {r0}") in kprobe_thumb16_test_cases() 252 TEST("push {r7}") in kprobe_thumb16_test_cases() 253 TEST("push {r14}") in kprobe_thumb16_test_cases() 257 TEST("pop {r0}") in kprobe_thumb16_test_cases() 258 TEST("pop {r7}") in kprobe_thumb16_test_cases() 270 TEST("sev") in kprobe_thumb16_test_cases() 271 TEST("nop") in kprobe_thumb16_test_cases() 272 TEST("wfi") in kprobe_thumb16_test_cases() 763 TEST("sev.w") in kprobe_thumb32_test_cases() 764 TEST("nop.w") in kprobe_thumb32_test_cases() [all …]
|
| A D | test-arm.c | 176 TEST("add sp, sp, #16") in kprobe_arm_test_cases() 177 TEST("sub sp, sp, #8") in kprobe_arm_test_cases() 178 TEST("bic sp, sp, #0x20") in kprobe_arm_test_cases() 179 TEST("orr sp, sp, #0x20") in kprobe_arm_test_cases() 226 TEST( "clz r4, sp") in kprobe_arm_test_cases() 619 TEST("movw r0, #0") in kprobe_arm_test_cases() 635 TEST("sev") in kprobe_arm_test_cases() 636 TEST("nop") in kprobe_arm_test_cases() 637 TEST("wfi") in kprobe_arm_test_cases() 1336 TEST( "pli [pc, #0]") in kprobe_arm_test_cases() [all …]
|
| /linux/tools/testing/selftests/x86/ |
| A 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/samples/bpf/ |
| A D | test_cgrp2_sock.sh | 7 TEST=$MY_DIR/test_cgrp2_sock 24 out=$($TEST) 38 out=$($TEST -6) 66 $TEST -d ${CGRP_MNT}/sockopts 103 $TEST -b cgrp2_sock ${CGRP_MNT}/sockopts 112 $TEST -m 666 ${CGRP_MNT}/sockopts 121 $TEST -p 123 ${CGRP_MNT}/sockopts 130 $TEST -b cgrp2_sock -m 666 -p 123 ${CGRP_MNT}/sockopts
|
| /linux/tools/testing/ktest/examples/include/ |
| A 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}
|
| A D | patchcheck.conf | 91 TEST_START IF ${TEST} == patchcheck 94 TEST = ${PATCH_TEST} 101 TEST_START IF ${TEST} == patchcheck && ${MULTI} 104 TEST = ${PATCH_TEST}
|
| A D | bisect.conf | 19 TEST_START IF ${TEST} == bisect 32 TEST = ${RUN_TEST} 82 TEST_START IF ${TEST} == config-bisect
|
| A 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/lib/ |
| A D | atomic64_test.c | 115 TEST(, add, +=, -one); 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() 167 TEST(64, add, +=, -one); in test_atomic64() 169 TEST(64, sub, -=, -one); in test_atomic64() 170 TEST(64, or, |=, v1); in test_atomic64() 171 TEST(64, and, &=, v1); in test_atomic64() [all …]
|
| /linux/tools/testing/selftests/mm/ |
| A D | khugepaged.c | 1220 #define TEST(t, c, o) do { \ in main() macro 1227 TEST(collapse_full, khugepaged_context, anon_ops); in main() 1228 TEST(collapse_full, khugepaged_context, file_ops); in main() 1229 TEST(collapse_full, khugepaged_context, shmem_ops); in main() 1230 TEST(collapse_full, madvise_context, anon_ops); in main() 1231 TEST(collapse_full, madvise_context, file_ops); in main() 1232 TEST(collapse_full, madvise_context, shmem_ops); in main() 1234 TEST(collapse_empty, khugepaged_context, anon_ops); in main() 1235 TEST(collapse_empty, madvise_context, anon_ops); in main() 1270 TEST(collapse_fork, khugepaged_context, anon_ops); in main() [all …]
|
| /linux/tools/testing/selftests/ftrace/test.d/ftrace/ |
| A D | fgraph-multi.tc | 51 TEST=$2 64 count=`cat trace | grep -v '^#' | grep -e '{' -e ';' | grep -v "$TEST" | wc -l` 67 fail "Graph filtering not working by itself against $TEST?" 72 count=`cat trace | grep -v '^#' | grep -e '{' -e ';' | grep "$TEST" | wc -l` 75 fail "No traces found with $TEST?" 90 count=`cat trace | grep -v '^#' | grep -e '{' -e ';' | grep "$TEST" | wc -l`
|
| /linux/tools/testing/selftests/bpf/prog_tests/ |
| A D | linked_list.c | 17 #define TEST(test, off) \ macro 26 TEST(kptr, 40) 27 TEST(global, 16) 28 TEST(map, 0) 29 TEST(inner_map, 0) 30 #undef TEST 47 TEST(kptr, pop_back) 53 TEST(map, push_back) 54 TEST(map, pop_front) 55 TEST(map, pop_back) [all …]
|
| A D | sk_assign.c | 209 #define TEST(NAME, FAMILY, TYPE, REWRITE) \ macro 225 TEST("ipv4 tcp port redir", AF_INET, SOCK_STREAM, false), in test_sk_assign() 226 TEST("ipv4 tcp addr redir", AF_INET, SOCK_STREAM, true), in test_sk_assign() 227 TEST("ipv6 tcp port redir", AF_INET6, SOCK_STREAM, false), in test_sk_assign() 228 TEST("ipv6 tcp addr redir", AF_INET6, SOCK_STREAM, true), in test_sk_assign() 229 TEST("ipv4 udp port redir", AF_INET, SOCK_DGRAM, false), in test_sk_assign() 230 TEST("ipv4 udp addr redir", AF_INET, SOCK_DGRAM, true), in test_sk_assign() 231 TEST("ipv6 udp port redir", AF_INET6, SOCK_DGRAM, false), in test_sk_assign() 232 TEST("ipv6 udp addr redir", AF_INET6, SOCK_DGRAM, true), in test_sk_assign()
|
| /linux/tools/testing/selftests/powerpc/alignment/ |
| A D | alignment_handler.c | 84 #define TEST(name, ld_op, st_op, form, ld_reg, st_reg) \ macro 108 #define LOAD_VSX_DFORM_TEST(op) TEST(op, op, stxv, DFORM, 32, 32) 109 #define STORE_VSX_DFORM_TEST(op) TEST(op, lxv, op, DFORM, 32, 32) 112 #define LOAD_VMX_DFORM_TEST(op) TEST(op, op, stxv, DFORM, 0, 32) 113 #define STORE_VMX_DFORM_TEST(op) TEST(op, lxv, op, DFORM, 32, 0) 115 #define LOAD_XFORM_TEST(op) TEST(op, op, stdx, XFORM, 31, 31) 116 #define STORE_XFORM_TEST(op) TEST(op, ldx, op, XFORM, 31, 31) 117 #define LOAD_DFORM_TEST(op) TEST(op, op, std, DFORM, 31, 31) 118 #define STORE_DFORM_TEST(op) TEST(op, ld, op, DFORM, 31, 31) 120 #define LOAD_FLOAT_DFORM_TEST(op) TEST(op, op, stfd, DFORM, 0, 0) [all …]
|
| /linux/tools/testing/selftests/filesystems/eventfd/ |
| A D | eventfd_test.c | 45 TEST(eventfd_check_flag_rdwr) in TEST() function 59 TEST(eventfd_check_flag_cloexec) in TEST() function 73 TEST(eventfd_check_flag_nonblock) in TEST() function 88 TEST(eventfd_chek_flag_cloexec_and_nonblock) in TEST() function 166 TEST(eventfd_check_flag_semaphore) in TEST() function 193 TEST(eventfd_check_write) in TEST() function 221 TEST(eventfd_check_read) in TEST() function 249 TEST(eventfd_check_read_with_nonsemaphore) in TEST() function 283 TEST(eventfd_check_read_with_semaphore) in TEST() function
|
| /linux/tools/testing/selftests/lsm/ |
| A D | lsm_list_modules_test.c | 18 TEST(size_null_lsm_list_modules) in TEST() function 31 TEST(ids_null_lsm_list_modules) in TEST() function 42 TEST(size_too_small_lsm_list_modules) in TEST() function 57 TEST(flags_set_lsm_list_modules) in TEST() function 72 TEST(correct_lsm_list_modules) in TEST() function
|
| A D | lsm_set_self_attr_test.c | 18 TEST(ctx_null_lsm_set_self_attr) in TEST() function 24 TEST(size_too_small_lsm_set_self_attr) in TEST() function 40 TEST(flags_zero_lsm_set_self_attr) in TEST() function 56 TEST(flags_overset_lsm_set_self_attr) in TEST() function
|
| /linux/tools/perf/tests/shell/coresight/ |
| A D | thread_loop_check_tid_10.sh | 7 TEST="thread_loop" 15 DATA="$DATD/perf-$TEST-$DATV.data" 16 STDO="$DATD/perf-$TEST-$DATV.stdout"
|
| A D | thread_loop_check_tid_2.sh | 7 TEST="thread_loop" 15 DATA="$DATD/perf-$TEST-$DATV.data" 16 STDO="$DATD/perf-$TEST-$DATV.stdout"
|
| /linux/tools/tracing/rtla/ |
| A D | Makefile.config | 18 …TEST = $(shell sh -c "$(PKG_CONFIG) --atleast-version $(LIBTRACEEVENT_MIN_VERSION) libtraceevent >… 19 ifeq ($(TEST),n) 34 …TEST = $(shell sh -c "$(PKG_CONFIG) --atleast-version $(LIBTRACEFS_MIN_VERSION) libtracefs > /dev/… 35 ifeq ($(TEST),n)
|
| /linux/tools/verification/rv/ |
| A D | Makefile.config | 18 …TEST = $(shell sh -c "$(PKG_CONFIG) --atleast-version $(LIBTRACEEVENT_MIN_VERSION) libtraceevent >… 19 ifeq ($(TEST),n) 34 …TEST = $(shell sh -c "$(PKG_CONFIG) --atleast-version $(LIBTRACEFS_MIN_VERSION) libtracefs > /dev/… 35 ifeq ($(TEST),n)
|
| /linux/tools/testing/selftests/filesystems/epoll/ |
| A D | epoll_wakeup_test.c | 163 TEST(epoll1) in TEST() function 194 TEST(epoll2) in TEST() function 225 TEST(epoll3) in TEST() function 263 TEST(epoll4) in TEST() function 301 TEST(epoll5) in TEST() function 340 TEST(epoll6) in TEST() function 380 TEST(epoll7) in TEST() function 426 TEST(epoll8) in TEST() function 472 TEST(epoll9) in TEST() function 515 TEST(epoll10) in TEST() function [all …]
|
| /linux/tools/testing/selftests/landlock/ |
| A D | base_test.c | 25 TEST(inconsistent_attr) in TEST() function 74 TEST(abi_version) in TEST() function 102 TEST(create_ruleset_checks_ordering) in TEST() function 145 TEST(add_rule_checks_ordering) in TEST() function 192 TEST(restrict_self_checks_ordering) in TEST() function 236 TEST(ruleset_fd_io) in TEST() function 258 TEST(ruleset_fd_transfer) in TEST() function 330 TEST(cred_transfer) in TEST() function
|