| /linux/tools/testing/selftests/mm/ |
| H A D | cow.c | 183 log_test_result(KSFT_FAIL); in do_test_cow_in_parent() 190 log_test_result(KSFT_FAIL); in do_test_cow_in_parent() 207 log_test_result(KSFT_FAIL); in do_test_cow_in_parent() 216 log_test_result(KSFT_FAIL); in do_test_cow_in_parent() 245 log_test_result(KSFT_FAIL); in do_test_cow_in_parent() 294 log_test_result(KSFT_FAIL); in do_test_vmsplice_in_parent() 300 log_test_result(KSFT_FAIL); in do_test_vmsplice_in_parent() 308 log_test_result(KSFT_FAIL); in do_test_vmsplice_in_parent() 316 log_test_result(KSFT_FAIL); in do_test_vmsplice_in_parent() 331 log_test_result(KSFT_FAIL); in do_test_vmsplice_in_parent() [all …]
|
| H A D | ksm_tests.c | 328 return KSFT_FAIL; in check_ksm_merge() 334 return KSFT_FAIL; in check_ksm_merge() 351 return KSFT_FAIL; in check_ksm_merge() 362 return KSFT_FAIL; in check_ksm_unmerge() 368 return KSFT_FAIL; in check_ksm_unmerge() 391 return KSFT_FAIL; in check_ksm_unmerge() 402 return KSFT_FAIL; in check_ksm_zero_page_merge() 406 return KSFT_FAIL; in check_ksm_zero_page_merge() 411 return KSFT_FAIL; in check_ksm_zero_page_merge() 435 return KSFT_FAIL; in check_ksm_zero_page_merge() [all …]
|
| H A D | gup_longterm.c | 100 result = KSFT_FAIL; in do_test() 110 result = KSFT_FAIL; in do_test() 127 result = KSFT_FAIL; in do_test() 140 result = KSFT_FAIL; in do_test() 161 result = KSFT_FAIL; in do_test() 203 result = KSFT_FAIL; in do_test() 210 result = KSFT_FAIL; in do_test() 226 result = KSFT_FAIL; in do_test() 264 result = KSFT_FAIL; in do_test() 281 result = KSFT_FAIL; in do_test()
|
| H A D | memfd_secret.c | 134 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/tools/testing/selftests/breakpoints/ |
| H A D | step_after_suspend_test.c | 58 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/tools/testing/selftests/arm64/mte/ |
| H A D | check_tags_inclusion.c | 31 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() 71 result = KSFT_FAIL; in check_single_included_tags() 90 return KSFT_FAIL; in check_multiple_included_tags() 103 result = 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() [all …]
|
| H A D | check_buffer_fill.c | 40 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() 155 return (err ? KSFT_FAIL : KSFT_PASS); in check_buffer_underflow_by_byte() 174 return KSFT_FAIL; in check_buffer_overflow_by_byte() 258 return (err ? KSFT_FAIL : KSFT_PASS); in check_buffer_overflow_by_byte() 272 return KSFT_FAIL; in check_buffer_by_block_iterate() 277 return KSFT_FAIL; in check_buffer_by_block_iterate() 284 return KSFT_FAIL; in check_buffer_by_block_iterate() 289 return KSFT_FAIL; in check_buffer_by_block_iterate() [all …]
|
| H A D | check_hugetlb_options.c | 105 return KSFT_FAIL; in check_child_tag_inheritance() 132 return (fault) ? KSFT_FAIL : KSFT_PASS; 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() [all …]
|
| H A D | check_gcr_el1_cswitch.c | 66 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 D | check_child_memory.c | 40 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 D | check_mmap_options.c | 78 return KSFT_FAIL; in check_mte_memory() 84 return KSFT_FAIL; in check_mte_memory() 86 return KSFT_FAIL; in check_mte_memory() 92 return KSFT_FAIL; in check_mte_memory() 94 return KSFT_FAIL; in check_mte_memory() 101 return KSFT_FAIL; in check_mte_memory() 107 return KSFT_FAIL; in check_mte_memory() 128 return KSFT_FAIL; in check_anonymous_memory_mapping() 137 return KSFT_FAIL; in check_anonymous_memory_mapping() 163 return KSFT_FAIL; in check_file_memory_mapping() [all …]
|
| H A D | mte_common_util.h | 87 case KSFT_FAIL: in evaluate_test() 105 return KSFT_FAIL; in check_allocated_memory() 111 return KSFT_FAIL; in check_allocated_memory() 122 return KSFT_FAIL; in check_allocated_memory_range() 129 return KSFT_FAIL; in check_allocated_memory_range()
|
| H A D | check_user_mem.c | 50 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 D | check_ksm_options.c | 103 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/tools/testing/selftests/net/ |
| H A D | ipv6_fragmentation.c | 51 error(KSFT_FAIL, errno, "unshare"); in setup() 55 error(KSFT_FAIL, errno, "socket"); in setup() 60 error(KSFT_FAIL, errno, "ioctl: set MTU"); in setup() 64 error(KSFT_FAIL, errno, "ioctl SIOCGIFFLAGS"); in setup() 67 error(KSFT_FAIL, errno, "ioctl: bring interface up"); in setup() 70 error(KSFT_FAIL, errno, "close"); in setup() 105 error(KSFT_FAIL, errno, "sendmsg"); in main() 107 error(KSFT_FAIL, errno, "sendmsg returned %zi, expected %i", in main() 112 error(KSFT_FAIL, errno, "close"); in main()
|
| H A D | ipsec.c | 597 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() 1302 return KSFT_FAIL; in xfrm_state_allocspi() 1307 return KSFT_FAIL; in xfrm_state_allocspi() 1314 return KSFT_FAIL; in xfrm_state_allocspi() 1319 return KSFT_FAIL; in xfrm_state_allocspi() 1323 return (answer.error) ? KSFT_FAIL : KSFT_PASS; in xfrm_state_allocspi() 1376 int xfrm_listen = -1, ret = KSFT_FAIL; in xfrm_monitor_acquire() [all …]
|
| /linux/tools/testing/selftests/vsock/ |
| H A D | vmtest.sh | 83 exit "${KSFT_FAIL}" 100 elif [[ ${rc} -eq ${KSFT_FAIL} ]]; then 432 return "${KSFT_FAIL}" 436 return "${KSFT_FAIL}" 444 return "${KSFT_FAIL}" 448 return "${KSFT_FAIL}" 460 return "${KSFT_FAIL}" 464 return "${KSFT_FAIL}" 531 rc=$KSFT_FAIL 537 rc=$KSFT_FAIL [all …]
|
| /linux/tools/testing/selftests/cachestat/ |
| H A D | test_cachestat.c | 138 ret = KSFT_FAIL; in test_cachestat() 147 ret = KSFT_FAIL; in test_cachestat() 158 ret = KSFT_FAIL; in test_cachestat() 168 ret = KSFT_FAIL; in test_cachestat() 178 ret = KSFT_FAIL; in test_cachestat() 189 ret = KSFT_FAIL; in test_cachestat() 195 ret = KSFT_FAIL; in test_cachestat() 339 case KSFT_FAIL: in main() 341 ret = KSFT_FAIL; in main()
|
| /linux/tools/testing/selftests/cgroup/ |
| H A D | test_zswap.c | 121 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 D | test_kill.c | 59 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 D | test_freezer.c | 138 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() [all …]
|
| H A D | test_core.c | 87 int ret = KSFT_FAIL; in test_cgcore_destroy() 149 int ret = KSFT_FAIL; in test_cgcore_populated() 285 int ret = KSFT_FAIL; in test_cgcore_invalid_domain() 350 int ret = KSFT_FAIL; in test_cgcore_parent_becomes_threaded() 392 int ret = KSFT_FAIL; in test_cgcore_no_internal_process_constraint_on_threads() 445 int ret = KSFT_FAIL; in test_cgcore_top_down_constraint_enable() 483 int ret = KSFT_FAIL; in test_cgcore_top_down_constraint_disable() 527 int ret = KSFT_FAIL; in test_cgcore_internal_process_constraint() 576 int ret = KSFT_FAIL; in test_cgcore_proc_migration() 649 int ret = KSFT_FAIL; in test_cgcore_thread_migration() [all …]
|
| /linux/tools/testing/selftests/ |
| H A D | kselftest_harness.h | 444 _metadata->exit_code = KSFT_FAIL; \ 802 _metadata->exit_code = KSFT_FAIL; \ 813 _metadata->exit_code = KSFT_FAIL; \ 936 return metadata->exit_code != KSFT_FAIL && in __test_passed() 979 int status = KSFT_FAIL << 8; in __wait_for_test() 986 t->exit_code = KSFT_FAIL; in __wait_for_test() 997 t->exit_code = KSFT_FAIL; in __wait_for_test() 1009 t->exit_code = KSFT_FAIL; in __wait_for_test() 1017 t->exit_code = KSFT_FAIL; in __wait_for_test() 1026 t->exit_code = KSFT_FAIL; in __wait_for_test() [all …]
|
| /linux/tools/testing/selftests/kselftest/ |
| H A D | ktap_helpers.sh | 14 KSFT_FAIL=1 107 exit "$KSFT_FAIL" 116 exit "$KSFT_FAIL"
|
| /linux/tools/testing/selftests/net/mptcp/ |
| H A D | diag.sh | 65 ret=${KSFT_FAIL} 119 ret=${KSFT_FAIL} 123 ret=${KSFT_FAIL} 224 ret=${KSFT_FAIL} 255 ret=${KSFT_FAIL} 291 ret=${KSFT_FAIL}
|