Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/tools/testing/selftests/arm64/mte/
H A 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 …]
H A 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 …]
H A 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 …]
H 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()
H A 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()
H A Dcheck_gcr_el1_cswitch.c74 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()
H A 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()
H A 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()
/OK3568_Linux_fs/kernel/tools/testing/selftests/cgroup/
H 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 …]
H A 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 …]
H A 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 …]
H A 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()
/OK3568_Linux_fs/kernel/tools/testing/selftests/net/
H A Dudpgso_bench.sh11 readonly KSFT_PASS=0
22 if [[ ${exitcode} -eq ${KSFT_PASS} ]]; then
45 exit ${KSFT_PASS}
H A 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 …]
/OK3568_Linux_fs/kernel/tools/testing/selftests/breakpoints/
H A Dstep_after_suspend_test.c127 return KSFT_PASS; in run_test()
209 case KSFT_PASS: in main()
/OK3568_Linux_fs/kernel/tools/testing/selftests/
H A Dkselftest.h52 #define KSFT_PASS 0 macro
213 exit(KSFT_PASS); in ksft_exit_pass()
/OK3568_Linux_fs/kernel/tools/testing/selftests/arm64/signal/
H A Dtest_signals_utils.c67 td->result = KSFT_PASS; in default_result()