Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/vDSO/
H A Dvdso_test_getrandom.c43 #define ksft_assert(condition) \ macro
139 ksft_assert(state); in vgetrandom()
151 ksft_assert(ret == sizeof(val)); in test_vdso_getrandom()
161 ksft_assert(ret == sizeof(val)); in test_libc_getrandom()
171 ksft_assert(ret == sizeof(val)); in test_syscall_getrandom()
206 ksft_assert(pthread_create(&threads[i], NULL, test_vdso_getrandom, NULL) == 0); in bench_multi()
215 ksft_assert(pthread_create(&threads[i], NULL, test_libc_getrandom, NULL) == 0); in bench_multi()
224 ksft_assert(pthread_create(&threads[i], NULL, test_syscall_getrandom, NULL) == 0); in bench_multi()
250 ksft_assert(ret == sizeof(weird_size)); in kselftest()
256 ksft_assert(unshare(CLONE_NEWTIME) == 0); in kselftest()
[all …]