Home
last modified time | relevance | path

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

12345678910

/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/arch/x86/lib/
Dkaslr.c56 unsigned long raw, random = get_boot_seed(); in kaslr_get_random_long() local
65 random ^= raw; in kaslr_get_random_long()
74 random ^= raw; in kaslr_get_random_long()
80 random ^= i8254(); in kaslr_get_random_long()
85 : "=a" (random), "=d" (raw) in kaslr_get_random_long()
86 : "a" (random), "rm" (mix_const)); in kaslr_get_random_long()
87 random += raw; in kaslr_get_random_long()
91 return random; in kaslr_get_random_long()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/arch/s390/boot/
Dkaslr.c56 unsigned long seed, random; in get_random() local
65 cpacf_trng(NULL, 0, (u8 *) &random, sizeof(random)); in get_random()
70 cpacf_prno(CPACF_PRNO_SHA512_DRNG_GEN, &prno, (u8 *) &random, in get_random()
71 sizeof(random), NULL, 0); in get_random()
82 random = seed; in get_random()
83 cpacf_kmc(CPACF_KMC_PRNG, prng.parm_block, (u8 *) &random, in get_random()
84 (u8 *) &random, sizeof(random)); in get_random()
89 *value = random % limit; in get_random()
/kernel/liteos_a/drivers/char/random/
DKconfig2 bool "Enable random"
6 Answer Y to support random.
9 bool "Select hw random"
12 Answer Y to select hw random.
DMakefile34 LOCAL_SRCS := $(wildcard src/random.c)
/kernel/linux/linux-5.10/arch/powerpc/mm/nohash/
Dkaslr_booke.c288 unsigned long offset, random; in kaslr_choose_location() local
297 random = get_boot_seed(dt_ptr); in kaslr_choose_location()
301 random = rotate_xor(random, &seed, sizeof(seed)); in kaslr_choose_location()
308 random = rotate_xor(random, &seed, sizeof(seed)); in kaslr_choose_location()
340 index = random & 0xFF; in kaslr_choose_location()
344 offset = random % (SZ_64M - kernel_sz); in kaslr_choose_location()
/kernel/linux/linux-5.10/Documentation/admin-guide/
Dhw_random.rst2 Linux support for random number generator in i8xx chipsets
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
/kernel/linux/linux-5.10/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.
Dsparc_sun_oracle_rng.txt21 name: 'random-number-generator'
28 name: 'random-number-generator'
/kernel/linux/linux-5.10/Documentation/admin-guide/device-mapper/
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
/kernel/linux/linux-5.10/drivers/net/wireless/ath/carl9170/
DKconfig46 Provides a hardware random number generator to the kernel.
49 generated random numbers from the transport stream with
/kernel/linux/linux-5.10/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)
/kernel/linux/linux-5.10/arch/xtensa/platforms/iss/
Dnetwork.c130 goto random; in setup_etheraddr()
135 goto random; in setup_etheraddr()
140 goto random; in setup_etheraddr()
145 goto random; in setup_etheraddr()
152 random: in setup_etheraddr()
/kernel/linux/linux-5.10/tools/testing/selftests/vm/
DMakefile33 TEST_GEN_FILES += mlock-random-test
136 $(OUTPUT)/mlock-random-test: LDLIBS += -lcap
D.gitignore16 mlock-random-test
/kernel/liteos_a/compat/posix/src/
Dstdlib.c50 return random(); in rand()
/kernel/liteos_a/testsuites/unittest/libc/sys/smoke/
Dsys_test_005.cpp39 x = random(); in TestCase()
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/netfilter/
Dxt_statistic.h39 } random; member
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/netfilter/
Dxt_statistic.h26 } random; member
/kernel/linux/linux-5.10/include/uapi/linux/netfilter/
Dxt_statistic.h27 } random; member
/kernel/liteos_a/kernel/common/
DMakefile37 -I $(LITEOSTOPDIR)/bsd/dev/random
/kernel/liteos_a/bsd/
DMakefile42 $(wildcard dev/random/*.c) \
/kernel/linux/linux-5.10/arch/arc/include/asm/
Dtlb-mmu1.h22 ; and its unpleasant LFSR pseudo-random sequence

12345678910