Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/char/hw_random/
Dcore.c307 struct hwrng *rng, *new_rng = NULL; in enable_best_rng() local
321 if (!new_rng || rng->quality > new_rng->quality) in enable_best_rng()
322 new_rng = rng; in enable_best_rng()
325 ret = ((new_rng == current_rng) ? 0 : set_current_rng(new_rng)); in enable_best_rng()
337 struct hwrng *rng, *old_rng, *new_rng; in rng_current_store() local
356 new_rng = get_current_rng_nolock(); in rng_current_store()
359 if (new_rng) { in rng_current_store()
360 if (new_rng != old_rng) in rng_current_store()
361 add_early_randomness(new_rng); in rng_current_store()
362 put_rng(new_rng); in rng_current_store()
[all …]