Searched refs:arch_rng_buf_idx (Results 1 – 1 of 1) sorted by relevance
49 static unsigned int arch_rng_buf_idx; variable61 arch_rng_buf_idx -= nbytes; in s390_arch_random_generate()62 if (arch_rng_buf_idx < ARCH_RNG_BUF_SIZE) { in s390_arch_random_generate()63 memcpy(buf, arch_rng_buf + arch_rng_buf_idx, nbytes); in s390_arch_random_generate()81 if (arch_rng_buf_idx > ARCH_RNG_BUF_SIZE) { in arch_rng_refill_buffer()93 arch_rng_buf_idx = ARCH_RNG_BUF_SIZE; in arch_rng_refill_buffer()95 delay += (ARCH_REFILL_TICKS * arch_rng_buf_idx) / ARCH_RNG_BUF_SIZE; in arch_rng_refill_buffer()