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

1234567891011>>

/linux-master/arch/x86/lib/
H A Dkaslr.c56 unsigned long raw, random = get_boot_seed(); local
68 random ^= raw;
78 random ^= raw;
85 random ^= i8254();
90 : "=a" (random), "=d" (raw)
91 : "a" (random), "rm" (mix_const));
92 random += raw;
97 return random;
/linux-master/tools/testing/selftests/powerpc/signal/
H A Dsigfuz.c14 * test depends on random numbers, and, based on them, it sets different TM
18 * to the sigreturn system call with random data, in order to make sure that
153 ucp->uc_mcontext.gp_regs[PT_MSR] = random();
155 ucp->uc_mcontext.gp_regs[PT_NIP] = random();
157 ucp->uc_link->uc_mcontext.gp_regs[PT_MSR] = random();
159 ucp->uc_link->uc_mcontext.gp_regs[PT_NIP] = random();
161 ucp->uc_mcontext.gp_regs[PT_TRAP] = random();
162 ucp->uc_mcontext.gp_regs[PT_DSISR] = random();
163 ucp->uc_mcontext.gp_regs[PT_DAR] = random();
164 ucp->uc_mcontext.gp_regs[PT_ORIG_R3] = random();
[all...]
/linux-master/include/linux/
H A Dstackprotector.h7 #include <linux/random.h>
H A Dprandom.h5 * Include file for the fast pseudo-random 32-bit
13 #include <linux/random.h>
49 /* Pseudo random number generator from numerical recipes. */
/linux-master/arch/loongarch/include/asm/
H A Dstackprotector.h15 #include <linux/random.h>
30 /* Try to get a semi random initial value. */
/linux-master/arch/s390/crypto/
H A Darch_random.c3 * s390 arch random implementation.
11 #include <linux/random.h>
/linux-master/tools/testing/selftests/powerpc/math/
H A Dfpu.h14 val = random();
/linux-master/tools/testing/selftests/powerpc/stringloops/
H A Dmemcmp.c105 s1[j] = random();
107 rand_s1 += random() % MAX_OFFSET_DIFF_S1_S2;
108 rand_s2 += random() % MAX_OFFSET_DIFF_S1_S2;
112 change = random() % comp_size;
113 rand_s2[change] = random() & 0xff;
131 s1[j] = random();
133 rand_s1 += random() % MAX_OFFSET_DIFF_S1_S2;
134 rand_s2 += random() % MAX_OFFSET_DIFF_S1_S2;
139 change = random() % comp_size;
140 s2[change] = random()
[all...]
H A Dstrlen.c69 c = random() & 0x7f;
82 c = random() & 0x7f;
96 c = random() & 0x7f;
/linux-master/include/uapi/linux/netfilter/
H A Dxt_statistic.h27 } random; member in union:xt_statistic_info::__anon13090
/linux-master/include/net/
H A Dtipc.h39 #include <linux/random.h>
/linux-master/drivers/gpu/drm/lib/
H A Ddrm_random.h9 #include <linux/random.h>
H A Ddrm_random.c4 #include <linux/random.h>
/linux-master/arch/s390/boot/
H A Dkaslr.c57 unsigned long seed, random; local
66 cpacf_trng(NULL, 0, (u8 *) &random, sizeof(random));
71 cpacf_prno(CPACF_PRNO_SHA512_DRNG_GEN, &prno, (u8 *) &random,
72 sizeof(random), NULL, 0);
83 random = seed;
84 cpacf_kmc(CPACF_KMC_PRNG, prng.parm_block, (u8 *) &random,
85 (u8 *) &random, sizeof(random));
90 *value = random
[all...]
/linux-master/tools/testing/selftests/powerpc/ptrace/
H A Dptrace-gpr.c99 r = random();
107 result |= random() << (__LONG_WIDTH__ - 31);
112 result ^= random() << 16;
/linux-master/drivers/gpu/drm/i915/selftests/
H A Di915_random.h29 #include <linux/random.h>
/linux-master/arch/powerpc/mm/nohash/
H A Dkaslr_booke.c286 unsigned long offset, random; local
295 random = get_boot_seed(dt_ptr);
299 random = rotate_xor(random, &seed, sizeof(seed));
306 random = rotate_xor(random, &seed, sizeof(seed));
336 * Only use the low 8 bits of the random seed
338 index = random & 0xFF;
342 offset = random % (SZ_64M - kernel_sz);
349 * To see if we need to relocate the kernel to a random offse
[all...]
/linux-master/arch/arm/mach-clps711x/
H A Dboard-dt.c9 #include <linux/random.h>
/linux-master/tools/testing/selftests/pstore/
H A Dcommon_tests58 UUID=`cat /proc/sys/kernel/random/uuid`
/linux-master/arch/csky/abiv1/
H A Dmmap.c9 #include <linux/random.h>
/linux-master/include/crypto/
H A Dcurve25519.h11 #include <linux/random.h>
/linux-master/drivers/mfd/
H A Dwm831x-otp.c16 #include <linux/random.h>
/linux-master/arch/s390/lib/
H A Dtest_kprobes.c5 #include <linux/random.h>
/linux-master/drivers/char/hw_random/
H A Dpowernv-rng.c12 #include <linux/random.h>
/linux-master/net/core/
H A Drequest_sock.c11 #include <linux/random.h>

Completed in 242 milliseconds

1234567891011>>