Searched refs:new_rng (Results 1 – 1 of 1) sorted by relevance
307 struct hwrng *new_rng; in enable_best_rng() local309 new_rng = list_entry(rng_list.next, struct hwrng, list); in enable_best_rng()310 ret = ((new_rng == current_rng) ? 0 : set_current_rng(new_rng)); in enable_best_rng()327 struct hwrng *rng, *old_rng, *new_rng; in rng_current_store() local345 new_rng = get_current_rng_nolock(); in rng_current_store()348 if (new_rng) { in rng_current_store()349 if (new_rng != old_rng) in rng_current_store()350 add_early_randomness(new_rng); in rng_current_store()351 put_rng(new_rng); in rng_current_store()531 struct hwrng *old_rng, *new_rng; in hwrng_unregister() local[all …]