Searched refs:entropy_count (Results  1 – 3 of 3) sorted by relevance
| /Linux-v5.4/include/trace/events/ | 
| D | random.h | 64 	TP_PROTO(const char *pool_name, int bits, int entropy_count,67 	TP_ARGS(pool_name, bits, entropy_count, IP),
 72 		__field(	  int,	entropy_count		)
 79 		__entry->entropy_count	= entropy_count;
 85 		  __entry->entropy_count, (void *)__entry->IP)
 224 	TP_PROTO(const char *pool_name, int nbytes, int entropy_count,
 227 	TP_ARGS(pool_name, nbytes, entropy_count, IP),
 232 		__field(	  int,	entropy_count		)
 239 		__entry->entropy_count	= entropy_count;
 244 		  __entry->pool_name, __entry->nbytes, __entry->entropy_count,
 [all …]
 
 | 
| /Linux-v5.4/drivers/char/ | 
| D | random.c | 371 #define ENTROPY_BITS(r) ((r)->entropy_count >> ENTROPY_SHIFT)541 	int entropy_count;  member
 714 	int entropy_count, orig, has_initialized = 0;  in credit_entropy_bits()  local
 722 	entropy_count = orig = READ_ONCE(r->entropy_count);  in credit_entropy_bits()
 725 		entropy_count += nfrac;  in credit_entropy_bits()
 755 				((pool_size - entropy_count)*anfrac*3) >> s;  in credit_entropy_bits()
 757 			entropy_count += add;  in credit_entropy_bits()
 759 		} while (unlikely(entropy_count < pool_size-2 && pnfrac));  in credit_entropy_bits()
 762 	if (unlikely(entropy_count < 0)) {  in credit_entropy_bits()
 764 			r->name, entropy_count);  in credit_entropy_bits()
 [all …]
 
 | 
| /Linux-v5.4/include/uapi/linux/ | 
| D | random.h | 42 	int	entropy_count;  member
 |