Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/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_user_mem.c29 err = KSFT_FAIL; in check_usermem_access_fault()
34 return KSFT_FAIL; in check_usermem_access_fault()
41 return KSFT_FAIL; in check_usermem_access_fault()
90 return KSFT_FAIL; in main()
114 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.c100 err = KSFT_FAIL; in check_madvise_options()
109 return KSFT_FAIL; in check_madvise_options()
138 return KSFT_FAIL; in main()
162 return ksft_get_fail_cnt() == 0 ? KSFT_PASS : KSFT_FAIL; in main()
Dmte_common_util.c295 return KSFT_FAIL; in mte_default_setup()
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/tools/testing/selftests/net/
Dipsec.c555 exit(KSFT_FAIL); in write_msg()
560 exit(KSFT_FAIL); in write_msg()
571 exit(KSFT_FAIL); in read_msg()
576 exit(KSFT_FAIL); in read_msg()
1313 return KSFT_FAIL; in xfrm_state_allocspi()
1318 return KSFT_FAIL; in xfrm_state_allocspi()
1325 return KSFT_FAIL; in xfrm_state_allocspi()
1330 return KSFT_FAIL; in xfrm_state_allocspi()
1334 return (answer.error) ? KSFT_FAIL : KSFT_PASS; in xfrm_state_allocspi()
1387 int xfrm_listen = -1, ret = KSFT_FAIL; in xfrm_monitor_acquire()
[all …]
Dudpgso_bench.sh12 readonly KSFT_FAIL=1
36 exit ${KSFT_FAIL}
/kernel/linux/linux-5.10/tools/testing/selftests/cgroup/
Dtest_core.c80 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 …]
Dtest_freezer.c195 int ret = KSFT_FAIL; in test_cgfreezer_simple()
248 int ret = KSFT_FAIL; in test_cgfreezer_tree()
419 int ret = KSFT_FAIL; in test_cgfreezer_forkbomb()
458 int ret = KSFT_FAIL; in test_cgfreezer_mkdir()
512 int ret = KSFT_FAIL; in test_cgfreezer_rmdir()
567 int ret = KSFT_FAIL; in test_cgfreezer_migrate()
642 int ret = KSFT_FAIL; in test_cgfreezer_ptrace()
724 int pid, ret = KSFT_FAIL; in test_cgfreezer_stopped()
768 int pid, ret = KSFT_FAIL; in test_cgfreezer_ptraced()
837 int ret = KSFT_FAIL; in test_cgfreezer_vfork()
Dtest_kmem.c54 int ret = KSFT_FAIL; in test_kmem_basic()
166 int ret = KSFT_FAIL; in test_kmem_memcg_deletion()
217 int ret = KSFT_FAIL; in test_kmem_proc_kpagecgroup()
276 int ret = KSFT_FAIL; in test_kmem_kernel_stacks()
304 int ret = KSFT_FAIL; in test_kmem_dead_cgroups()
351 int ret = KSFT_FAIL; in test_percpu_basic()
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 …]
/kernel/linux/linux-5.10/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()
Dkselftest_harness.h1057 return KSFT_FAIL; in test_harness_run()
/kernel/linux/linux-5.10/tools/testing/selftests/vDSO/
Dvdso_test_getcpu.c50 return KSFT_FAIL; in main()
Dvdso_test_gettimeofday.c62 return KSFT_FAIL; in main()
/kernel/linux/linux-5.10/tools/testing/selftests/arm64/signal/
Dtest_signals_utils.c70 td->result = KSFT_FAIL; in default_result()
304 td->result = KSFT_FAIL; in test_setup()
/kernel/linux/linux-5.10/tools/testing/selftests/uevent/
Duevent_filtering.c365 _exit(KSFT_FAIL); in TEST()