Searched refs:random (Results 1 - 25 of 374) sorted by relevance

1234567891011>>

/freebsd-11-stable/usr.bin/random/
H A DMakefile4 PROG= random
5 MAN= random.6
6 SRCS= random.c randomize_fd.c
/freebsd-11-stable/tools/test/testfloat/
H A Drandom.c31 #include "random.h"
36 return (bits8) ( random()>>4 );
43 return ( random() & 0x0000ffff );
50 return ( ( (uint32) random()<<16) | ( (uint32) random() & 0x0000ffff) );
/freebsd-11-stable/sys/modules/virtio/
H A DMakefile26 SUBDIR= virtio pci network block balloon scsi random console
/freebsd-11-stable/sys/cddl/compat/opensolaris/sys/
H A Drandom.h32 #include_next <sys/random.h>
/freebsd-11-stable/usr.sbin/bsdinstall/scripts/
H A Dentropy32 dd if=/dev/random of="$i" bs=4096 count=1
/freebsd-11-stable/sys/dev/random/
H A Dother_algorithm.c30 * containing an alternative entropy-processing algorithm for random(4).
51 #include <sys/random.h>
60 #include <dev/random/hash.h>
61 #include <dev/random/randomdev.h>
62 #include <dev/random/random_harvestq.h>
63 #include <dev/random/uint128.h>
64 #include <dev/random/other_algorithm.h>
74 * RANDOM_OTHER_NPOOLS is used when reading hardware random
166 * Do random-number generation work here!
H A Dyarrow.c36 #include <sys/random.h>
46 #include <dev/random/hash.h>
47 #include <dev/random/randomdev.h>
48 #include <dev/random/random_harvestq.h>
49 #include <dev/random/uint128.h>
50 #include <dev/random/yarrow.h>
65 #include <dev/random/hash.h>
66 #include <dev/random/randomdev.h>
67 #include <dev/random/uint128.h>
68 #include <dev/random/yarro
82 SDT_PROVIDER_DECLARE(random); variable
83 SDT_PROVIDER_DEFINE(random); variable
[all...]
/freebsd-11-stable/share/examples/kld/random_adaptor/
H A Drandom_adaptor_example.c35 #include <sys/random.h>
38 #include <dev/random/randomdev.h>
39 #include <dev/random/randomdev_soft.h>
40 #include <dev/random/random_adaptors.h>
41 #include <dev/random/live_entropy_sources.h>
50 * sys/random.h and is unique */
61 return 4; /* chosen by fair dice roll, guaranteed to be random */
78 /* get <c> bytes of random stuff into <buf>. You may presume
/freebsd-11-stable/tests/sys/geom/class/raid3/
H A D12_test.sh16 dd if=/dev/random of=/dev/${us0} count=$nblocks1 >/dev/null 2>&1
17 dd if=/dev/random of=/dev/${us1} count=$nblocks1 >/dev/null 2>&1
18 dd if=/dev/random of=/dev/${us2} count=$nblocks1 >/dev/null 2>&1
26 dd if=/dev/random of=/dev/${us1} count=$nblocks2 >/dev/null 2>&1
/freebsd-11-stable/sys/libkern/
H A Drandom.c29 * @(#)random.c 8.1 (Berkeley) 6/10/93
33 __FBSDID("$FreeBSD: stable/11/sys/libkern/random.c 319284 2017-05-31 05:45:06Z delphij $");
49 (void)random();
53 * Pseudo-random number generator for perturbing the profiling clock,
58 random() function
/freebsd-11-stable/etc/casper/
H A DMakefile6 FILES+= system.random
/freebsd-11-stable/sys/modules/padlock_rng/
H A DMakefile3 .PATH: ${SRCTOP}/sys/dev/random
/freebsd-11-stable/sys/modules/random_other/
H A DMakefile3 .PATH: ${SRCTOP}/sys/dev/random
/freebsd-11-stable/sys/modules/random_fortuna/
H A DMakefile3 .PATH: ${SRCTOP}/sys/dev/random
/freebsd-11-stable/sys/modules/virtio/random/
H A DMakefile2 # $FreeBSD: stable/11/sys/modules/virtio/random/Makefile 319182 2017-05-30 04:11:12Z ngie $
26 .PATH: ${SRCTOP}/sys/dev/virtio/random
/freebsd-11-stable/sys/modules/rdrand_rng/
H A DMakefile3 .PATH: ${SRCTOP}/sys/dev/random
/freebsd-11-stable/sys/modules/random_yarrow/
H A DMakefile3 .PATH: ${SRCTOP}/sys/dev/random
/freebsd-11-stable/contrib/apr/random/unix/
H A Dapr_random.c56 void *random,
60 arc4random_buf(random, bytes);
65 void *random,
69 arc4random_buf(random, bytes);
/freebsd-11-stable/etc/rc.d/
H A Drandom3 # $FreeBSD: stable/11/etc/rc.d/random 319275 2017-05-31 05:00:02Z delphij $
6 # PROVIDE: random
13 name="random"
14 desc="Harvest and save entropy for random device"
27 dd if=/dev/random of="$f" bs=4096 count=1 status=none &&
37 if dd if="$f" of=/dev/random bs=4096 2>/dev/null ; then
50 ${SYSCTL} kern.random.harvest.mask=${harvest_mask} > /dev/null
51 ${SYSCTL_N} kern.random.harvest.mask_symbolic
56 if [ ! -w /dev/random ] ; then
57 warn "/dev/random i
[all...]
/freebsd-11-stable/sys/dev/syscons/star/
H A Dstar_saver.c93 random() % (scp->xsize*scp->ysize);
97 cell = random() % NUM_STARS;
100 colors[random()%sizeof(color16)] << 8);
101 if ((stars[cell][1]+=(random()%4)) >= sizeof(pattern)-1) {
102 stars[cell][0] = random() % (scp->xsize*scp->ysize);
/freebsd-11-stable/contrib/apr/
H A Dbuild.conf17 dso file_io locks memory misc mmap network_io poll random
/freebsd-11-stable/cddl/contrib/opensolaris/cmd/dtrace/test/cmd/badioctl/
H A Dbadioctl.c61 int fd = -1, random, ps = sysconf(_SC_PAGESIZE); local
66 if ((random = open("/dev/random", O_RDONLY)) == -1)
67 fatal("couldn't open /dev/random");
102 * Every thousand iterations, change our random gunk.
104 read(random, addr, ps);
107 read(random, &ioc, sizeof (ioc));
/freebsd-11-stable/tests/sys/net/
H A Drandsleep.c58 frac = (double)random() / (double)RANDOM_MAX;
/freebsd-11-stable/sys/compat/linuxkpi/common/include/linux/
H A Drandom.h29 * $FreeBSD: stable/11/sys/compat/linuxkpi/common/include/linux/random.h 328653 2018-02-01 13:01:44Z hselasky $
35 #include <sys/random.h>
/freebsd-11-stable/stand/libsa/
H A Drandom.c29 * @(#)random.c 8.1 (Berkeley) 6/10/93
33 __FBSDID("$FreeBSD: stable/11/stand/libsa/random.c 329132 2018-02-11 19:51:29Z kevans $");
47 * Pseudo-random number generator for randomizing the profiling clock,
52 random(void) function

Completed in 147 milliseconds

1234567891011>>