/freebsd-10-stable/games/random/ |
H A D | Makefile | 4 PROG= random 5 MAN= random.6 6 SRCS= random.c randomize_fd.c
|
/freebsd-10-stable/tools/test/testfloat/ |
H A D | random.c | 31 #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 D | entropy | 29 dd if=/dev/random of=$BSDINSTALL_CHROOT/entropy bs=4096 count=1
|
/freebsd-10-stable/etc/rc.d/ |
H A D | initrandom | 19 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 D | postrandom | 7 # REQUIRE: initrandom random FILESYSTEMS 24 /etc/rc.d/random fastsaveseed 32 if [ -w /dev/random ]; then 40 load_rc_config random
|
H A D | random | 6 # 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 D | Makefile | 26 SUBDIR= virtio pci network block balloon scsi random console
|
/freebsd-10-stable/share/examples/kld/random_adaptor/ |
H A D | random_adaptor_example.c | 35 #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 D | random.h | 33 #include <sys/random.h>
|
/freebsd-10-stable/sys/cddl/compat/opensolaris/sys/ |
H A D | random.h | 32 #include_next <sys/random.h>
|
/freebsd-10-stable/sys/dev/random/ |
H A D | ivy.c | 41 #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 D | nehemiah.c | 36 #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 D | randomdev.c | 47 #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 D | live_entropy_sources.h | 40 struct random_hardware_source *rsource; /* associated random adaptor */ 58 MODULE_DEPEND(name, random, 1, 1, 1);
|
H A D | dummy_rng.c | 35 #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 D | 12_test.sh | 16 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 D | random.c | 29 * @(#)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 D | Makefile | 16 random \
|
/freebsd-10-stable/sys/dev/syscons/star/ |
H A D | star_saver.c | 93 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 D | build.conf | 17 dso file_io locks memory misc mmap network_io poll random
|
/freebsd-10-stable/contrib/top/ |
H A D | top.local.hs | 54 * 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 D | Makefile | 1 # $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 D | badioctl.c | 61 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 D | random.c | 29 * @(#)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 D | Makefile | 26 .PATH: ${.CURDIR}/../../../dev/virtio/random
|