Home
last modified time | relevance | path

Searched refs:random (Results 1 – 25 of 240) sorted by relevance

12345678910

/linux-6.6.21/tools/testing/selftests/powerpc/signal/
Dsigfuz.c153 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-6.6.21/arch/x86/lib/
Dkaslr.c56 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-6.6.21/tools/testing/selftests/powerpc/stringloops/
Dmemcmp.c105 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()
Dstrlen.c69 c = random() & 0x7f; in testcase()
82 c = random() & 0x7f; in testcase()
96 c = random() & 0x7f; in testcase()
/linux-6.6.21/arch/s390/boot/
Dkaslr.c57 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-6.6.21/arch/powerpc/mm/nohash/
Dkaslr_booke.c286 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-6.6.21/Documentation/admin-guide/
Dhw_random.rst2 Hardware random number generators
24 /dev/random special files.
30 and read() system calls, you can read random data from
36 data before assuming it is truly random.
63 using thermal noise generated from inherently random quantum
64 mechanical properties of silicon. When not generating new random
/linux-6.6.21/Documentation/devicetree/bindings/rng/
Dmicrochip,pic32-rng.txt3 The PIC32 RNG provides a pseudo random number generator which can be seeded by
4 another true random number generator.
Dintel,ixp46x-rng.yaml10 The Intel IXP46x has a random number generator at a fixed physical
12 32 bit random number.
Dsparc_sun_oracle_rng.txt21 name: 'random-number-generator'
28 name: 'random-number-generator'
/linux-6.6.21/Documentation/admin-guide/device-mapper/
Ddm-flakey.rst71 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
Ddm-zoned.rst11 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-6.6.21/tools/testing/selftests/powerpc/ptrace/
Dptrace-gpr.c99 r = random(); in rand_reg()
107 result |= random() << (__LONG_WIDTH__ - 31); in rand_reg()
112 result ^= random() << 16; in rand_reg()
/linux-6.6.21/tools/testing/selftests/gpio/
Dgpio-mockup.sh16 random=
303 if [ "$random" -a $width -gt 2 ]; then
319 random=true
/linux-6.6.21/drivers/gpu/drm/ci/
Dtestlist.txt368 kms_ccs@pipe-A-random-ccs-data-y_tiled_ccs
369 kms_ccs@pipe-A-random-ccs-data-yf_tiled_ccs
370 kms_ccs@pipe-A-random-ccs-data-y_tiled_gen12_rc_ccs
371 kms_ccs@pipe-A-random-ccs-data-y_tiled_gen12_rc_ccs_cc
372 kms_ccs@pipe-A-random-ccs-data-y_tiled_gen12_mc_ccs
373 kms_ccs@pipe-A-random-ccs-data-4_tiled_dg2_rc_ccs
374 kms_ccs@pipe-A-random-ccs-data-4_tiled_dg2_mc_ccs
375 kms_ccs@pipe-A-random-ccs-data-4_tiled_dg2_rc_ccs_cc
376 kms_ccs@pipe-A-random-ccs-data-4_tiled_mtl_rc_ccs
377 kms_ccs@pipe-A-random-ccs-data-4_tiled_mtl_mc_ccs
[all …]
/linux-6.6.21/arch/xtensa/platforms/iss/
Dnetwork.c126 goto random; in setup_etheraddr()
131 goto random; in setup_etheraddr()
136 goto random; in setup_etheraddr()
141 goto random; in setup_etheraddr()
149 random: in setup_etheraddr()
/linux-6.6.21/drivers/net/wireless/ath/carl9170/
DKconfig46 Provides a hardware random number generator to the kernel.
49 generated random numbers from the transport stream with
/linux-6.6.21/tools/testing/selftests/drivers/net/mlxsw/
Dsharedbuffer_configuration.py6 import random
49 th = random.randint(3, 16)
67 return arr[random.randint(0, len(arr) - 1)]
402 random.seed(0)
/linux-6.6.21/include/uapi/linux/netfilter/
Dxt_statistic.h27 } random; member
/linux-6.6.21/Documentation/devicetree/bindings/power/reset/
Dkeystone-reset.txt32 in format: <0>, <2>; It can be in random order and
34 reset watchdogs and can be in random order.
/linux-6.6.21/drivers/char/hw_random/
DKconfig15 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.
373 tristate "STMicroelectronics STM32 random number generator"
514 tristate "TI Keystone NETCP SA Hardware random number generator"
516 This option enables Keystone's hardware random generator.
583 This option enables UML's "hardware" random number generator. It
584 attaches itself to the host's /dev/random, supplying as much entropy
587 a device which is usually called /dev/hwrng. This hardware random
588 number generator does feed into the kernel's random number generator
/linux-6.6.21/arch/x86/tools/
Dinsn_sanity.c150 *(unsigned short *)(&insn_buff[i]) = random() & 0xffff; in generate_insn()
153 insn_buff[i++] = random() & 0xff; in generate_insn()
/linux-6.6.21/Documentation/firmware-guide/acpi/dsd/
Ddata-node-references.rst56 Package () { "random-property", 3 },
69 Package () { "random-property", 0 },
/linux-6.6.21/Documentation/translations/zh_TW/process/
Dsubmitting-patches.rst344 Signed-off-by: Random J Developer <random@developer.example.org>
359 Signed-off-by: Random J Developer <random@developer.example.org>
432 Co-developed-by: Random Co-Author <random@coauthor.example.org>
433 Signed-off-by: Random Co-Author <random@coauthor.example.org>
/linux-6.6.21/arch/s390/crypto/
Dprng.c298 static const u8 random[] __initconst = { in prng_sha512_selftest() local
332 u8 buf[sizeof(random)]; in prng_sha512_selftest()
357 if (memcmp(buf, random, sizeof(random)) != 0) { in prng_sha512_selftest()

12345678910