Searched refs:seed (Results 1 – 9 of 9) sorted by relevance
/arch/arm64/kernel/ |
D | kaslr.c | 81 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/ |
D | insn_sanity.c | 50 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/ |
D | carta_random.S | 19 #define seed r32 macro 24 pmpyshr2.u t0 = a, seed, 0 25 pmpyshr2.u t1 = a, seed, 16
|
/arch/s390/crypto/ |
D | prng.c | 236 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()
|
D | crypt_s390.h | 386 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/ |
D | netio_intf.h | 1844 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/ |
D | ev6-memcpy.S | 201 ldq_u $3, 0($17) # L : seed (rotating load) of 8 bytes
|
/arch/ia64/kernel/ |
D | perfmon.c | 253 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/ |
D | Kconfig | 851 random u64 value in /chosen/kaslr-seed at kernel entry.
|