Lines Matching refs:entropy_store

527 struct entropy_store;
528 struct entropy_store { struct
533 struct entropy_store *pull; argument
547 static ssize_t extract_entropy(struct entropy_store *r, void *buf, argument
549 static ssize_t _extract_entropy(struct entropy_store *r, void *buf,
552 static void crng_reseed(struct crng_state *crng, struct entropy_store *r);
557 static struct entropy_store input_pool = {
564 static struct entropy_store blocking_pool = {
588 static void _mix_pool_bytes(struct entropy_store *r, const void *in, in _mix_pool_bytes()
635 static void __mix_pool_bytes(struct entropy_store *r, const void *in, in __mix_pool_bytes()
642 static void mix_pool_bytes(struct entropy_store *r, const void *in, in mix_pool_bytes()
712 static void credit_entropy_bits(struct entropy_store *r, int nbits) in credit_entropy_bits()
786 struct entropy_store *other = &blocking_pool; in credit_entropy_bits()
819 static int credit_entropy_bits_safe(struct entropy_store *r, int nbits) in credit_entropy_bits_safe()
1000 static void crng_reseed(struct crng_state *crng, struct entropy_store *r) in crng_reseed()
1207 struct entropy_store *r; in add_timer_randomness()
1310 struct entropy_store *r; in add_interrupt_randomness()
1397 static void _xfer_secondary_pool(struct entropy_store *r, size_t nbytes);
1398 static void xfer_secondary_pool(struct entropy_store *r, size_t nbytes) in xfer_secondary_pool()
1408 static void _xfer_secondary_pool(struct entropy_store *r, size_t nbytes) in _xfer_secondary_pool()
1435 struct entropy_store *r = container_of(work, struct entropy_store, in push_to_pool()
1447 static size_t account(struct entropy_store *r, size_t nbytes, int min, in account()
1499 static void extract_buf(struct entropy_store *r, __u8 *out) in extract_buf()
1553 static ssize_t _extract_entropy(struct entropy_store *r, void *buf, in _extract_entropy()
1592 static ssize_t extract_entropy(struct entropy_store *r, void *buf, in extract_entropy()
1625 static ssize_t extract_entropy_user(struct entropy_store *r, void __user *buf, in extract_entropy_user()
1928 static void __init init_std_data(struct entropy_store *r) in init_std_data()
2061 write_pool(struct entropy_store *r, const char __user *buffer, size_t count) in write_pool()
2491 struct entropy_store *poolp = &input_pool; in add_hwgenerator_randomness()