HomeSort by: relevance | last modified time | path
    Searched defs:random_fd (Results 1 - 4 of 4) sorted by relevancy

  /src/lib/librumpuser/
rumpuser_random.c 60 static int random_fd = -1; variable
66 random_fd = open(random_device, O_RDONLY);
67 if (random_fd < 0) {
81 rv = read(random_fd, buf, buflen > random_maxread ? random_maxread : buflen);
rumpuser_random.c 60 static int random_fd = -1; variable
66 random_fd = open(random_device, O_RDONLY);
67 if (random_fd < 0) {
81 rv = read(random_fd, buf, buflen > random_maxread ? random_maxread : buflen);
  /src/external/cddl/osnet/dist/lib/libzpool/common/
kernel.c 904 static int random_fd = -1, urandom_fd = -1; variable
927 return (random_get_bytes_common(ptr, len, random_fd));
1010 VERIFY((random_fd = open("/dev/random", O_RDONLY)) != -1);
1031 close(random_fd);
1034 random_fd = -1;
kernel.c 904 static int random_fd = -1, urandom_fd = -1; variable
927 return (random_get_bytes_common(ptr, len, random_fd));
1010 VERIFY((random_fd = open("/dev/random", O_RDONLY)) != -1);
1031 close(random_fd);
1034 random_fd = -1;

Completed in 55 milliseconds