Lines Matching refs:entropy_store
419 struct entropy_store;
420 struct entropy_store { struct
425 struct entropy_store *pull; argument
446 static struct entropy_store input_pool = { argument
454 static struct entropy_store blocking_pool = {
465 static struct entropy_store nonblocking_pool = {
489 static void _mix_pool_bytes(struct entropy_store *r, const void *in, in _mix_pool_bytes()
536 static void __mix_pool_bytes(struct entropy_store *r, const void *in, in __mix_pool_bytes()
543 static void mix_pool_bytes(struct entropy_store *r, const void *in, in mix_pool_bytes()
597 static void credit_entropy_bits(struct entropy_store *r, int nbits) in credit_entropy_bits()
688 static struct entropy_store *last = &blocking_pool; in credit_entropy_bits()
689 struct entropy_store *other = &blocking_pool; in credit_entropy_bits()
705 static void credit_entropy_bits_safe(struct entropy_store *r, int nbits) in credit_entropy_bits_safe()
771 struct entropy_store *r; in add_timer_randomness()
876 struct entropy_store *r; in add_interrupt_randomness()
947 static ssize_t extract_entropy(struct entropy_store *r, void *buf,
955 static void _xfer_secondary_pool(struct entropy_store *r, size_t nbytes);
956 static void xfer_secondary_pool(struct entropy_store *r, size_t nbytes) in xfer_secondary_pool()
975 static void _xfer_secondary_pool(struct entropy_store *r, size_t nbytes) in _xfer_secondary_pool()
1004 struct entropy_store *r = container_of(work, struct entropy_store, in push_to_pool()
1016 static size_t account(struct entropy_store *r, size_t nbytes, int min, in account()
1070 static void extract_buf(struct entropy_store *r, __u8 *out) in extract_buf()
1133 static ssize_t extract_entropy(struct entropy_store *r, void *buf, in extract_entropy()
1187 static ssize_t extract_entropy_user(struct entropy_store *r, void __user *buf, in extract_entropy_user()
1289 static void init_std_data(struct entropy_store *r) in init_std_data()
1413 write_pool(struct entropy_store *r, const char __user *buffer, size_t count) in write_pool()
1769 struct entropy_store *poolp = &input_pool; in add_hwgenerator_randomness()