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

/linux-4.1.27/drivers/char/hw_random/
H A Dcore.c59 /* Protects rng read functions, data_avail, rng_buffer and rng_fillbuf */
62 static u8 *rng_buffer, *rng_fillbuf; variable
412 rc = rng_get_data(rng, rng_fillbuf, hwrng_fillfn()
422 add_hwgenerator_randomness((void *)rng_fillbuf, rc, hwrng_fillfn()
456 if (!rng_fillbuf) { hwrng_register()
457 rng_fillbuf = kmalloc(rng_buffer_size(), GFP_KERNEL); hwrng_register()
458 if (!rng_fillbuf) { hwrng_register()
580 kfree(rng_fillbuf); hwrng_modexit()

Completed in 30 milliseconds