Home
last modified time | relevance | path

Searched refs:ENTROPY_SHIFT (Results 1 – 1 of 1) sorted by relevance

/Linux-v5.10/drivers/char/
Drandom.c371 #define ENTROPY_SHIFT 3 macro
372 #define ENTROPY_BITS(r) ((r)->entropy_count >> ENTROPY_SHIFT)
428 #define S(x) ilog2(x)+5, (x), (x)*4, (x) << (ENTROPY_SHIFT+5)
665 int nfrac = nbits << ENTROPY_SHIFT; in credit_entropy_bits()
698 const int s = r->poolinfo->poolbitshift + ENTROPY_SHIFT + 2; in credit_entropy_bits()
726 entropy_count >> ENTROPY_SHIFT, _RET_IP_); in credit_entropy_bits()
729 int entropy_bits = entropy_count >> ENTROPY_SHIFT; in credit_entropy_bits()
1356 have_bytes = entropy_count >> (ENTROPY_SHIFT + 3); in account()
1369 nfrac = ibytes << (ENTROPY_SHIFT + 3); in account()
1834 nbytes = min_t(size_t, nbytes, INT_MAX >> (ENTROPY_SHIFT + 3)); in urandom_read_nowarn()
[all …]