Home
last modified time | relevance | path

Searched refs:TEST (Results 1 – 25 of 175) sorted by relevance

1234567

/linux/tools/testing/selftests/bpf/progs/
H A Dmap_kptr.c213 #define TEST(map) \ in test_map_kptr() macro
219 TEST(array_map); in test_map_kptr()
220 TEST(hash_map); in test_map_kptr()
221 TEST(hash_malloc_map); in test_map_kptr()
222 TEST(lru_hash_map); in test_map_kptr()
223 TEST(pcpu_array_map); in test_map_kptr()
224 TEST(pcpu_hash_map); in test_map_kptr()
226 #undef TEST in test_map_kptr()
289 #define TEST(map_in_map) \ in test_map_in_map_kptr() macro
298 TEST(array_of_array_maps); in test_map_in_map_kptr()
[all …]
/linux/arch/arm/probes/kprobes/
H A Dtest-thumb.c79 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 …]
H A Dtest-arm.c78 TEST( op s " r4, pc" ", #0x00005a00") in kprobe_arm_test_cases()
114 TEST( op s "vs r7, pc, lsl #3") \ in kprobe_arm_test_cases()
115 TEST( op s "vs r7, sp, lsr #4") \ in kprobe_arm_test_cases()
122 TEST( op s "eq r0, #0xf5") \ in kprobe_arm_test_cases()
123 TEST( op s "ne 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/tools/testing/selftests/kselftest/
H A Drunner.sh62 TEST="$2"
64 BASENAME_TEST=$(basename $TEST)
117 if [ ! -e "$TEST" ]; then
118 ktap_print_msg "Warning: file $TEST is missing!"
126 if [ -x "$TEST" ]; then
131 ktap_print_msg "Warning: file $TEST is not executable"
133 if [ $(head -n 1 "$TEST" | cut -c -2) = "#!" ]
135 interpreter=$(head -n 1 "$TEST" | cut -c 3-)
142 cd `dirname $TEST` > /dev/null
172 run_one $DIR $TEST
[all...]
/linux/tools/testing/selftests/mm/
H A Dkhugepaged.c1645 #define TEST(t, c, o) do { \
1767 TEST(collapse_full, khugepaged_context, anon_ops);
1768 TEST(collapse_full, khugepaged_context, read_only_file_ops);
1769 TEST(collapse_full, khugepaged_context, read_write_file_read_ops);
1770 TEST(collapse_full, khugepaged_context, read_write_file_write_ops);
1771 TEST(collapse_full, khugepaged_context, shmem_ops);
1774 TEST(collapse_full, mthp_khugepaged_context, anon_ops);
1775 TEST(collapse_empty, mthp_khugepaged_context, anon_ops);
1776 TEST(collapse_single_mthp, mthp_khugepaged_context, anon_ops);
1777 TEST(collapse_order_single_windo
1298 #define TEST( global() macro
[all...]
/linux/tools/testing/selftests/riscv/vector/
H A Dvstate_prctl.c35 TEST(get_control_no_v) in TEST() function
49 TEST(set_control_no_v) in TEST() function
63 TEST(vstate_on_current) in TEST() function
76 TEST(vstate_off_eperm) in TEST() function
92 TEST(vstate_on_no_nesting) in TEST() function
110 TEST(vstate_off_nesting) in TEST() function
128 TEST(vstate_on_inherit_no_nesting) in TEST() function
148 TEST(vstate_on_inherit) in TEST() function
168 TEST(vstate_off_inherit_no_nesting) in TEST() function
187 TEST(vstate_off_inherit) in TEST() function
[all …]
/linux/tools/testing/selftests/x86/
H A Dtest_FCMOV.c16 #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/tools/testing/ktest/examples/include/
H A Dtests.conf33 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}
H A Dpatchcheck.conf91 TEST_START IF ${TEST} == patchcheck
94 TEST = ${PATCH_TEST}
101 TEST_START IF ${TEST} == patchcheck && ${MULTI}
104 TEST = ${PATCH_TEST}
H A Dmin-config.conf47 TEST_START IF ${TEST} == min-config
52 TEST = ${SSH} echo hi
55 TEST_START IF ${TEST} == min-config && ${MULTI}
/linux/tools/testing/selftests/bpf/prog_tests/
H A Dlinked_list.c18 #define TEST(test, off) \ macro
27 TEST(kptr, 40)
28 TEST(global, 16)
29 TEST(map, 0)
30 TEST(inner_map, 0)
31 #undef TEST
32 #define TEST(test, op) \ macro
45 TEST(kptr, push_front)
46 TEST(kptr, push_back)
47 TEST(kptr, pop_front)
[all …]
H A Dsk_assign.c211 #define TEST(NAME, FAMILY, TYPE, REWRITE) \
227 TEST("ipv4 tcp port redir", AF_INET, SOCK_STREAM, false), in test_sk_assign()
228 TEST("ipv4 tcp addr redir", AF_INET, SOCK_STREAM, true), in test_sk_assign()
229 TEST("ipv6 tcp port redir", AF_INET6, SOCK_STREAM, false), in test_sk_assign()
230 TEST("ipv6 tcp addr redir", AF_INET6, SOCK_STREAM, true), in test_sk_assign()
231 TEST("ipv4 udp port redir", AF_INET, SOCK_DGRAM, false), in test_sk_assign()
232 TEST("ipv4 udp addr redir", AF_INET, SOCK_DGRAM, true), in test_sk_assign()
233 TEST("ipv6 udp port redir", AF_INET6, SOCK_DGRAM, false), in test_sk_assign()
234 TEST("ipv6 udp addr redir", AF_INET6, SOCK_DGRAM, true), in test_sk_assign()
209 #define TEST( global() macro
H A Dsockmap_listen.c1216 #define TEST(fn, ...) \ macro
1275 TEST(test_insert_invalid), in sotype_str()
1276 TEST(test_insert_opened), in sotype_str()
1277 TEST(test_insert_bound), in sotype_str()
1278 TEST(test_insert), in sotype_str()
1280 TEST(test_delete_after_insert),
1281 TEST(test_delete_after_close), in test_ops()
1283 TEST(test_lookup_after_insert), in test_ops()
1284 TEST(test_lookup_after_delete), in test_ops()
1285 TEST(test_lookup_32_bit_valu in test_ops()
[all...]
/linux/tools/testing/selftests/namespaces/
H A Duid_map_range_test.c98 TEST(uid_map_first_above_u32) in TEST() function
112 TEST(uid_map_lower_first_above_u32) in TEST() function
126 TEST(uid_map_count_above_u32) in TEST() function
140 TEST(gid_map_first_above_u32) in TEST() function
154 TEST(uid_map_first_negative) in TEST() function
168 TEST(uid_map_lower_first_negative) in TEST() function
180 TEST(uid_map_count_negative) in TEST() function
194 TEST(uid_map_in_range) in TEST() function
208 TEST(uid_map_zero) in TEST() function
223 TEST(uid_map_largest_first) in TEST() function
[all …]
/linux/tools/testing/selftests/ftrace/test.d/ftrace/
H A Dfgraph-multi.tc51 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/powerpc/alignment/
H A Dalignment_handler.c84 #define TEST(name, ld_op, st_op, form, ld_reg, st_reg) \ macro
106 #define LOAD_VSX_XFORM_TEST(op) TEST(op, op, stxvd2x, XFORM, 32, 32)
107 #define STORE_VSX_XFORM_TEST(op) TEST(op, lxvd2x, op, XFORM, 32, 32)
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)
110 #define LOAD_VMX_XFORM_TEST(op) TEST(op, op, stxvd2x, XFORM, 0, 32)
111 #define STORE_VMX_XFORM_TEST(op) TEST(op, lxvd2x, op, XFORM, 32, 0)
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)
[all …]
/linux/tools/testing/selftests/filesystems/eventfd/
H A Deventfd_test.c45 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_check_flag_cloexec_and_nonblock) in TEST() function
166 TEST(eventfd_check_flag_semaphore) in TEST() function
192 TEST(eventfd_check_write) in TEST() function
220 TEST(eventfd_check_read) in TEST() function
248 TEST(eventfd_check_read_with_nonsemaphore) in TEST() function
282 TEST(eventfd_check_read_with_semaphore) in TEST() function
/linux/tools/testing/selftests/filesystems/
H A Danon_inode_test.c12 TEST(anon_inode_no_chown) in TEST() function
25 TEST(anon_inode_no_chmod) in TEST() function
38 TEST(anon_inode_no_exec) in TEST() function
54 TEST(anon_inode_no_open) in TEST()
51 TEST(anon_inode_no_open) TEST() function
/linux/tools/testing/selftests/lsm/
H A Dlsm_list_modules_test.c18 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
H A Dlsm_set_self_attr_test.c18 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/testing/selftests/futex/functional/
H A Dfutex_waitv.c53 TEST(private_waitv) in TEST()
79 TEST(shared_waitv) in TEST() function
120 TEST(invalid_flag) in TEST()
146 TEST(unaligned_address) in TEST()
173 TEST(null_address) in TEST()
214 TEST(invalid_clockid) in TEST()
51 TEST(private_waitv) TEST() function
122 TEST(invalid_flag) TEST() function
145 TEST(unaligned_address) TEST() function
169 TEST(null_address) TEST() function
207 TEST(invalid_clockid) TEST() function
/linux/tools/verification/rv/
H A DMakefile.config18 …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/perf/tests/shell/coresight/
H A Dthread_loop_check_tid_10.sh
H A Dthread_loop_check_tid_2.sh
/linux/tools/testing/selftests/filesystems/epoll/
H A Depoll_wakeup_test.c181 TEST(epoll1) in TEST()
212 TEST(epoll2) in TEST()
243 TEST(epoll3) in TEST()
281 TEST(epoll4) in TEST()
319 TEST(epoll5) in TEST()
358 TEST(epoll6) in TEST()
398 TEST(epoll7) in TEST()
444 TEST(epoll8) in TEST()
490 TEST(epoll9) in TEST()
533 TEST(epoll1 in TEST()
163 TEST(epoll1) TEST() function
194 TEST(epoll2) TEST() function
225 TEST(epoll3) TEST() function
263 TEST(epoll4) TEST() function
301 TEST(epoll5) TEST() function
340 TEST(epoll6) TEST() function
380 TEST(epoll7) TEST() function
426 TEST(epoll8) TEST() function
472 TEST(epoll9) TEST() function
515 TEST(epoll10) TEST() function
558 TEST(epoll11) TEST() function
607 TEST(epoll12) TEST() function
656 TEST(epoll13) TEST() function
699 TEST(epoll14) TEST() function
742 TEST(epoll15) TEST() function
791 TEST(epoll16) TEST() function
842 TEST(epoll17) TEST() function
882 TEST(epoll18) TEST() function
922 TEST(epoll19) TEST() function
962 TEST(epoll20) TEST() function
1002 TEST(epoll21) TEST() function
1050 TEST(epoll22) TEST() function
1098 TEST(epoll23) TEST() function
1146 TEST(epoll24) TEST() function
1194 TEST(epoll25) TEST() function
1246 TEST(epoll26) TEST() function
1298 TEST(epoll27) TEST() function
1350 TEST(epoll28) TEST() function
1402 TEST(epoll29) TEST() function
1453 TEST(epoll30) TEST() function
1504 TEST(epoll31) TEST() function
1555 TEST(epoll32) TEST() function
1606 TEST(epoll33) TEST() function
1658 TEST(epoll34) TEST() function
1710 TEST(epoll35) TEST() function
1762 TEST(epoll36) TEST() function
1814 TEST(epoll37) TEST() function
1871 TEST(epoll38) TEST() function
1928 TEST(epoll39) TEST() function
1985 TEST(epoll40) TEST() function
2042 TEST(epoll41) TEST() function
2094 TEST(epoll42) TEST() function
2146 TEST(epoll43) TEST() function
2198 TEST(epoll44) TEST() function
2250 TEST(epoll45) TEST() function
2307 TEST(epoll46) TEST() function
2359 TEST(epoll47) TEST() function
2416 TEST(epoll48) TEST() function
2468 TEST(epoll49) TEST() function
2522 TEST(epoll50) TEST() function
2576 TEST(epoll51) TEST() function
2638 TEST(epoll52) TEST() function
2700 TEST(epoll53) TEST() function
2765 TEST(epoll54) TEST() function
2830 TEST(epoll55) TEST() function
2895 TEST(epoll56) TEST() function
2960 TEST(epoll57) TEST() function
3030 TEST(epoll58) TEST() function
3118 TEST(epoll59) TEST() function
3229 TEST(epoll60) TEST() function
3343 TEST(epoll61) TEST() function
3396 TEST(epoll62) TEST() function
3421 TEST(epoll63) TEST() function
3459 TEST(epoll64) TEST() function
[all...]

1234567