Home
last modified time | relevance | path

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

/Linux-v5.15/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)
664 int nfrac = nbits << ENTROPY_SHIFT; in credit_entropy_bits()
697 const int s = r->poolinfo->poolbitshift + ENTROPY_SHIFT + 2; in credit_entropy_bits()
720 entropy_count >> ENTROPY_SHIFT, _RET_IP_); in credit_entropy_bits()
723 int entropy_bits = entropy_count >> ENTROPY_SHIFT; in credit_entropy_bits()
1333 have_bytes = entropy_count >> (ENTROPY_SHIFT + 3); in account()
1346 nfrac = ibytes << (ENTROPY_SHIFT + 3); in account()
1810 nbytes = min_t(size_t, nbytes, INT_MAX >> (ENTROPY_SHIFT + 3)); in urandom_read_nowarn()
[all …]