Home
last modified time | relevance | path

Searched refs:seed (Results 1 – 9 of 9) sorted by relevance

/arch/arm64/kernel/
Dkaslr.c81 u64 seed, offset, mask, module_range; in kaslr_early_init() local
105 seed = get_kaslr_seed(fdt); in kaslr_early_init()
106 if (!seed) in kaslr_early_init()
127 offset = seed & mask; in kaslr_early_init()
130 memstart_offset_seed = seed >> 48; in kaslr_early_init()
179 module_alloc_base += (module_range * (seed & ((1 << 21) - 1))) >> 21; in kaslr_early_init()
/arch/x86/tools/
Dinsn_sanity.c50 static unsigned int seed; /* Random seed */ variable
118 fprintf(fp, " $ %s -s 0x%x,%lu\n", prog, seed, nr_iter); in dump_stream()
130 if (read(fd, &seed, sizeof(seed)) != sizeof(seed)) in init_random_seed()
202 seed = (unsigned int)strtoul(optarg, &tmp, 0); in parse_args()
232 srand(seed); in parse_args()
278 seed); in main()
/arch/ia64/lib/
Dcarta_random.S19 #define seed r32 macro
24 pmpyshr2.u t0 = a, seed, 0
25 pmpyshr2.u t1 = a, seed, 16
/arch/s390/crypto/
Dprng.c236 static const u8 seed[] __initconst = { in prng_sha512_selftest() local
316 seed, sizeof(seed)); in prng_sha512_selftest()
368 u8 seed[64]; in prng_sha512_instantiate() local
392 ret = generate_entropy(seed, 48); in prng_sha512_instantiate()
396 get_tod_clock_ext(seed + 48); in prng_sha512_instantiate()
401 seed, sizeof(seed)); in prng_sha512_instantiate()
442 u8 seed[32]; in prng_sha512_reseed() local
445 ret = generate_entropy(seed, sizeof(seed)); in prng_sha512_reseed()
446 if (ret != sizeof(seed)) in prng_sha512_reseed()
452 seed, sizeof(seed)); in prng_sha512_reseed()
Dcrypt_s390.h386 const u8 *seed, long seed_len) in crypt_s390_ppno() argument
392 register const u8 *__seed asm("4") = seed; /* buf with seed data */ in crypt_s390_ppno()
/arch/tile/include/hv/
Dnetio_intf.h1844 int location, uint16_t seed) in NETIO_PKT_DO_EGRESS_CSUM_MM() argument
1849 mmd->csum_seed = seed; in NETIO_PKT_DO_EGRESS_CSUM_MM()
1891 int location, uint16_t seed) in NETIO_PKT_DO_EGRESS_CSUM() argument
1895 NETIO_PKT_DO_EGRESS_CSUM_MM(mmd, pkt, start, length, location, seed); in NETIO_PKT_DO_EGRESS_CSUM()
/arch/alpha/lib/
Dev6-memcpy.S201 ldq_u $3, 0($17) # L : seed (rotating load) of 8 bytes
/arch/ia64/kernel/
Dperfmon.c253 unsigned long seed; /* seed for random-number generator */ member
2718 unsigned long new_seed, old_seed = reg->seed, mask = reg->mask; in pfm_new_counter_value()
2719 extern unsigned long carta_random32 (unsigned long seed); in pfm_new_counter_value()
2727 reg->seed = new_seed; in pfm_new_counter_value()
3160 ctx->ctx_pmds[cnum].seed = req->reg_random_seed; in pfm_write_pmds()
3223 ctx->ctx_pmds[cnum].seed, in pfm_write_pmds()
/arch/arm64/
DKconfig851 random u64 value in /chosen/kaslr-seed at kernel entry.