Home
last modified time | relevance | path

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

12

/Linux-v5.15/tools/testing/selftests/arm64/mte/
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()
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 …]
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()
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 …]
Dcheck_tags_inclusion.c29 return KSFT_FAIL; in verify_mte_pointer_validity()
38 return KSFT_FAIL; in verify_mte_pointer_validity()
51 return KSFT_FAIL; in check_single_included_tags()
63 result = KSFT_FAIL; in check_single_included_tags()
82 return KSFT_FAIL; in check_multiple_included_tags()
95 result = KSFT_FAIL; in check_multiple_included_tags()
113 return KSFT_FAIL; in check_all_included_tags()
136 return KSFT_FAIL; in check_none_included_tags()
146 return KSFT_FAIL; in check_none_included_tags()
157 return KSFT_FAIL; in check_none_included_tags()
[all …]
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()
Dcheck_gcr_el1_cswitch.c77 return (void *)KSFT_FAIL; in execute_thread()
93 if (thread_data[i] == KSFT_FAIL) in execute_test()
94 return KSFT_FAIL; in execute_test()
110 return KSFT_FAIL; in mte_gcr_fork_test()
131 if (results[i] == KSFT_FAIL) in mte_gcr_fork_test()
132 return KSFT_FAIL; in mte_gcr_fork_test()
153 return ksft_get_fail_cnt() == 0 ? KSFT_PASS : KSFT_FAIL; in main()
Dcheck_user_mem.c29 err = KSFT_FAIL; in check_usermem_access_fault()
34 return KSFT_FAIL; in check_usermem_access_fault()
37 return KSFT_FAIL; in check_usermem_access_fault()
42 return KSFT_FAIL; in check_usermem_access_fault()
91 return KSFT_FAIL; in main()
115 return ksft_get_fail_cnt() == 0 ? KSFT_PASS : KSFT_FAIL; in main()
Dmte_common_util.h80 else if (err == KSFT_FAIL) in evaluate_test()
89 return KSFT_FAIL; in check_allocated_memory()
95 return KSFT_FAIL; in check_allocated_memory()
106 return KSFT_FAIL; in check_allocated_memory_range()
113 return KSFT_FAIL; in check_allocated_memory_range()
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-v5.15/tools/testing/selftests/breakpoints/
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-v5.15/tools/testing/selftests/vm/
Dksm_tests.c249 return KSFT_FAIL; in check_ksm_merge()
255 return KSFT_FAIL; in check_ksm_merge()
270 return KSFT_FAIL; in check_ksm_merge()
281 return KSFT_FAIL; in check_ksm_unmerge()
287 return KSFT_FAIL; in check_ksm_unmerge()
310 return KSFT_FAIL; in check_ksm_unmerge()
321 return KSFT_FAIL; in check_ksm_zero_page_merge()
325 return KSFT_FAIL; in check_ksm_zero_page_merge()
330 return KSFT_FAIL; in check_ksm_zero_page_merge()
354 return KSFT_FAIL; in check_ksm_zero_page_merge()
[all …]
Dmemfd_secret.c91 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-v5.15/tools/testing/selftests/vDSO/
Dvdso_test_abi.c55 return KSFT_FAIL; in vdso_test_gettimeofday()
80 return KSFT_FAIL; in vdso_test_clock_gettime()
104 return KSFT_FAIL; in vdso_test_time()
129 return KSFT_FAIL; in vdso_test_clock_getres()
136 return KSFT_FAIL; in vdso_test_clock_getres()
241 return KSFT_FAIL; in main()
Dvdso_test_clock_getres.c78 return KSFT_FAIL; in vdso_test_clock()
121 return KSFT_FAIL; in main()
Dvdso_test_getcpu.c50 return KSFT_FAIL; in main()
Dvdso_test_gettimeofday.c62 return KSFT_FAIL; in main()
/Linux-v5.15/tools/testing/selftests/net/
Dipsec.c558 exit(KSFT_FAIL); in write_msg()
563 exit(KSFT_FAIL); in write_msg()
574 exit(KSFT_FAIL); in read_msg()
579 exit(KSFT_FAIL); in read_msg()
1316 return KSFT_FAIL; in xfrm_state_allocspi()
1321 return KSFT_FAIL; in xfrm_state_allocspi()
1328 return KSFT_FAIL; in xfrm_state_allocspi()
1333 return KSFT_FAIL; in xfrm_state_allocspi()
1337 return (answer.error) ? KSFT_FAIL : KSFT_PASS; in xfrm_state_allocspi()
1390 int xfrm_listen = -1, ret = KSFT_FAIL; in xfrm_monitor_acquire()
[all …]
Dudpgso_bench.sh12 readonly KSFT_FAIL=1
36 exit ${KSFT_FAIL}
/Linux-v5.15/tools/testing/selftests/cgroup/
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()
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()
Dtest_core.c77 int ret = KSFT_FAIL; in test_cgcore_destroy()
139 int ret = KSFT_FAIL; in test_cgcore_populated()
272 int ret = KSFT_FAIL; in test_cgcore_invalid_domain()
334 int ret = KSFT_FAIL; in test_cgcore_parent_becomes_threaded()
373 int ret = KSFT_FAIL; in test_cgcore_no_internal_process_constraint_on_threads()
425 int ret = KSFT_FAIL; in test_cgcore_top_down_constraint_enable()
460 int ret = KSFT_FAIL; in test_cgcore_top_down_constraint_disable()
501 int ret = KSFT_FAIL; in test_cgcore_internal_process_constraint()
547 int ret = KSFT_FAIL; in test_cgcore_proc_migration()
620 int ret = KSFT_FAIL; in test_cgcore_thread_migration()
Dtest_memcontrol.c30 int ret = KSFT_FAIL; in test_memcg_subtree_control()
159 int ret = KSFT_FAIL; in test_memcg_current()
266 int ret = KSFT_FAIL; in test_memcg_min()
422 int ret = KSFT_FAIL; in test_memcg_low()
589 int ret = KSFT_FAIL; in test_memcg_high()
638 int ret = KSFT_FAIL; in test_memcg_max()
715 int ret = KSFT_FAIL; in test_memcg_swap_max()
779 int ret = KSFT_FAIL; in test_memcg_oom_events()
899 ret = KSFT_FAIL; in tcp_client()
939 int bind_retries = 5, ret = KSFT_FAIL, pid, err; in test_memcg_sock()
[all …]
Dtest_kmem.c54 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()
/Linux-v5.15/tools/testing/selftests/
Dkselftest.h53 #define KSFT_FAIL 1 macro
219 exit(KSFT_FAIL); in ksft_exit_fail()
246 exit(KSFT_FAIL); in ksft_exit_fail_msg()
/Linux-v5.15/tools/testing/selftests/arm64/signal/
Dtest_signals_utils.c70 td->result = KSFT_FAIL; in default_result()
304 td->result = KSFT_FAIL; in test_setup()
/Linux-v5.15/tools/testing/selftests/uevent/
Duevent_filtering.c365 _exit(KSFT_FAIL); in TEST()

12