| /linux/tools/testing/selftests/powerpc/signal/ |
| H A D | sigfuz.c | 153 ucp->uc_mcontext.gp_regs[PT_MSR] = random(); in trap_signal_handler() 155 ucp->uc_mcontext.gp_regs[PT_NIP] = random(); in trap_signal_handler() 157 ucp->uc_link->uc_mcontext.gp_regs[PT_MSR] = random(); in trap_signal_handler() 159 ucp->uc_link->uc_mcontext.gp_regs[PT_NIP] = random(); in trap_signal_handler() 161 ucp->uc_mcontext.gp_regs[PT_TRAP] = random(); in trap_signal_handler() 162 ucp->uc_mcontext.gp_regs[PT_DSISR] = random(); in trap_signal_handler() 163 ucp->uc_mcontext.gp_regs[PT_DAR] = random(); in trap_signal_handler() 164 ucp->uc_mcontext.gp_regs[PT_ORIG_R3] = random(); in trap_signal_handler() 165 ucp->uc_mcontext.gp_regs[PT_XER] = random(); in trap_signal_handler() 166 ucp->uc_mcontext.gp_regs[PT_RESULT] = random(); in trap_signal_handler() [all …]
|
| /linux/arch/x86/lib/ |
| H A D | kaslr.c | 56 unsigned long raw, random = get_boot_seed(); in kaslr_get_random_long() local 68 random ^= raw; in kaslr_get_random_long() 78 random ^= raw; in kaslr_get_random_long() 85 random ^= i8254(); in kaslr_get_random_long() 90 : "=a" (random), "=d" (raw) in kaslr_get_random_long() 91 : "a" (random), "rm" (mix_const)); in kaslr_get_random_long() 92 random += raw; in kaslr_get_random_long() 97 return random; in kaslr_get_random_long()
|
| /linux/tools/testing/selftests/powerpc/stringloops/ |
| H A D | memcmp.c | 105 s1[j] = random(); in testcase() 107 rand_s1 += random() % MAX_OFFSET_DIFF_S1_S2; in testcase() 108 rand_s2 += random() % MAX_OFFSET_DIFF_S1_S2; in testcase() 112 change = random() % comp_size; in testcase() 113 rand_s2[change] = random() & 0xff; in testcase() 131 s1[j] = random(); in testcase() 133 rand_s1 += random() % MAX_OFFSET_DIFF_S1_S2; in testcase() 134 rand_s2 += random() % MAX_OFFSET_DIFF_S1_S2; in testcase() 139 change = random() % comp_size; in testcase() 140 s2[change] = random() & 0xff; in testcase()
|
| H A D | strlen.c | 69 c = random() & 0x7f; in testcase() 82 c = random() & 0x7f; in testcase() 96 c = random() & 0x7f; in testcase()
|
| /linux/arch/s390/boot/ |
| H A D | kaslr.c | 57 unsigned long seed, random; in get_random() local 66 cpacf_trng(NULL, 0, (u8 *) &random, sizeof(random)); in get_random() 71 cpacf_prno(CPACF_PRNO_SHA512_DRNG_GEN, &prno, (u8 *) &random, in get_random() 72 sizeof(random), NULL, 0); in get_random() 83 random = seed; in get_random() 84 cpacf_kmc(CPACF_KMC_PRNG, prng.parm_block, (u8 *) &random, in get_random() 85 (u8 *) &random, sizeof(random)); in get_random() 90 *value = random % limit; in get_random()
|
| /linux/arch/powerpc/mm/nohash/ |
| H A D | kaslr_booke.c | 286 unsigned long offset, random; in kaslr_choose_location() local 295 random = get_boot_seed(dt_ptr); in kaslr_choose_location() 299 random = rotate_xor(random, &seed, sizeof(seed)); in kaslr_choose_location() 306 random = rotate_xor(random, &seed, sizeof(seed)); in kaslr_choose_location() 338 index = random & 0xFF; in kaslr_choose_location() 342 offset = random % (SZ_64M - kernel_sz); in kaslr_choose_location()
|
| /linux/tools/testing/selftests/bpf/benchs/ |
| H A D | bench_lpm_trie_map.c | 28 bool random; member 32 .random = false, 72 args.random = true; in lpm_parse_arg() 112 if (args.random) { in lpm_insert_validate() 127 if (args.random) { in lpm_delete_validate() 142 if (args.random) { in lpm_free_validate() 197 ctx.bench->bss->random = args.random; in attach_prog()
|
| /linux/Documentation/admin-guide/ |
| H A D | hw_random.rst | 2 Hardware random number generators 23 /dev/random special files. 29 and read() system calls, you can read random data from 35 data before assuming it is truly random. 62 using thermal noise generated from inherently random quantum 63 mechanical properties of silicon. When not generating new random
|
| /linux/Documentation/translations/zh_CN/security/ |
| H A D | siphash.rst | 28 密钥应来源于加密安全的随机数生成,要么使用get random bytes 29 要么使用get random once:: 143 密钥应始终来源于加密安全的随机数生成,要么使用get random bytes 144 要么使用get random once::
|
| /linux/Documentation/admin-guide/device-mapper/ |
| H A D | dm-flakey.rst | 71 During <down interval>, replace random byte in a read bio 72 with a random value. probability is an integer between 76 During <down interval>, replace random byte in a write bio 77 with a random value. probability is an integer between
|
| H A D | dm-zoned.rst | 11 device-side performance degradation due to excessive random writes on 53 zones of the device may be used also for buffering user random writes. 56 reused for buffering incoming random writes. 75 zone used to buffer random modification to the data zone. 95 chunk, resulting in native random write performance similar to a regular 177 0 <size> zoned <nr_zones> zones <nr_unmap_rnd>/<nr_rnd> random <nr_unmap_seq>/<nr_seq> sequential 180 of unmapped (ie free) random zones, <nr_rnd> the total number of zones, 185 percent free random zones. In order to start the reclaim process manually 193 will start the reclaim process and random zones will be moved to sequential
|
| /linux/drivers/gpu/drm/ci/xfails/ |
| H A D | rockchip-rk3399-fails.txt | 18 kms_cursor_crc@cursor-random-32x10,Fail 19 kms_cursor_crc@cursor-random-32x32,Fail 20 kms_cursor_crc@cursor-random-64x21,Fail 21 kms_cursor_crc@cursor-random-64x64,Fail
|
| H A D | amdgpu-stoney-fails.txt | 28 kms_cursor_crc@cursor-random-64x21,Fail 29 kms_cursor_crc@cursor-random-64x64,Fail
|
| /linux/tools/testing/selftests/powerpc/ptrace/ |
| H A D | ptrace-gpr.c | 99 r = random(); in rand_reg() 107 result |= random() << (__LONG_WIDTH__ - 31); in rand_reg() 112 result ^= random() << 16; in rand_reg()
|
| /linux/tools/testing/selftests/drivers/net/ |
| H A D | xdp.py | 9 import random 93 test_str = "".join(random.choice(string.ascii_lowercase) for _ in range(size)) 314 random.choice(string.ascii_lowercase) for _ in range(payload_len) 461 tag = format(random.randint(65, 90), "02x") 468 test_str = "".join(random.choice(string.ascii_lowercase) for _ in range(pkt_sz)) 595 test_str = ''.join(random.choice(string.ascii_lowercase) for _ in range(pkt_sz)) 596 tag = format(random.randint(65, 90), '02x')
|
| H A D | ping.py | 5 import random, string, time 38 test_string = ''.join(random.choice(string.ascii_lowercase) for _ in range(65536)) 46 test_string = ''.join(random.choice(string.ascii_lowercase) for _ in range(65536))
|
| /linux/tools/testing/selftests/net/lib/py/ |
| H A D | nsim.py | 6 import random 60 addr = random.randrange(1 << 15) 66 addr = random.randrange(1 << 15)
|
| H A D | netns.py | 5 import random 16 self.name = ''.join(random.choice(string.ascii_lowercase) for _ in range(8))
|
| /linux/tools/testing/selftests/drivers/net/lib/py/ |
| H A D | remote_ssh.py | 6 import random 27 return ''.join(random.choice(string.ascii_lowercase) for _ in range(8))
|
| /linux/tools/testing/selftests/gpio/ |
| H A D | gpio-mockup.sh | 16 random= 303 if [ "$random" -a $width -gt 2 ]; then 319 random=true
|
| /linux/arch/xtensa/platforms/iss/ |
| H A D | network.c | 127 goto random; in setup_etheraddr() 132 goto random; in setup_etheraddr() 137 goto random; in setup_etheraddr() 142 goto random; in setup_etheraddr() 150 random: in setup_etheraddr()
|
| /linux/tools/testing/selftests/drivers/net/mlxsw/ |
| H A D | sharedbuffer_configuration.py | 6 import random 49 th = random.randint(3, 16) 67 return arr[random.randint(0, len(arr) - 1)] 402 random.seed(0)
|
| /linux/drivers/net/wireless/ath/carl9170/ |
| H A D | Kconfig | 46 Provides a hardware random number generator to the kernel. 49 generated random numbers from the transport stream with
|
| /linux/tools/testing/selftests/bpf/progs/ |
| H A D | lpm_trie_bench.c | 34 bool random; variable 86 if (random) in generate_key()
|
| /linux/drivers/char/hw_random/ |
| H A D | Kconfig | 15 of possibly several hardware random number generators. 17 These hardware random number generators do feed into the 18 kernel's random number generator entropy pool. 400 tristate "STMicroelectronics STM32 random number generator" 538 tristate "TI Keystone NETCP SA Hardware random number generator" 543 This option enables Keystone's hardware random generator. 625 This option enables UML's "hardware" random number generator. It 626 attaches itself to the host's /dev/random, supplying as much entropy 629 a device which is usually called /dev/hwrng. This hardware random 630 number generator does feed into the kernel's random number generator
|