Lines Matching refs:entropy_store

459 struct entropy_store;
460 struct entropy_store { struct
465 struct entropy_store *pull; argument
480 static ssize_t extract_entropy(struct entropy_store *r, void *buf, argument
482 static ssize_t _extract_entropy(struct entropy_store *r, void *buf,
485 static void crng_reseed(struct crng_state *crng, struct entropy_store *r);
490 static struct entropy_store input_pool = {
497 static struct entropy_store blocking_pool = {
521 static void _mix_pool_bytes(struct entropy_store *r, const void *in, in _mix_pool_bytes()
568 static void __mix_pool_bytes(struct entropy_store *r, const void *in, in __mix_pool_bytes()
575 static void mix_pool_bytes(struct entropy_store *r, const void *in, in mix_pool_bytes()
645 static void credit_entropy_bits(struct entropy_store *r, int nbits) in credit_entropy_bits()
735 struct entropy_store *other = &blocking_pool; in credit_entropy_bits()
746 static int credit_entropy_bits_safe(struct entropy_store *r, int nbits) in credit_entropy_bits_safe()
924 static void crng_reseed(struct crng_state *crng, struct entropy_store *r) in crng_reseed()
1131 struct entropy_store *r; in add_timer_randomness()
1234 struct entropy_store *r; in add_interrupt_randomness()
1321 static void _xfer_secondary_pool(struct entropy_store *r, size_t nbytes);
1322 static void xfer_secondary_pool(struct entropy_store *r, size_t nbytes) in xfer_secondary_pool()
1332 static void _xfer_secondary_pool(struct entropy_store *r, size_t nbytes) in _xfer_secondary_pool()
1359 struct entropy_store *r = container_of(work, struct entropy_store, in push_to_pool()
1371 static size_t account(struct entropy_store *r, size_t nbytes, int min, in account()
1423 static void extract_buf(struct entropy_store *r, __u8 *out) in extract_buf()
1477 static ssize_t _extract_entropy(struct entropy_store *r, void *buf, in _extract_entropy()
1516 static ssize_t extract_entropy(struct entropy_store *r, void *buf, in extract_entropy()
1549 static ssize_t extract_entropy_user(struct entropy_store *r, void __user *buf, in extract_entropy_user()
1787 static void init_std_data(struct entropy_store *r) in init_std_data()
1921 write_pool(struct entropy_store *r, const char __user *buffer, size_t count) in write_pool()
2349 struct entropy_store *poolp = &input_pool; in add_hwgenerator_randomness()