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

1234567891011>>

/freebsd-10.0-release/games/random/
H A DMakefile4 PROG= random
5 MAN= random.6
6 SRCS= random.c randomize_fd.c
/freebsd-10.0-release/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.0-release/usr.sbin/bsdinstall/scripts/
H A Dentropy29 dd if=/dev/random of=$BSDINSTALL_CHROOT/entropy bs=4096 count=1
/freebsd-10.0-release/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.0-release/sys/ofed/include/linux/
H A Drandom.h32 #include <sys/random.h>
/freebsd-10.0-release/contrib/top/
H A Dtop.local.H54 * If the local system's getpwnam interface uses random access to retrieve
65 #define RANDOM_PW %random%
/freebsd-10.0-release/games/
H A DMakefile15 random
/freebsd-10.0-release/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.0-release/sys/cddl/compat/opensolaris/sys/
H A Drandom.h32 #include_next <sys/random.h>
/freebsd-10.0-release/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);
181 RANDOM_MINOR, NULL, UID_ROOT, GID_WHEEL, 0666, "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.0-release/sys/libkern/
H A Drandom.c29 * @(#)random.c 8.1 (Berkeley) 6/10/93
49 (void)random();
53 * Pseudo-random number generator for randomizing the profiling clock,
58 random() function
/freebsd-10.0-release/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.0-release/contrib/apr/
H A Dbuild.conf16 dso file_io locks memory misc mmap network_io poll random
/freebsd-10.0-release/sys/modules/random/
H A DMakefile3 .PATH: ${.CURDIR}/../../dev/random
7 KMOD= random
/freebsd-10.0-release/tools/regression/geom_raid3/
H A Dtest-12.t19 dd if=/dev/random of=/dev/md${us0} count=$nblocks1 >/dev/null 2>&1
20 dd if=/dev/random of=/dev/md${us1} count=$nblocks1 >/dev/null 2>&1
21 dd if=/dev/random of=/dev/md${us2} count=$nblocks1 >/dev/null 2>&1
29 dd if=/dev/random of=/dev/md${us1} count=$nblocks2 >/dev/null 2>&1
/freebsd-10.0-release/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.0-release/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.0-release/tools/regression/geom_gate/
H A Dtest-2.sh9 dd if=/dev/random of=$work bs=1m count=1 >/dev/null 2>&1
10 dd if=/dev/random of=$src bs=1m count=1 >/dev/null 2>&1
H A Dtest-2.t9 dd if=/dev/random of=$work bs=1m count=1 >/dev/null 2>&1
10 dd if=/dev/random of=$src bs=1m count=1 >/dev/null 2>&1

Completed in 699 milliseconds

1234567891011>>