Lines Matching refs:ENTROPY_BITS
371 #define ENTROPY_BITS(r) ((r)->entropy_count >> ENTROPY_SHIFT) macro
813 (ENTROPY_BITS(r) > 6 * r->poolinfo->poolbytes) && in credit_entropy_bits()
814 (ENTROPY_BITS(other) <= 6 * other->poolinfo->poolbytes)) in credit_entropy_bits()
1266 trace_add_input_randomness(ENTROPY_BITS(&input_pool)); in add_input_randomness()
1381 trace_add_disk_randomness(disk_devt(disk), ENTROPY_BITS(&input_pool)); in add_disk_randomness()
1420 ENTROPY_BITS(r), ENTROPY_BITS(r->pull)); in _xfer_secondary_pool()
1605 ENTROPY_BITS(r), _RET_IP_); in extract_entropy()
1614 trace_extract_entropy(r->name, nbytes, ENTROPY_BITS(r), _RET_IP_); in extract_entropy()
1632 trace_extract_entropy_user(r->name, nbytes, ENTROPY_BITS(r), _RET_IP_); in extract_entropy_user()
1634 xfer_secondary_pool(r, ENTROPY_BITS(r->pull)/8); in extract_entropy_user()
1999 ENTROPY_BITS(&blocking_pool), in _random_read()
2000 ENTROPY_BITS(&input_pool)); in _random_read()
2010 (ENTROPY_BITS(&input_pool) >= random_read_wakeup_bits)); in _random_read()
2041 trace_urandom_read(8 * nbytes, 0, ENTROPY_BITS(&input_pool)); in urandom_read()
2053 if (ENTROPY_BITS(&input_pool) >= random_read_wakeup_bits) in random_poll()
2055 if (ENTROPY_BITS(&input_pool) < random_write_wakeup_bits) in random_poll()
2111 ent_count = ENTROPY_BITS(&input_pool); in random_ioctl()
2503 ENTROPY_BITS(&input_pool) <= random_write_wakeup_bits); in add_hwgenerator_randomness()