Searched refs:GRND_RANDOM (Results 1 – 4 of 4) sorted by relevance
/illumos-gate/usr/src/test/libc-tests/tests/random/ |
H A D | getrandom.c | 44 ret = getrandom(buf, sizeof (buf), GRND_RANDOM); in main() 47 ret = getrandom(buf, sizeof (buf), GRND_RANDOM | GRND_NONBLOCK); in main() 50 ret = getrandom(buf, sizeof (buf), (GRND_RANDOM | GRND_NONBLOCK) << 1); in main() 59 ret = getrandom(NULL, sizeof (buf), GRND_RANDOM); in main() 71 ret = getrandom(addr, sizeof (buf), GRND_RANDOM); in main() 76 ret = getrandom(bigbuf, sizeof (buf), GRND_RANDOM); in main() 82 ret = getrandom(buf, sizeof (buf), GRND_RANDOM); in main()
|
/illumos-gate/usr/src/uts/common/syscall/ |
H A D | getrandom.c | 46 if (flags & ~(GRND_NONBLOCK | GRND_RANDOM)) in getrandom() 49 if ((flags & GRND_RANDOM) && buflen > MAXRANDBYTES) { in getrandom() 59 if (flags & GRND_RANDOM) { in getrandom()
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | random.h | 74 #define GRND_RANDOM 0x0002 /* Use /dev/random, not /dev/urandom */ macro
|
/illumos-gate/usr/src/cmd/truss/ |
H A D | print.c | 3048 (val & ~(GRND_NONBLOCK | GRND_RANDOM)) != 0) { in prt_grf() 3057 if (val & GRND_RANDOM) { in prt_grf()
|