Searched refs:GRND_NONBLOCK (Results 1 – 10 of 10) sorted by relevance
/freebsd/sys/kern/ |
H A D | sys_getrandom.c | 38 #define GRND_VALIDFLAGS (GRND_NONBLOCK | GRND_RANDOM | GRND_INSECURE) 92 flags |= GRND_NONBLOCK; in kern_getrandom() 109 error = read_random_uio(&auio, (flags & GRND_NONBLOCK) != 0); in kern_getrandom()
|
/freebsd/tests/sys/kern/ |
H A D | sys_getrandom.c | 37 static const unsigned valid_flags[] = { 0, GRND_NONBLOCK, GRND_RANDOM, 38 GRND_NONBLOCK | GRND_RANDOM }; 57 if (ret < 0 && (mode & GRND_NONBLOCK) != 0 && in ATF_TC_BODY()
|
/freebsd/contrib/llvm-project/compiler-rt/lib/scudo/standalone/ |
H A D | linux.cpp | 184 #if !defined(GRND_NONBLOCK) in getRandom() 185 #define GRND_NONBLOCK 1 in getRandom() 189 syscall(SYS_getrandom, Buffer, Length, Blocking ? 0 : GRND_NONBLOCK); in getRandom() 178 #define GRND_NONBLOCK getRandom() macro
|
/freebsd/contrib/unbound/compat/ |
H A D | getentropy_linux.c | 90 #if defined(SYS_getrandom) && defined(GRND_NONBLOCK) 110 #if defined(SYS_getrandom) && defined(GRND_NONBLOCK) in getentropy() 193 #if defined(SYS_getrandom) && defined(GRND_NONBLOCK) 202 ret = syscall(SYS_getrandom, buf, len, GRND_NONBLOCK); in getentropy_getrandom()
|
/freebsd/contrib/wpa/src/crypto/ |
H A D | random.c | 242 sizeof(stub_key) - stub_key_avail, GRND_NONBLOCK); in random_pool_ready() 445 if (getrandom(&stub, 0, GRND_NONBLOCK) == 0 || in random_init()
|
/freebsd/sys/sys/ |
H A D | random.h | 161 #define GRND_NONBLOCK 0x1 macro
|
/freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/ |
H A D | sanitizer_linux.cpp | 145 # if !defined(GRND_NONBLOCK) 146 # define GRND_NONBLOCK 1 macro 2598 blocking ? 0 : GRND_NONBLOCK); in GetRandom()
|
H A D | sanitizer_common_interceptors.inc | 9804 // If GRND_NONBLOCK is set in the flags, it is non blocking.
|
/freebsd/contrib/capsicum-test/ |
H A D | linux.cc | 1407 EXPECT_OK(getrandom_(buffer, sizeof(buffer), GRND_NONBLOCK)); in FORK_TEST() 1408 EXPECT_OK(getrandom_(buffer2, sizeof(buffer2), GRND_NONBLOCK)); in FORK_TEST()
|
/freebsd/contrib/expat/lib/ |
H A D | xmlparse.c | 130 # if ! defined(GRND_NONBLOCK) 131 # define GRND_NONBLOCK 0x0001 macro 797 const unsigned int getrandomFlags = GRND_NONBLOCK; in writeRandomBytes_getrandom_nonblock()
|