Searched refs:entropy_count (Results 1 – 4 of 4) sorted by relevance
/linux/include/trace/events/ |
A 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) 173 TP_PROTO(const char *pool_name, int nbytes, int entropy_count, 176 TP_ARGS(pool_name, nbytes, entropy_count, IP), 181 __field( int, entropy_count ) 188 __entry->entropy_count = entropy_count; 199 TP_PROTO(const char *pool_name, int nbytes, int entropy_count, [all …]
|
/linux/drivers/char/ |
A D | random.c | 502 int entropy_count; member 662 int entropy_count, orig; in credit_entropy_bits() local 670 entropy_count = orig = READ_ONCE(r->entropy_count); in credit_entropy_bits() 705 entropy_count += add; in credit_entropy_bits() 713 entropy_count = 0; in credit_entropy_bits() 716 if (cmpxchg(&r->entropy_count, orig, entropy_count) != orig) in credit_entropy_bits() 1330 entropy_count = orig = READ_ONCE(r->entropy_count); in account() 1344 entropy_count = 0; in account() 1350 entropy_count = 0; in account() 1352 if (cmpxchg(&r->entropy_count, orig, entropy_count) != orig) in account() [all …]
|
/linux/tools/testing/selftests/wireguard/qemu/ |
A D | init.c | 61 int entropy_count; in seed_rng() member 65 .entropy_count = sizeof(entropy.buffer) * 8, in seed_rng()
|
/linux/include/uapi/linux/ |
A D | random.h | 42 int entropy_count; member
|
Completed in 9 milliseconds