Home
last modified time | relevance | path

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

12

/linux/tools/testing/selftests/arm64/mte/
H 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 …]
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_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()
H 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()
H 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/tools/testing/selftests/cgroup/
H 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()
H 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 …]
H A Dtest_core.c124 ret = KSFT_PASS; in test_cgcore_destroy()
247 ret = KSFT_PASS; in test_cgcore_populated()
317 ret = KSFT_PASS; in test_cgcore_invalid_domain()
359 ret = KSFT_PASS; in test_cgcore_parent_becomes_threaded()
410 ret = KSFT_PASS; in test_cgcore_no_internal_process_constraint_on_threads()
447 ret = KSFT_PASS; in test_cgcore_top_down_constraint_enable()
488 ret = KSFT_PASS; in test_cgcore_top_down_constraint_disable()
529 ret = KSFT_PASS; in test_cgcore_internal_process_constraint()
579 ret = KSFT_PASS; in test_cgcore_proc_migration()
666 ret = KSFT_PASS; in test_cgcore_thread_migration()
[all...]
H A Dtest_kmem.c86 ret = KSFT_PASS; in test_kmem_basic()
196 ret = KSFT_PASS; in test_kmem_memcg_deletion()
233 ret = KSFT_PASS; in test_kmem_proc_kpagecgroup()
292 ret = KSFT_PASS; in test_kmem_kernel_stacks()
329 ret = KSFT_PASS; in test_kmem_dead_cgroups()
385 ret = KSFT_PASS; in test_percpu_basic()
439 case KSFT_PASS: in main()
H A Dtest_memcontrol.c73 ret = KSFT_PASS; in test_memcg_subtree_control()
294 ret = KSFT_PASS; in test_memcg_current_peak()
524 ret = KSFT_PASS; in test_memcg_protection()
544 ret = KSFT_PASS; in test_memcg_protection()
647 ret = KSFT_PASS; in test_memcg_high()
721 ret = KSFT_PASS; in test_memcg_high_sync()
774 ret = KSFT_PASS; in test_memcg_max()
889 ret = KSFT_PASS; in test_memcg_reclaim()
1116 ret = KSFT_PASS; in test_memcg_swap_max_peak()
1164 ret = KSFT_PASS; in test_memcg_oom_events()
[all …]
H A Dtest_zswap.c148 ret = KSFT_PASS; in test_zswap_usage()
203 ret = KSFT_PASS; in test_swapin_nozswap()
243 ret = KSFT_PASS; in test_zswapin()
388 ret = KSFT_PASS; in test_zswap_writeback()
445 ret = KSFT_PASS; in test_no_invasive_cgroup_shrink()
563 ret = result_ok ? KSFT_PASS : KSFT_FAIL; in test_no_kmem_bypass()
621 case KSFT_PASS: in main()
H A Dtest_pids.c61 ret = KSFT_PASS; in test_pids_max()
117 ret = KSFT_PASS; in test_pids_events()
165 case KSFT_PASS: in main()
H A Dtest_cpuset.c129 ret = KSFT_PASS; in test_cpuset_perms_object()
215 ret = KSFT_PASS; in test_cpuset_perms_subtree()
261 case KSFT_PASS: in main()
H A Dtest_hugetlb_memcg.c192 ret = KSFT_PASS; in test_hugetlb_memcg()
221 case KSFT_PASS: in main()
/linux/tools/testing/selftests/cachestat/
H A Dtest_cachestat.c124 int ret = KSFT_PASS; in test_cachestat()
281 4, O_RDONLY, 0400) == KSFT_PASS) in main()
290 false, 4, O_CREAT | O_RDWR, 0600) == KSFT_PASS) in main()
303 case KSFT_PASS: in main()
/linux/tools/testing/selftests/vDSO/
H A Dvdso_test_clock_getres.c82 return KSFT_PASS; in vdso_test_clock()
123 return KSFT_PASS; in main()
/linux/tools/testing/selftests/kselftest/
H A Dktap_helpers.sh13 KSFT_PASS=0
114 exit "$KSFT_PASS"
/linux/tools/testing/selftests/mm/
H A Dksm_tests.c372 return KSFT_PASS; in check_ksm_merge()
412 return KSFT_PASS; in check_ksm_unmerge()
457 return KSFT_PASS; in check_ksm_zero_page_merge()
541 return KSFT_PASS; in check_ksm_numa_merge()
610 return KSFT_PASS; in ksm_merge_hugepages_time()
651 return KSFT_PASS; in ksm_merge_time()
698 return KSFT_PASS; in ksm_unmerge_time()
769 return KSFT_PASS; in ksm_cow_time()
H A Dmemfd_secret.c144 exit(KSFT_PASS); in try_process_vm_read()
176 exit(KSFT_PASS); in try_ptrace()
192 if ((WIFEXITED(status) && WEXITSTATUS(status) == KSFT_PASS) || in check_child_status()
H A Ddroppable.c52 exit(KSFT_PASS); in main()
H A Dhugetlb_madv_vs_map.c125 return KSFT_PASS;
/linux/tools/testing/selftests/net/
H A Dsk_so_peek_off.c189 return KSFT_PASS; in do_test()
201 return KSFT_PASS; in main()
/linux/tools/testing/selftests/drivers/platform/x86/intel/ifs/
H A Dtest_ifs.sh8 readonly KSFT_PASS=0
48 RESULT=$KSFT_PASS
161 EXIT_MAP[$KSFT_PASS]=$PASS
/linux/tools/testing/selftests/arm64/signal/
H A Dsve_helpers.c55 return KSFT_PASS; in sve_fill_vls()
/linux/tools/testing/selftests/tty/
H A Dtty_tstamp_update.c100 result = KSFT_PASS; in main()

12