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

1234567891011>>

/freebsd-10-stable/games/random/
H A DMakefile4 PROG= random
5 MAN= random.6
6 SRCS= random.c randomize_fd.c
/freebsd-10-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-10-stable/usr.sbin/bsdinstall/scripts/
H A Dentropy29 dd if=/dev/random of=$BSDINSTALL_CHROOT/entropy bs=4096 count=1
/freebsd-10-stable/etc/rc.d/
H A Dinitrandom19 soft_random_generator=`sysctl kern.random 2>/dev/null`
25 if [ -w /dev/random ]; then
27 ${SYSCTL} kern.random.sys.harvest.interrupt=1 >/dev/null
30 ${SYSCTL} kern.random.sys.harvest.interrupt=0 >/dev/null
34 ${SYSCTL} kern.random.sys.harvest.ethernet=1 >/dev/null
37 ${SYSCTL} kern.random.sys.harvest.ethernet=0 >/dev/null
41 ${SYSCTL} kern.random.sys.harvest.point_to_point=1 >/dev/null
44 ${SYSCTL} kern.random.sys.harvest.point_to_point=0 >/dev/null
48 ${SYSCTL} kern.random.sys.harvest.swi=1 >/dev/null
51 ${SYSCTL} kern.random
[all...]
H A Dpostrandom7 # REQUIRE: initrandom random FILESYSTEMS
24 /etc/rc.d/random fastsaveseed
32 if [ -w /dev/random ]; then
40 load_rc_config random
H A Drandom6 # PROVIDE: random
13 name="random"
23 cat "${1}" | dd of=/dev/random bs=8k 2>/dev/null
29 # Reseed /dev/random with previously stored entropy.
36 if [ -w /dev/random ]; then
49 if [ -w /dev/random ]; then
59 # Write some entropy so when the machine reboots /dev/random
85 dd if=/dev/random of=${entropy_file_confirmed} \
/freebsd-10-stable/sys/modules/virtio/
H A DMakefile26 SUBDIR= virtio pci network block balloon scsi random console
/freebsd-10-stable/share/examples/kld/random_adaptor/
H A Drandom_adaptor_example.c35 #include <sys/random.h>
38 #include <dev/random/live_entropy_sources.h>
39 #include <dev/random/random_adaptors.h>
40 #include <dev/random/randomdev.h>
47 * sys/random.h and is unique */
58 return 4; /* chosen by fair dice roll, guaranteed to be random */
/freebsd-10-stable/sys/ofed/include/linux/
H A Drandom.h33 #include <sys/random.h>
/freebsd-10-stable/sys/cddl/compat/opensolaris/sys/
H A Drandom.h32 #include_next <sys/random.h>
/freebsd-10-stable/sys/dev/random/
H A Divy.c41 #include <sys/random.h>
48 #include <dev/random/randomdev.h>
49 #include <dev/random/randomdev_soft.h>
50 #include <dev/random/random_harvestq.h>
51 #include <dev/random/live_entropy_sources.h>
52 #include <dev/random/random_adaptors.h>
H A Dnehemiah.c36 #include <sys/random.h>
45 #include <dev/random/randomdev.h>
46 #include <dev/random/randomdev_soft.h>
47 #include <dev/random/random_harvestq.h>
48 #include <dev/random/live_entropy_sources.h>
49 #include <dev/random/random_adaptors.h>
H A Drandomdev.c47 #include <sys/random.h>
55 #include <dev/random/randomdev.h>
56 #include <dev/random/randomdev_soft.h>
57 #include <dev/random/random_adaptors.h>
58 #include <dev/random/random_harvestq.h>
59 #include <dev/random/live_entropy_sources.h>
74 .d_name = "random",
167 printf("random: <%s> already initialized\n",
176 printf("random: <%s> initialized\n", s->ident);
178 /* mark random(
[all...]
H A Dlive_entropy_sources.h40 struct random_hardware_source *rsource; /* associated random adaptor */
58 MODULE_DEPEND(name, random, 1, 1, 1);
H A Ddummy_rng.c35 #include <sys/random.h>
40 #include <dev/random/random_adaptors.h>
41 #include <dev/random/randomdev.h>
45 /* Used to fake out unused random calls in random_adaptor */
70 printf("random: dummy device blocking on read.\n");
/freebsd-10-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-10-stable/sys/libkern/
H A Drandom.c29 * @(#)random.c 8.1 (Berkeley) 6/10/93
33 __FBSDID("$FreeBSD: stable/10/sys/libkern/random.c 319286 2017-05-31 06:00:14Z delphij $");
49 (void)random();
53 * Pseudo-random number generator for randomizing the profiling clock,
58 random() function
/freebsd-10-stable/games/
H A DMakefile16 random \
/freebsd-10-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-10-stable/contrib/apr/
H A Dbuild.conf17 dso file_io locks memory misc mmap network_io poll random
/freebsd-10-stable/contrib/top/
H A Dtop.local.hs54 * If the local system's getpwnam interface uses random access to retrieve
65 #define RANDOM_PW %random%
/freebsd-10-stable/sys/modules/random/
H A DMakefile1 # $FreeBSD: stable/10/sys/modules/random/Makefile 314331 2017-02-27 10:22:16Z avg $
3 .PATH: ${.CURDIR}/../../dev/random
7 KMOD= random
/freebsd-10-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-10-stable/lib/libstand/
H A Drandom.c29 * @(#)random.c 8.1 (Berkeley) 6/10/93
47 * Pseudo-random number generator for randomizing the profiling clock,
52 random() function
/freebsd-10-stable/sys/modules/virtio/random/
H A DMakefile26 .PATH: ${.CURDIR}/../../../dev/virtio/random

Completed in 306 milliseconds

1234567891011>>