tag | line | file | source code |
random_state | 225 | drivers/char/random.c | static struct random_bucket random_state; |
random_state | 252 | drivers/char/random.c | random_state.add_ptr = 0; |
random_state | 253 | drivers/char/random.c | random_state.entropy_count = 0; |
random_state | 254 | drivers/char/random.c | random_state.pool = random_pool; |
random_state | 422 | drivers/char/random.c | add_timer_randomness(&random_state, &keyboard_timer_state, scancode); |
random_state | 427 | drivers/char/random.c | add_timer_randomness(&random_state, &mouse_timer_state, mouse_data); |
random_state | 435 | drivers/char/random.c | add_timer_randomness(&random_state, irq_timer_state[irq], 0x100+irq); |
random_state | 449 | drivers/char/random.c | add_timer_randomness(&random_state, blkdev_timer_state[major], |
random_state | 642 | drivers/char/random.c | extract_entropy(&random_state, (char *) buf, nbytes, 0); |
random_state | 661 | drivers/char/random.c | if (n > random_state.entropy_count / 8) |
random_state | 662 | drivers/char/random.c | n = random_state.entropy_count / 8; |
random_state | 675 | drivers/char/random.c | n = extract_entropy(&random_state, buf, n, 1); |
random_state | 692 | drivers/char/random.c | return extract_entropy(&random_state, buf, nbytes, 1); |
random_state | 700 | drivers/char/random.c | if (random_state.entropy_count >= 8) |
random_state | 718 | drivers/char/random.c | add_entropy_word(&random_state, word); |
random_state | 723 | drivers/char/random.c | add_entropy_word(&random_state, word); |
random_state | 742 | drivers/char/random.c | put_user(random_state.entropy_count, (int *) arg); |
random_state | 750 | drivers/char/random.c | random_state.entropy_count += get_user((int *) arg); |
random_state | 751 | drivers/char/random.c | if (random_state.entropy_count > POOLBITS) |
random_state | 752 | drivers/char/random.c | random_state.entropy_count = POOLBITS; |
random_state | 761 | drivers/char/random.c | put_user(random_state.entropy_count, p++); |
random_state | 771 | drivers/char/random.c | memcpy_tofs(++p, random_state.pool, |
random_state | 784 | drivers/char/random.c | random_state.entropy_count += ent_count; |
random_state | 785 | drivers/char/random.c | if (random_state.entropy_count > POOLBITS) |
random_state | 786 | drivers/char/random.c | random_state.entropy_count = POOLBITS; |
random_state | 791 | drivers/char/random.c | random_state.entropy_count = 0; |