/linux/tools/testing/selftests/arm64/mte/ |
A D | check_tags_inclusion.c | 32 return KSFT_PASS; in verify_mte_pointer_validity() 40 return KSFT_PASS; in verify_mte_pointer_validity() 46 int tag, run, result = KSFT_PASS; in check_single_included_tags() 50 mem_type, false) != KSFT_PASS) in check_single_included_tags() 56 for (run = 0; (run < RUNS) && (result == KSFT_PASS); run++) { in check_single_included_tags() 76 int tag, run, result = KSFT_PASS; in check_multiple_included_tags() 81 mem_type, false) != KSFT_PASS) in check_multiple_included_tags() 108 int run, result = KSFT_PASS; in check_all_included_tags() 112 mem_type, false) != KSFT_PASS) in check_all_included_tags() 159 return KSFT_PASS; in check_none_included_tags() [all …]
|
A D | check_buffer_fill.c | 58 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 D | check_mmap_options.c | 57 return KSFT_PASS; in check_mte_memory() 71 if (check_allocated_memory(map_ptr, map_size, mem_type, false) != KSFT_PASS) in check_anonymous_memory_mapping() 89 return KSFT_PASS; in check_anonymous_memory_mapping() 97 int result = KSFT_PASS; in check_file_memory_mapping() 107 if (check_allocated_memory(map_ptr, map_size, mem_type, false) != KSFT_PASS) { in check_file_memory_mapping() 144 UNDERFLOW, OVERFLOW) != KSFT_PASS) in check_clear_prot_mte_flag() 156 if (result != KSFT_PASS) in check_clear_prot_mte_flag() 165 UNDERFLOW, OVERFLOW) != KSFT_PASS) { in check_clear_prot_mte_flag() 181 if (result != KSFT_PASS) in check_clear_prot_mte_flag() 184 return KSFT_PASS; in check_clear_prot_mte_flag() [all …]
|
A D | check_child_memory.c | 81 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 D | check_user_mem.c | 40 if (check_allocated_memory(ptr, len, mem_type, true) != KSFT_PASS) { in check_usermem_access_fault() 73 err = KSFT_PASS; in check_usermem_access_fault() 76 err = KSFT_PASS; in check_usermem_access_fault() 115 return ksft_get_fail_cnt() == 0 ? KSFT_PASS : KSFT_FAIL; in main()
|
A D | check_gcr_el1_cswitch.c | 74 return (void *)KSFT_PASS; in execute_thread() 96 return KSFT_PASS; in execute_test() 134 return KSFT_PASS; in mte_gcr_fork_test() 153 return ksft_get_fail_cnt() == 0 ? KSFT_PASS : KSFT_FAIL; in main()
|
A D | mte_common_util.h | 78 if (err == KSFT_PASS) in evaluate_test() 98 return KSFT_PASS; in check_allocated_memory() 115 return KSFT_PASS; in check_allocated_memory_range()
|
A D | check_ksm_options.c | 111 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()
|
/linux/tools/testing/selftests/vDSO/ |
A D | vdso_test_abi.c | 58 return KSFT_PASS; in vdso_test_gettimeofday() 83 return KSFT_PASS; in vdso_test_clock_gettime() 107 return KSFT_PASS; in vdso_test_time() 139 return KSFT_PASS; in vdso_test_clock_getres() 168 ret0 = KSFT_PASS; in vdso_test_clock() 173 ret1 = KSFT_PASS; in vdso_test_clock() 243 return KSFT_PASS; in main()
|
A D | vdso_test_clock_getres.c | 82 return KSFT_PASS; in vdso_test_clock() 123 return KSFT_PASS; in main()
|
/linux/tools/testing/selftests/cgroup/ |
A D | test_kill.c | 82 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 D | test_freezer.c | 164 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 D | test_core.c | 122 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 D | test_memcontrol.c | 69 ret = KSFT_PASS; in test_memcg_subtree_control() 180 ret = KSFT_PASS; in test_memcg_current() 375 ret = KSFT_PASS; in test_memcg_min() 534 ret = KSFT_PASS; in test_memcg_low() 622 ret = KSFT_PASS; in test_memcg_high() 673 ret = KSFT_PASS; in test_memcg_max() 763 ret = KSFT_PASS; in test_memcg_swap_max() 807 ret = KSFT_PASS; in test_memcg_oom_events() 993 ret = KSFT_PASS; in test_memcg_sock() 1051 ret = KSFT_PASS; in test_memcg_oom_group_leaf_events() [all …]
|
A D | test_kmem.c | 82 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()
|
/linux/tools/testing/selftests/net/ |
A D | udpgso_bench.sh | 11 readonly KSFT_PASS=0 22 if [[ ${exitcode} -eq ${KSFT_PASS} ]]; then 45 exit ${KSFT_PASS}
|
A D | ipsec.c | 1330 return KSFT_PASS; in xfrm_state_allocspi() 1443 ret = KSFT_PASS; in xfrm_monitor_acquire() 1515 ret = KSFT_PASS; in xfrm_expire_state() 1593 ret = KSFT_PASS; in xfrm_expire_policy() 1743 return KSFT_PASS; in xfrm_spdinfo_attrs() 1745 return KSFT_PASS; in xfrm_spdinfo_attrs() 1792 ret = KSFT_PASS; in child_serv() 1886 exit(KSFT_PASS); in child_f() 1903 exit(KSFT_PASS); in grand_child_serv() 2210 exit(KSFT_PASS); in write_test_plan() [all …]
|
/linux/tools/testing/selftests/vm/ |
A D | ksm_tests.c | 281 return KSFT_PASS; in check_ksm_merge() 321 return KSFT_PASS; in check_ksm_unmerge() 366 return KSFT_PASS; in check_ksm_zero_page_merge() 450 return KSFT_PASS; in check_ksm_numa_merge() 546 return KSFT_PASS; in ksm_merge_hugepages_time() 587 return KSFT_PASS; in ksm_merge_time() 658 return KSFT_PASS; in ksm_cow_time()
|
A D | memfd_secret.c | 101 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()
|
/linux/tools/testing/selftests/breakpoints/ |
A D | step_after_suspend_test.c | 127 return KSFT_PASS; in run_test() 209 case KSFT_PASS: in main()
|
/linux/tools/testing/selftests/ |
A D | kselftest.h | 52 #define KSFT_PASS 0 macro 213 exit(KSFT_PASS); in ksft_exit_pass()
|
/linux/tools/testing/selftests/arm64/signal/ |
A D | test_signals_utils.c | 67 td->result = KSFT_PASS; in default_result()
|