Home
last modified time | relevance | path

Searched refs:__NR_getrandom (Results 1 – 25 of 35) sorted by relevance

12

/external/strace/tests-m32/
Dgetrandom.c31 #ifdef __NR_getrandom
41 if (syscall(__NR_getrandom, buf, sizeof(buf) - 1, 0) != sizeof(buf) - 1) in main()
46 if (syscall(__NR_getrandom, buf, sizeof(buf), 1) != sizeof(buf)) in main()
51 if (syscall(__NR_getrandom, buf, sizeof(buf), 0x3003) != -1) in main()
/external/strace/tests/
Dgetrandom.c31 #ifdef __NR_getrandom
41 if (syscall(__NR_getrandom, buf, sizeof(buf) - 1, 0) != sizeof(buf) - 1) in main()
46 if (syscall(__NR_getrandom, buf, sizeof(buf), 1) != sizeof(buf)) in main()
51 if (syscall(__NR_getrandom, buf, sizeof(buf), 0x3003) != -1) in main()
/external/strace/tests-mx32/
Dgetrandom.c31 #ifdef __NR_getrandom
41 if (syscall(__NR_getrandom, buf, sizeof(buf) - 1, 0) != sizeof(buf) - 1) in main()
46 if (syscall(__NR_getrandom, buf, sizeof(buf), 1) != sizeof(buf)) in main()
51 if (syscall(__NR_getrandom, buf, sizeof(buf), 0x3003) != -1) in main()
/external/boringssl/src/crypto/fipsmodule/rand/
Durandom.c64 #if defined(__NR_getrandom)
66 #if __NR_getrandom != EXPECTED_NR_getrandom
72 #define __NR_getrandom EXPECTED_NR_getrandom macro
124 syscall(__NR_getrandom, &dummy, sizeof(dummy), GRND_NONBLOCK); in init_once()
137 syscall(__NR_getrandom, &dummy, sizeof(dummy), 0 /* no flags */); in init_once()
252 r = syscall(__NR_getrandom, out, len, 0 /* no flags */); in fill_with_entropy()
/external/ltp/testcases/kernel/syscalls/getrandom/
Dgetrandom01.c38 TEST(tst_syscall(__NR_getrandom, NULL, 100, modes[n])); in verify_getrandom()
Dgetrandom03.c55 TEST(tst_syscall(__NR_getrandom, buf, sizes[n], 0)); in verify_getrandom()
Dgetrandom04.c48 TEST(tst_syscall(__NR_getrandom, buf, 100, 0)); in verify_getrandom()
Dgetrandom02.c65 TEST(tst_syscall(__NR_getrandom, buf, sizeof(buf), modes[n])); in verify_getrandom()
/external/valgrind/include/vki/
Dvki-scnums-arm64-linux.h314 #define __NR_getrandom 278 macro
Dvki-scnums-s390x-linux.h317 #define __NR_getrandom 349 macro
Dvki-scnums-amd64-linux.h402 #define __NR_getrandom 318 macro
Dvki-scnums-ppc64-linux.h396 #define __NR_getrandom 359 macro
Dvki-scnums-arm-linux.h423 #define __NR_getrandom 384 macro
Dvki-scnums-ppc32-linux.h404 #define __NR_getrandom 359 macro
Dvki-scnums-x86-linux.h392 #define __NR_getrandom 355 macro
Dvki-scnums-solaris.h198 #define __NR_getrandom SYS_getrandom macro
Dvki-scnums-mips64-linux.h352 #define __NR_getrandom (__NR_Linux + 313) macro
Dvki-scnums-mips32-linux.h391 #define __NR_getrandom (__NR_Linux + 353) macro
/external/kernel-headers/original/uapi/asm-x86/asm/
Dunistd_64.h322 #define __NR_getrandom 318 macro
Dunistd_32.h355 #define __NR_getrandom 355 macro
Dunistd_x32.h278 #define __NR_getrandom (__X32_SYSCALL_BIT + 318) macro
/external/strace/
Dscno.h794 #ifndef __NR_getrandom
795 # define __NR_getrandom (SYSCALL_BIT | 278) macro
/external/kernel-headers/original/uapi/asm-mips/asm/
Dunistd.h377 #define __NR_getrandom (__NR_Linux + 353) macro
722 #define __NR_getrandom (__NR_Linux + 313) macro
1070 #define __NR_getrandom (__NR_Linux + 317) macro
/external/kernel-headers/original/uapi/asm-generic/
Dunistd.h707 #define __NR_getrandom 278 macro
708 __SYSCALL(__NR_getrandom, sys_getrandom)
/external/kernel-headers/original/uapi/asm-arm/asm/
Dunistd-common.h343 #define __NR_getrandom (__NR_SYSCALL_BASE + 384) macro

12