Home
last modified time | relevance | path

Searched refs:KSFT_FAIL (Results 1 – 25 of 66) sorted by relevance

123

/linux-6.15/tools/testing/selftests/arm64/mte/
H A Dcheck_mmap_options.c39 return KSFT_FAIL; in check_mte_memory()
45 return KSFT_FAIL; in check_mte_memory()
47 return KSFT_FAIL; in check_mte_memory()
53 return KSFT_FAIL; in check_mte_memory()
55 return KSFT_FAIL; in check_mte_memory()
71 return KSFT_FAIL; in check_anonymous_memory_mapping()
80 return KSFT_FAIL; in check_anonymous_memory_mapping()
86 return KSFT_FAIL; in check_anonymous_memory_mapping()
102 return KSFT_FAIL; in check_file_memory_mapping()
108 return KSFT_FAIL; in check_file_memory_mapping()
[all …]
H A Dcheck_tags_inclusion.c31 return KSFT_FAIL; in verify_mte_pointer_validity()
43 return KSFT_FAIL; in verify_mte_pointer_validity()
57 return KSFT_FAIL; in check_single_included_tags()
62 result = KSFT_FAIL; in check_single_included_tags()
90 return KSFT_FAIL; in check_multiple_included_tags()
121 return KSFT_FAIL; in check_all_included_tags()
125 return KSFT_FAIL; in check_all_included_tags()
146 return KSFT_FAIL; in check_none_included_tags()
150 return KSFT_FAIL; in check_none_included_tags()
158 return KSFT_FAIL; in check_none_included_tags()
[all …]
H A Dcheck_buffer_fill.c40 return KSFT_FAIL; in check_buffer_by_byte()
60 return KSFT_FAIL; in check_buffer_by_byte()
78 return KSFT_FAIL; in check_buffer_underflow_by_byte()
174 return KSFT_FAIL; in check_buffer_overflow_by_byte()
304 return KSFT_FAIL; in check_buffer_by_block_iterate()
359 return KSFT_FAIL; in compare_memory_tags()
376 return KSFT_FAIL; in check_memory_initial_tags()
379 return KSFT_FAIL; in check_memory_initial_tags()
386 return KSFT_FAIL; in check_memory_initial_tags()
390 return KSFT_FAIL; in check_memory_initial_tags()
[all …]
H A Dcheck_hugetlb_options.c105 return KSFT_FAIL; in check_child_tag_inheritance()
141 return KSFT_FAIL; in check_mte_memory()
157 return KSFT_FAIL; in check_hugetlb_memory_mapping()
165 return KSFT_FAIL; in check_hugetlb_memory_mapping()
170 if (result == KSFT_FAIL) in check_hugetlb_memory_mapping()
171 return KSFT_FAIL; in check_hugetlb_memory_mapping()
189 return KSFT_FAIL; in check_clear_prot_mte_flag()
195 return KSFT_FAIL; in check_clear_prot_mte_flag()
200 return KSFT_FAIL; in check_clear_prot_mte_flag()
218 return KSFT_FAIL; in check_child_hugetlb_memory_mapping()
[all …]
H A Dcheck_gcr_el1_cswitch.c66 return (void *)KSFT_FAIL; in execute_thread()
82 if (thread_data[i] == KSFT_FAIL) in execute_test()
83 return KSFT_FAIL; in execute_test()
99 return KSFT_FAIL; in mte_gcr_fork_test()
120 if (results[i] == KSFT_FAIL) in mte_gcr_fork_test()
121 return KSFT_FAIL; in mte_gcr_fork_test()
142 return ksft_get_fail_cnt() == 0 ? KSFT_PASS : KSFT_FAIL; in main()
H A Dcheck_child_memory.c40 return KSFT_FAIL; in check_child_tag_inheritance()
81 return (fault) ? KSFT_FAIL : KSFT_PASS; in check_child_tag_inheritance()
97 return KSFT_FAIL; in check_child_memory_mapping()
100 if (result == KSFT_FAIL) in check_child_memory_mapping()
116 return KSFT_FAIL; in check_child_file_mapping()
122 return KSFT_FAIL; in check_child_file_mapping()
132 return KSFT_FAIL; in check_child_file_mapping()
139 return KSFT_FAIL; in check_child_file_mapping()
152 return KSFT_FAIL; in main()
197 return ksft_get_fail_cnt() == 0 ? KSFT_PASS : KSFT_FAIL; in main()
H A Dmte_common_util.h82 case KSFT_FAIL: in evaluate_test()
100 return KSFT_FAIL; in check_allocated_memory()
106 return KSFT_FAIL; in check_allocated_memory()
117 return KSFT_FAIL; in check_allocated_memory_range()
124 return KSFT_FAIL; in check_allocated_memory_range()
H A Dcheck_user_mem.c50 return KSFT_FAIL; in check_usermem_access_fault()
53 return KSFT_FAIL; in check_usermem_access_fault()
58 return KSFT_FAIL; in check_usermem_access_fault()
135 err = KSFT_FAIL; in check_usermem_access_fault()
207 return KSFT_FAIL; in main()
242 return ksft_get_fail_cnt() == 0 ? KSFT_PASS : KSFT_FAIL; in main()
H A Dcheck_ksm_options.c103 err = KSFT_FAIL; in check_madvise_options()
112 return KSFT_FAIL; in check_madvise_options()
141 return KSFT_FAIL; in main()
165 return ksft_get_fail_cnt() == 0 ? KSFT_PASS : KSFT_FAIL; in main()
/linux-6.15/tools/testing/selftests/breakpoints/
H A Dstep_after_suspend_test.c58 return KSFT_FAIL; in run_test()
66 return KSFT_FAIL; in run_test()
70 return KSFT_FAIL; in run_test()
75 return KSFT_FAIL; in run_test()
87 return KSFT_FAIL; in run_test()
93 return KSFT_FAIL; in run_test()
98 return KSFT_FAIL; in run_test()
102 return KSFT_FAIL; in run_test()
107 return KSFT_FAIL; in run_test()
113 return KSFT_FAIL; in run_test()
[all …]
/linux-6.15/tools/testing/selftests/mm/
H A Dksm_tests.c355 return KSFT_FAIL; in check_ksm_merge()
361 return KSFT_FAIL; in check_ksm_merge()
378 return KSFT_FAIL; in check_ksm_merge()
389 return KSFT_FAIL; in check_ksm_unmerge()
418 return KSFT_FAIL; in check_ksm_unmerge()
462 return KSFT_FAIL; in check_ksm_zero_page_merge()
547 return KSFT_FAIL; in check_ksm_numa_merge()
615 return KSFT_FAIL; in ksm_merge_hugepages_time()
656 return KSFT_FAIL; in ksm_merge_time()
703 return KSFT_FAIL; in ksm_unmerge_time()
[all …]
H A Dmemfd_secret.c134 exit(KSFT_FAIL); in try_process_vm_read()
147 exit(KSFT_FAIL); in try_process_vm_read()
159 exit(KSFT_FAIL); in try_ptrace()
165 exit(KSFT_FAIL); in try_ptrace()
172 exit(KSFT_FAIL); in try_ptrace()
178 exit(KSFT_FAIL); in try_ptrace()
/linux-6.15/tools/testing/selftests/cachestat/
H A Dtest_cachestat.c133 ret = KSFT_FAIL; in test_cachestat()
142 ret = KSFT_FAIL; in test_cachestat()
153 ret = KSFT_FAIL; in test_cachestat()
163 ret = KSFT_FAIL; in test_cachestat()
173 ret = KSFT_FAIL; in test_cachestat()
184 ret = KSFT_FAIL; in test_cachestat()
190 ret = KSFT_FAIL; in test_cachestat()
299 case KSFT_FAIL: in main()
301 ret = KSFT_FAIL; in main()
/linux-6.15/tools/testing/selftests/net/
H A Dipsec.c597 exit(KSFT_FAIL); in write_msg()
602 exit(KSFT_FAIL); in write_msg()
613 exit(KSFT_FAIL); in read_msg()
618 exit(KSFT_FAIL); in read_msg()
1788 ret = KSFT_FAIL; in child_serv()
1798 ret = KSFT_FAIL; in child_serv()
1811 exit(KSFT_FAIL); in child_f()
1815 exit(KSFT_FAIL); in child_f()
1952 exit(KSFT_FAIL); in grand_child_f()
2017 exit(KSFT_FAIL); in exit_usage()
[all …]
H A Dsk_so_peek_off.c187 return KSFT_FAIL; in do_test()
198 if (restcp == KSFT_FAIL || resudp == KSFT_FAIL) in main()
199 return KSFT_FAIL; in main()
/linux-6.15/tools/testing/selftests/cgroup/
H A Dtest_zswap.c121 int ret = KSFT_FAIL; in test_zswap_usage()
162 int ret = KSFT_FAIL; in test_swapin_nozswap()
214 int ret = KSFT_FAIL; in test_zswapin()
352 int ret = KSFT_FAIL; in test_zswap_writeback()
417 int ret = KSFT_FAIL; in test_no_invasive_cgroup_shrink()
423 return KSFT_FAIL; in test_no_invasive_cgroup_shrink()
502 int ret = KSFT_FAIL; in test_no_kmem_bypass()
509 return KSFT_FAIL; in test_no_kmem_bypass()
515 return KSFT_FAIL; in test_no_kmem_bypass()
517 return KSFT_FAIL; in test_no_kmem_bypass()
[all …]
H A Dtest_kill.c59 int ret = KSFT_FAIL; in test_cgkill_simple()
90 ret = KSFT_FAIL; in test_cgkill_simple()
117 int ret = KSFT_FAIL; in test_cgkill_tree()
194 ret = KSFT_FAIL; in test_cgkill_tree()
224 int ret = KSFT_FAIL; in test_cgkill_forkbomb()
255 ret = KSFT_FAIL; in test_cgkill_forkbomb()
H A Dtest_freezer.c138 int ret = KSFT_FAIL; in test_cgfreezer_simple()
191 int ret = KSFT_FAIL; in test_cgfreezer_tree()
362 int ret = KSFT_FAIL; in test_cgfreezer_forkbomb()
401 int ret = KSFT_FAIL; in test_cgfreezer_mkdir()
455 int ret = KSFT_FAIL; in test_cgfreezer_rmdir()
510 int ret = KSFT_FAIL; in test_cgfreezer_migrate()
585 int ret = KSFT_FAIL; in test_cgfreezer_ptrace()
667 int pid, ret = KSFT_FAIL; in test_cgfreezer_stopped()
711 int pid, ret = KSFT_FAIL; in test_cgfreezer_ptraced()
780 int ret = KSFT_FAIL; in test_cgfreezer_vfork()
H A Dtest_core.c82 int ret = KSFT_FAIL; in test_cgcore_destroy()
144 int ret = KSFT_FAIL; in test_cgcore_populated()
277 int ret = KSFT_FAIL; in test_cgcore_invalid_domain()
339 int ret = KSFT_FAIL; in test_cgcore_parent_becomes_threaded()
378 int ret = KSFT_FAIL; in test_cgcore_no_internal_process_constraint_on_threads()
430 int ret = KSFT_FAIL; in test_cgcore_top_down_constraint_enable()
465 int ret = KSFT_FAIL; in test_cgcore_top_down_constraint_disable()
506 int ret = KSFT_FAIL; in test_cgcore_internal_process_constraint()
552 int ret = KSFT_FAIL; in test_cgcore_proc_migration()
625 int ret = KSFT_FAIL; in test_cgcore_thread_migration()
[all …]
H A Dtest_kmem.c54 int ret = KSFT_FAIL; in test_kmem_basic()
170 int ret = KSFT_FAIL; in test_kmem_memcg_deletion()
220 int ret = KSFT_FAIL; in test_kmem_proc_kpagecgroup()
279 int ret = KSFT_FAIL; in test_kmem_kernel_stacks()
307 int ret = KSFT_FAIL; in test_kmem_dead_cgroups()
354 int ret = KSFT_FAIL; in test_percpu_basic()
/linux-6.15/tools/testing/selftests/
H A Dkselftest_harness.h1003 int status = KSFT_FAIL << 8; in __wait_for_test()
1007 t->exit_code = KSFT_FAIL; in __wait_for_test()
1018 t->exit_code = KSFT_FAIL; in __wait_for_test()
1027 t->exit_code = KSFT_FAIL; in __wait_for_test()
1036 t->exit_code = KSFT_FAIL; in __wait_for_test()
1045 t->exit_code = KSFT_FAIL; in __wait_for_test()
1058 t->exit_code = KSFT_FAIL; in __wait_for_test()
1065 t->exit_code = KSFT_FAIL; in __wait_for_test()
1079 t->exit_code = KSFT_FAIL; in __wait_for_test()
1237 t->exit_code = KSFT_FAIL; in __run_test()
[all …]
/linux-6.15/tools/testing/selftests/kselftest/
H A Dksft.py15 KSFT_FAIL = 1 variable
79 exit_code = KSFT_FAIL
88 sys.exit(KSFT_FAIL)
H A Dktap_helpers.sh14 KSFT_FAIL=1
107 exit "$KSFT_FAIL"
116 exit "$KSFT_FAIL"
/linux-6.15/tools/testing/selftests/drivers/platform/x86/intel/ifs/
H A Dtest_ifs.sh9 readonly KSFT_FAIL=1
104 RESULT=$KSFT_FAIL
162 EXIT_MAP[$KSFT_FAIL]=$FAIL
231 [[ -n "$ifs_info" ]] || test_exit "No ifs module listed by lsmod" "$KSFT_FAIL"
252 test_exit "No sysfs entry in $IFS_SCAN_SYSFS_PATH" "$KSFT_FAIL"
276 return "$KSFT_FAIL"
280 return "$KSFT_FAIL"
/linux-6.15/tools/testing/selftests/net/mptcp/
H A Dmptcp_lib.sh8 readonly KSFT_FAIL=1
142 exit ${KSFT_FAIL}
297 "${KSFT_FAIL}")
305 exit ${KSFT_FAIL}
328 exit ${KSFT_FAIL}
464 exit ${KSFT_FAIL}
473 exit ${KSFT_FAIL}

123