Home
last modified time | relevance | path

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

/Linux-v5.10/tools/testing/selftests/arm64/mte/
Dcheck_tags_inclusion.c32 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()
53 for (tag = 0; (tag < MT_TAG_COUNT) && (result == KSFT_PASS); tag++) { 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()
84 for (tag = 0; (tag < MT_TAG_COUNT - 1) && (result == KSFT_PASS); tag++) { in check_multiple_included_tags()
88 for (run = 0; (run < RUNS) && (result == KSFT_PASS); run++) { in check_multiple_included_tags()
[all …]
Dcheck_buffer_fill.c39 if (check_allocated_memory(ptr, sizes[i], mem_type, true) != KSFT_PASS) in check_buffer_by_byte()
58 return KSFT_PASS; in check_buffer_by_byte()
77 underflow_range, 0) != KSFT_PASS) in check_buffer_underflow_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()
271 if (check_allocated_memory(src, size, mem_type, false) != KSFT_PASS) in check_buffer_by_block_iterate()
275 if (check_allocated_memory(dst, size, mem_type, true) != KSFT_PASS) { in check_buffer_by_block_iterate()
283 if (check_allocated_memory(dst, size, mem_type, false) != KSFT_PASS) in check_buffer_by_block_iterate()
[all …]
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()
Dcheck_mmap_options.c57 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 …]
Dcheck_user_mem.c39 if (check_allocated_memory(ptr, len, mem_type, true) != KSFT_PASS) { in check_usermem_access_fault()
72 err = KSFT_PASS; in check_usermem_access_fault()
75 err = KSFT_PASS; in check_usermem_access_fault()
114 return ksft_get_fail_cnt() == 0 ? KSFT_PASS : KSFT_FAIL; in main()
Dmte_common_util.h78 if (err == KSFT_PASS) in evaluate_test()
98 return KSFT_PASS; in check_allocated_memory()
115 return KSFT_PASS; in check_allocated_memory_range()
Dcheck_ksm_options.c108 if (check_allocated_memory(ptr, TEST_UNIT * page_sz, mem_type, false) != KSFT_PASS) in check_madvise_options()
122 err = KSFT_PASS; in check_madvise_options()
162 return ksft_get_fail_cnt() == 0 ? KSFT_PASS : KSFT_FAIL; in main()
/Linux-v5.10/tools/testing/selftests/cgroup/
Dtest_freezer.c221 ret = KSFT_PASS; in test_cgfreezer_simple()
383 ret = KSFT_PASS; in test_cgfreezer_tree()
442 ret = KSFT_PASS; in test_cgfreezer_forkbomb()
492 ret = KSFT_PASS; in test_cgfreezer_mkdir()
544 ret = KSFT_PASS; in test_cgfreezer_rmdir()
625 ret = KSFT_PASS; in test_cgfreezer_migrate()
688 ret = KSFT_PASS; in test_cgfreezer_ptrace()
754 ret = KSFT_PASS; in test_cgfreezer_stopped()
811 ret = KSFT_PASS; in test_cgfreezer_ptraced()
855 ret = KSFT_PASS; in test_cgfreezer_vfork()
[all …]
Dtest_core.c119 ret = KSFT_PASS; in test_cgcore_destroy()
242 ret = KSFT_PASS; in test_cgcore_populated()
312 ret = KSFT_PASS; in test_cgcore_invalid_domain()
354 ret = KSFT_PASS; in test_cgcore_parent_becomes_threaded()
405 ret = KSFT_PASS; in test_cgcore_no_internal_process_constraint_on_threads()
442 ret = KSFT_PASS; in test_cgcore_top_down_constraint_enable()
483 ret = KSFT_PASS; in test_cgcore_top_down_constraint_disable()
524 ret = KSFT_PASS; in test_cgcore_internal_process_constraint()
574 ret = KSFT_PASS; in test_cgcore_proc_migration()
661 ret = KSFT_PASS; in test_cgcore_thread_migration()
[all …]
Dtest_kmem.c82 ret = KSFT_PASS; in test_kmem_basic()
193 ret = KSFT_PASS; in test_kmem_memcg_deletion()
230 ret = KSFT_PASS; in test_kmem_proc_kpagecgroup()
289 ret = KSFT_PASS; in test_kmem_kernel_stacks()
326 ret = KSFT_PASS; in test_kmem_dead_cgroups()
382 ret = KSFT_PASS; in test_percpu_basic()
436 case KSFT_PASS: in main()
Dtest_memcontrol.c69 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()
917 ret = KSFT_PASS; in tcp_client()
980 if (tcp_client(memcg, port) != KSFT_PASS) in test_memcg_sock()
[all …]
/Linux-v5.10/tools/testing/selftests/net/
Dudpgso_bench.sh11 readonly KSFT_PASS=0
22 if [[ ${exitcode} -eq ${KSFT_PASS} ]]; then
45 exit ${KSFT_PASS}
Dipsec.c1327 return KSFT_PASS; in xfrm_state_allocspi()
1334 return (answer.error) ? KSFT_FAIL : KSFT_PASS; in xfrm_state_allocspi()
1440 ret = KSFT_PASS; in xfrm_monitor_acquire()
1512 ret = KSFT_PASS; in xfrm_expire_state()
1590 ret = KSFT_PASS; in xfrm_expire_policy()
1640 ret = KSFT_PASS; in child_serv()
1731 exit(KSFT_PASS); in child_f()
1748 exit(KSFT_PASS); in grand_child_serv()
2049 exit(KSFT_PASS); in write_test_plan()
2054 unsigned ret = KSFT_PASS; in children_cleanup()
[all …]
/Linux-v5.10/tools/testing/selftests/breakpoints/
Dstep_after_suspend_test.c127 return KSFT_PASS; in run_test()
209 case KSFT_PASS: in main()
/Linux-v5.10/tools/testing/selftests/
Dkselftest.h52 #define KSFT_PASS 0 macro
213 exit(KSFT_PASS); in ksft_exit_pass()
/Linux-v5.10/tools/testing/selftests/arm64/signal/
Dtest_signals_utils.c66 td->result = KSFT_PASS; in default_result()