/linux-5.19.10/tools/testing/selftests/vm/ |
D | mrelease_test.c | 39 return KSFT_FAIL; in alloc_noexit() 48 return KSFT_FAIL; in alloc_noexit() 59 return (timeout > 0) ? KSFT_PASS : KSFT_FAIL; in alloc_noexit() 69 res = (errno == ENOSYS ? KSFT_SKIP : KSFT_FAIL); in run_negative_tests() 78 res = (errno == ENOSYS ? KSFT_SKIP : KSFT_FAIL); in run_negative_tests() 106 res = (errno == ENOSYS ? KSFT_SKIP : KSFT_FAIL); in main() 120 exit(KSFT_FAIL); in main() 127 exit(KSFT_FAIL); in main() 148 exit(KSFT_FAIL); in main() 156 exit(KSFT_FAIL); in main() [all …]
|
D | ksm_tests.c | 262 return KSFT_FAIL; in check_ksm_merge() 268 return KSFT_FAIL; in check_ksm_merge() 283 return KSFT_FAIL; in check_ksm_merge() 294 return KSFT_FAIL; in check_ksm_unmerge() 300 return KSFT_FAIL; in check_ksm_unmerge() 323 return KSFT_FAIL; in check_ksm_unmerge() 334 return KSFT_FAIL; in check_ksm_zero_page_merge() 338 return KSFT_FAIL; in check_ksm_zero_page_merge() 343 return KSFT_FAIL; in check_ksm_zero_page_merge() 367 return KSFT_FAIL; in check_ksm_zero_page_merge() [all …]
|
D | memfd_secret.c | 91 exit(KSFT_FAIL); in try_process_vm_read() 104 exit(KSFT_FAIL); in try_process_vm_read() 116 exit(KSFT_FAIL); in try_ptrace() 122 exit(KSFT_FAIL); in try_ptrace() 129 exit(KSFT_FAIL); in try_ptrace() 135 exit(KSFT_FAIL); in try_ptrace()
|
/linux-5.19.10/tools/testing/selftests/arm64/mte/ |
D | check_mmap_options.c | 39 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() 72 return KSFT_FAIL; in check_anonymous_memory_mapping() 81 return KSFT_FAIL; in check_anonymous_memory_mapping() 86 if (result == KSFT_FAIL) in check_anonymous_memory_mapping() 87 return KSFT_FAIL; in check_anonymous_memory_mapping() 103 return KSFT_FAIL; in check_file_memory_mapping() [all …]
|
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 …]
|
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 …]
|
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()
|
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()
|
D | mte_common_util.h | 82 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()
|
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()
|
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-5.19.10/tools/testing/selftests/breakpoints/ |
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-5.19.10/tools/testing/selftests/net/ |
D | ipsec.c | 557 exit(KSFT_FAIL); in write_msg() 562 exit(KSFT_FAIL); in write_msg() 573 exit(KSFT_FAIL); in read_msg() 578 exit(KSFT_FAIL); in read_msg() 1315 return KSFT_FAIL; in xfrm_state_allocspi() 1320 return KSFT_FAIL; in xfrm_state_allocspi() 1327 return KSFT_FAIL; in xfrm_state_allocspi() 1332 return KSFT_FAIL; in xfrm_state_allocspi() 1336 return (answer.error) ? KSFT_FAIL : KSFT_PASS; in xfrm_state_allocspi() 1389 int xfrm_listen = -1, ret = KSFT_FAIL; in xfrm_monitor_acquire() [all …]
|
D | udpgso_bench.sh | 12 readonly KSFT_FAIL=1 36 exit ${KSFT_FAIL}
|
/linux-5.19.10/tools/testing/selftests/cgroup/ |
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()
|
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()
|
D | test_core.c | 80 int ret = KSFT_FAIL; in test_cgcore_destroy() 142 int ret = KSFT_FAIL; in test_cgcore_populated() 275 int ret = KSFT_FAIL; in test_cgcore_invalid_domain() 337 int ret = KSFT_FAIL; in test_cgcore_parent_becomes_threaded() 376 int ret = KSFT_FAIL; in test_cgcore_no_internal_process_constraint_on_threads() 428 int ret = KSFT_FAIL; in test_cgcore_top_down_constraint_enable() 463 int ret = KSFT_FAIL; in test_cgcore_top_down_constraint_disable() 504 int ret = KSFT_FAIL; in test_cgcore_internal_process_constraint() 550 int ret = KSFT_FAIL; in test_cgcore_proc_migration() 623 int ret = KSFT_FAIL; in test_cgcore_thread_migration() [all …]
|
D | test_memcontrol.c | 34 int ret = KSFT_FAIL; in test_memcg_subtree_control() 163 int ret = KSFT_FAIL; in test_memcg_current() 272 int ret = KSFT_FAIL, rc; in test_memcg_protection() 479 int ret = KSFT_FAIL; in test_memcg_high() 542 int ret = KSFT_FAIL, pid, fd = -1; in test_memcg_high_sync() 604 int ret = KSFT_FAIL; in test_memcg_max() 654 int ret = KSFT_FAIL, fd, retries; in test_memcg_reclaim() 786 int ret = KSFT_FAIL; in test_memcg_swap_max() 850 int ret = KSFT_FAIL; in test_memcg_oom_events() 970 ret = KSFT_FAIL; in tcp_client() [all …]
|
D | test_kmem.c | 54 int ret = KSFT_FAIL; in test_kmem_basic() 166 int ret = KSFT_FAIL; in test_kmem_memcg_deletion() 223 int ret = KSFT_FAIL; in test_kmem_proc_kpagecgroup() 282 int ret = KSFT_FAIL; in test_kmem_kernel_stacks() 310 int ret = KSFT_FAIL; in test_kmem_dead_cgroups() 357 int ret = KSFT_FAIL; in test_percpu_basic()
|
D | test_cpu.c | 41 int ret = KSFT_FAIL; in test_cpucg_subtree_control() 185 int ret = KSFT_FAIL; in test_cpucg_stats() 238 int ret = KSFT_FAIL, i; in run_cpucg_weight_test() 323 int ret = KSFT_FAIL, i; in overprovision_validate() 369 int ret = KSFT_FAIL, i; in underprovision_validate() 409 int ret = KSFT_FAIL, i; in run_cpucg_nested_weight_test() 573 int ret = KSFT_FAIL; in test_cpucg_max() 626 int ret = KSFT_FAIL; in test_cpucg_max_nested()
|
/linux-5.19.10/tools/testing/selftests/vDSO/ |
D | vdso_test_clock_getres.c | 78 return KSFT_FAIL; in vdso_test_clock() 121 return KSFT_FAIL; in main()
|
D | vdso_test_getcpu.c | 50 return KSFT_FAIL; in main()
|
D | vdso_test_gettimeofday.c | 62 return KSFT_FAIL; in main()
|
/linux-5.19.10/tools/testing/selftests/ |
D | kselftest.h | 73 #define KSFT_FAIL 1 macro 239 exit(KSFT_FAIL); in ksft_exit_fail() 275 exit(KSFT_FAIL); in ksft_exit_fail_msg()
|
/linux-5.19.10/tools/testing/selftests/arm64/signal/ |
D | test_signals_utils.c | 74 td->result = KSFT_FAIL; in default_result() 326 td->result = KSFT_FAIL; in test_setup()
|