Home
last modified time | relevance | path

Searched refs:KSFT_PASS (Results 1 – 25 of 26) sorted by relevance

12

/linux-6.3-rc2/tools/testing/selftests/arm64/mte/
A Dcheck_tags_inclusion.c35 return KSFT_PASS; in verify_mte_pointer_validity()
45 return KSFT_PASS; in verify_mte_pointer_validity()
52 int tag, run, ret, result = KSFT_PASS; in check_single_included_tags()
56 mem_type, false) != KSFT_PASS) in check_single_included_tags()
64 for (run = 0; (run < RUNS) && (result == KSFT_PASS); run++) { in check_single_included_tags()
84 int tag, run, result = KSFT_PASS; in check_multiple_included_tags()
89 mem_type, false) != KSFT_PASS) in check_multiple_included_tags()
116 int run, ret, result = KSFT_PASS; in check_all_included_tags()
120 mem_type, false) != KSFT_PASS) in check_all_included_tags()
171 return KSFT_PASS; in check_none_included_tags()
[all …]
A Dcheck_buffer_fill.c58 return KSFT_PASS; in check_buffer_by_byte()
155 return (err ? KSFT_FAIL : KSFT_PASS); in check_buffer_underflow_by_byte()
173 0, overflow_range) != KSFT_PASS) in check_buffer_overflow_by_byte()
258 return (err ? KSFT_FAIL : KSFT_PASS); in check_buffer_overflow_by_byte()
264 int j, result = KSFT_PASS; in check_buffer_by_block_iterate()
308 result = KSFT_PASS; in check_buffer_by_block_iterate()
330 if (result != KSFT_PASS) in check_buffer_by_block_iterate()
338 int i, item, result = KSFT_PASS; in check_buffer_by_block()
345 if (result != KSFT_PASS) in check_buffer_by_block()
362 return KSFT_PASS; in compare_memory_tags()
[all …]
A Dcheck_mmap_options.c57 return KSFT_PASS; in check_mte_memory()
70 if (check_allocated_memory(map_ptr, map_size, mem_type, false) != KSFT_PASS) in check_anonymous_memory_mapping()
88 return KSFT_PASS; in check_anonymous_memory_mapping()
96 int result = KSFT_PASS; in check_file_memory_mapping()
106 if (check_allocated_memory(map_ptr, map_size, mem_type, false) != KSFT_PASS) { in check_file_memory_mapping()
143 UNDERFLOW, OVERFLOW) != KSFT_PASS) in check_clear_prot_mte_flag()
155 if (result != KSFT_PASS) in check_clear_prot_mte_flag()
164 UNDERFLOW, OVERFLOW) != KSFT_PASS) { in check_clear_prot_mte_flag()
180 if (result != KSFT_PASS) in check_clear_prot_mte_flag()
183 return KSFT_PASS; in check_clear_prot_mte_flag()
[all …]
A Dcheck_child_memory.c81 return (fault) ? KSFT_FAIL : KSFT_PASS; in check_child_tag_inheritance()
96 UNDERFLOW, OVERFLOW) != KSFT_PASS) in check_child_memory_mapping()
103 return KSFT_PASS; in check_child_memory_mapping()
109 int run, fd, map_size, result = KSFT_PASS; in check_child_file_mapping()
120 if (check_allocated_memory(map_ptr, map_size, mem_type, false) != KSFT_PASS) { in check_child_file_mapping()
138 if (result != KSFT_PASS) in check_child_file_mapping()
141 return KSFT_PASS; in check_child_file_mapping()
197 return ksft_get_fail_cnt() == 0 ? KSFT_PASS : KSFT_FAIL; in main()
A Dcheck_gcr_el1_cswitch.c63 return (void *)KSFT_PASS; in execute_thread()
85 return KSFT_PASS; in execute_test()
123 return KSFT_PASS; in mte_gcr_fork_test()
142 return ksft_get_fail_cnt() == 0 ? KSFT_PASS : KSFT_FAIL; in main()
A Dmte_common_util.h79 case KSFT_PASS: in evaluate_test()
109 return KSFT_PASS; in check_allocated_memory()
126 return KSFT_PASS; in check_allocated_memory_range()
A Dcheck_ksm_options.c111 if (check_allocated_memory(ptr, TEST_UNIT * page_sz, mem_type, false) != KSFT_PASS) in check_madvise_options()
125 err = KSFT_PASS; in check_madvise_options()
165 return ksft_get_fail_cnt() == 0 ? KSFT_PASS : KSFT_FAIL; in main()
A Dcheck_user_mem.c45 err = KSFT_PASS; in check_usermem_access_fault()
56 if (check_allocated_memory(ptr, len, mem_type, true) != KSFT_PASS) { in check_usermem_access_fault()
242 return ksft_get_fail_cnt() == 0 ? KSFT_PASS : KSFT_FAIL; in main()
/linux-6.3-rc2/tools/testing/selftests/cgroup/
A Dtest_kill.c82 ret = KSFT_PASS; in test_cgkill_simple()
88 if (ret == KSFT_PASS && in test_cgkill_simple()
186 ret = KSFT_PASS; in test_cgkill_tree()
192 if (ret == KSFT_PASS && in test_cgkill_tree()
247 ret = KSFT_PASS; in test_cgkill_forkbomb()
253 if (ret == KSFT_PASS && in test_cgkill_forkbomb()
283 case KSFT_PASS: in main()
A Dtest_freezer.c164 ret = KSFT_PASS; in test_cgfreezer_simple()
326 ret = KSFT_PASS; in test_cgfreezer_tree()
385 ret = KSFT_PASS; in test_cgfreezer_forkbomb()
435 ret = KSFT_PASS; in test_cgfreezer_mkdir()
487 ret = KSFT_PASS; in test_cgfreezer_rmdir()
568 ret = KSFT_PASS; in test_cgfreezer_migrate()
631 ret = KSFT_PASS; in test_cgfreezer_ptrace()
697 ret = KSFT_PASS; in test_cgfreezer_stopped()
754 ret = KSFT_PASS; in test_cgfreezer_ptraced()
798 ret = KSFT_PASS; in test_cgfreezer_vfork()
[all …]
A Dtest_memcontrol.c73 ret = KSFT_PASS; in test_memcg_subtree_control()
184 ret = KSFT_PASS; in test_memcg_current()
400 ret = KSFT_PASS; in test_memcg_protection()
420 ret = KSFT_PASS; in test_memcg_protection()
523 ret = KSFT_PASS; in test_memcg_high()
597 ret = KSFT_PASS; in test_memcg_high_sync()
650 ret = KSFT_PASS; in test_memcg_max()
763 ret = KSFT_PASS; in test_memcg_reclaim()
853 ret = KSFT_PASS; in test_memcg_swap_max()
897 ret = KSFT_PASS; in test_memcg_oom_events()
[all …]
A Dtest_core.c122 ret = KSFT_PASS; in test_cgcore_destroy()
245 ret = KSFT_PASS; in test_cgcore_populated()
315 ret = KSFT_PASS; in test_cgcore_invalid_domain()
357 ret = KSFT_PASS; in test_cgcore_parent_becomes_threaded()
408 ret = KSFT_PASS; in test_cgcore_no_internal_process_constraint_on_threads()
445 ret = KSFT_PASS; in test_cgcore_top_down_constraint_enable()
486 ret = KSFT_PASS; in test_cgcore_top_down_constraint_disable()
527 ret = KSFT_PASS; in test_cgcore_internal_process_constraint()
577 ret = KSFT_PASS; in test_cgcore_proc_migration()
664 ret = KSFT_PASS; in test_cgcore_thread_migration()
[all …]
A Dtest_kmem.c82 ret = KSFT_PASS; in test_kmem_basic()
196 ret = KSFT_PASS; in test_kmem_memcg_deletion()
236 ret = KSFT_PASS; in test_kmem_proc_kpagecgroup()
295 ret = KSFT_PASS; in test_kmem_kernel_stacks()
332 ret = KSFT_PASS; in test_kmem_dead_cgroups()
388 ret = KSFT_PASS; in test_percpu_basic()
442 case KSFT_PASS: in main()
A Dtest_cpu.c82 ret = KSFT_PASS; in test_cpucg_subtree_control()
223 ret = KSFT_PASS; in test_cpucg_stats()
289 ret = KSFT_PASS; in run_cpucg_weight_test()
336 ret = KSFT_PASS; in overprovision_validate()
376 ret = KSFT_PASS; in underprovision_validate()
513 ret = KSFT_PASS; in run_cpucg_nested_weight_test()
611 ret = KSFT_PASS; in test_cpucg_max()
671 ret = KSFT_PASS; in test_cpucg_max_nested()
712 case KSFT_PASS: in main()
/linux-6.3-rc2/tools/testing/selftests/net/
A Dudpgso_bench.sh12 readonly KSFT_PASS=0
23 if [[ ${exitcode} -eq ${KSFT_PASS} ]]; then
46 exit ${KSFT_PASS}
A Dipsec.c1315 return KSFT_PASS; in xfrm_state_allocspi()
1428 ret = KSFT_PASS; in xfrm_monitor_acquire()
1500 ret = KSFT_PASS; in xfrm_expire_state()
1578 ret = KSFT_PASS; in xfrm_expire_policy()
1728 return KSFT_PASS; in xfrm_spdinfo_attrs()
1730 return KSFT_PASS; in xfrm_spdinfo_attrs()
1777 ret = KSFT_PASS; in child_serv()
1871 exit(KSFT_PASS); in child_f()
1888 exit(KSFT_PASS); in grand_child_serv()
2195 exit(KSFT_PASS); in write_test_plan()
[all …]
/linux-6.3-rc2/tools/testing/selftests/vDSO/
A Dvdso_test_clock_getres.c82 return KSFT_PASS; in vdso_test_clock()
123 return KSFT_PASS; in main()
A Dvdso_test_abi.c232 return ksft_get_fail_cnt() == 0 ? KSFT_PASS : KSFT_FAIL; in main()
/linux-6.3-rc2/tools/testing/selftests/mm/
A Dksm_tests.c291 return KSFT_PASS; in check_ksm_merge()
331 return KSFT_PASS; in check_ksm_unmerge()
376 return KSFT_PASS; in check_ksm_zero_page_merge()
460 return KSFT_PASS; in check_ksm_numa_merge()
528 return KSFT_PASS; in ksm_merge_hugepages_time()
569 return KSFT_PASS; in ksm_merge_time()
616 return KSFT_PASS; in ksm_unmerge_time()
687 return KSFT_PASS; in ksm_cow_time()
A Dmemfd_secret.c101 exit(KSFT_PASS); in try_process_vm_read()
133 exit(KSFT_PASS); in try_ptrace()
149 if ((WIFEXITED(status) && WEXITSTATUS(status) == KSFT_PASS) || in check_child_status()
A Dmrelease_test.c59 return (timeout > 0) ? KSFT_PASS : KSFT_FAIL; in alloc_noexit()
205 return KSFT_PASS; in main()
A Dva_128TBswitch.c234 int i, ret = KSFT_PASS; in run_test()
/linux-6.3-rc2/tools/testing/selftests/breakpoints/
A Dstep_after_suspend_test.c127 return KSFT_PASS; in run_test()
209 case KSFT_PASS: in main()
/linux-6.3-rc2/tools/testing/selftests/
A Dkselftest.h72 #define KSFT_PASS 0 macro
233 exit(KSFT_PASS); in ksft_exit_pass()
/linux-6.3-rc2/tools/testing/selftests/arm64/signal/
A Dtest_signals_utils.c72 td->result = KSFT_PASS; in default_result()

Completed in 31 milliseconds

12