/linux-master/arch/x86/lib/ |
H A D | kaslr.c | 56 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 D | sigfuz.c | 14 * 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 D | stackprotector.h | 7 #include <linux/random.h>
|
H A D | prandom.h | 5 * 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 D | stackprotector.h | 15 #include <linux/random.h> 30 /* Try to get a semi random initial value. */
|
/linux-master/arch/s390/crypto/ |
H A D | arch_random.c | 3 * s390 arch random implementation. 11 #include <linux/random.h>
|
/linux-master/tools/testing/selftests/powerpc/math/ |
H A D | fpu.h | 14 val = random();
|
/linux-master/tools/testing/selftests/powerpc/stringloops/ |
H A D | memcmp.c | 105 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 D | strlen.c | 69 c = random() & 0x7f; 82 c = random() & 0x7f; 96 c = random() & 0x7f;
|
/linux-master/include/uapi/linux/netfilter/ |
H A D | xt_statistic.h | 27 } random; member in union:xt_statistic_info::__anon13090
|
/linux-master/include/net/ |
H A D | tipc.h | 39 #include <linux/random.h>
|
/linux-master/drivers/gpu/drm/lib/ |
H A D | drm_random.h | 9 #include <linux/random.h>
|
H A D | drm_random.c | 4 #include <linux/random.h>
|
/linux-master/arch/s390/boot/ |
H A D | kaslr.c | 57 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 D | ptrace-gpr.c | 99 r = random(); 107 result |= random() << (__LONG_WIDTH__ - 31); 112 result ^= random() << 16;
|
/linux-master/drivers/gpu/drm/i915/selftests/ |
H A D | i915_random.h | 29 #include <linux/random.h>
|
/linux-master/arch/powerpc/mm/nohash/ |
H A D | kaslr_booke.c | 286 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 D | board-dt.c | 9 #include <linux/random.h>
|
/linux-master/tools/testing/selftests/pstore/ |
H A D | common_tests | 58 UUID=`cat /proc/sys/kernel/random/uuid`
|
/linux-master/arch/csky/abiv1/ |
H A D | mmap.c | 9 #include <linux/random.h>
|
/linux-master/include/crypto/ |
H A D | curve25519.h | 11 #include <linux/random.h>
|
/linux-master/drivers/mfd/ |
H A D | wm831x-otp.c | 16 #include <linux/random.h>
|
/linux-master/arch/s390/lib/ |
H A D | test_kprobes.c | 5 #include <linux/random.h>
|
/linux-master/drivers/char/hw_random/ |
H A D | powernv-rng.c | 12 #include <linux/random.h>
|
/linux-master/net/core/ |
H A D | request_sock.c | 11 #include <linux/random.h>
|