Home
last modified time | relevance | path

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

/kernel/linux/linux-6.6/drivers/char/hw_random/
H A Dcore.c313 struct hwrng *rng, *new_rng = NULL; in enable_best_rng() local
327 if (!new_rng || rng->quality > new_rng->quality) in enable_best_rng()
328 new_rng = rng; in enable_best_rng()
331 ret = ((new_rng == current_rng) ? 0 : set_current_rng(new_rng)); in enable_best_rng()
343 struct hwrng *rng, *old_rng, *new_rng; in rng_current_store() local
362 new_rng = get_current_rng_nolock(); in rng_current_store()
365 if (new_rng) { in rng_current_store()
366 if (new_rng ! in rng_current_store()
605 struct hwrng *old_rng, *new_rng; hwrng_unregister() local
[all...]
/kernel/linux/linux-5.10/drivers/char/hw_random/
H A Dcore.c316 struct hwrng *new_rng; in enable_best_rng() local
318 new_rng = list_entry(rng_list.next, struct hwrng, list); in enable_best_rng()
319 ret = ((new_rng == current_rng) ? 0 : set_current_rng(new_rng)); in enable_best_rng()
336 struct hwrng *rng, *old_rng, *new_rng; in hwrng_attr_current_store() local
354 new_rng = get_current_rng_nolock(); in hwrng_attr_current_store()
357 if (new_rng) { in hwrng_attr_current_store()
358 if (new_rng != old_rng) in hwrng_attr_current_store()
359 add_early_randomness(new_rng); in hwrng_attr_current_store()
360 put_rng(new_rng); in hwrng_attr_current_store()
546 struct hwrng *old_rng, *new_rng; hwrng_unregister() local
[all...]

Completed in 3 milliseconds