primary_crng 487 drivers/char/random.c static struct crng_state primary_crng = { primary_crng 488 drivers/char/random.c .lock = __SPIN_LOCK_UNLOCKED(primary_crng.lock), primary_crng 791 drivers/char/random.c crng_reseed(&primary_crng, r); primary_crng 870 drivers/char/random.c if (crng == &primary_crng) primary_crng 883 drivers/char/random.c if (trust_cpu && arch_init && crng == &primary_crng) { primary_crng 934 drivers/char/random.c if (!spin_trylock_irqsave(&primary_crng.lock, flags)) primary_crng 937 drivers/char/random.c spin_unlock_irqrestore(&primary_crng.lock, flags); primary_crng 940 drivers/char/random.c p = (unsigned char *) &primary_crng.state[4]; primary_crng 945 drivers/char/random.c spin_unlock_irqrestore(&primary_crng.lock, flags); primary_crng 976 drivers/char/random.c char * dest_buf = (char *) &primary_crng.state[4]; primary_crng 978 drivers/char/random.c if (!spin_trylock_irqsave(&primary_crng.lock, flags)) primary_crng 981 drivers/char/random.c spin_unlock_irqrestore(&primary_crng.lock, flags); primary_crng 996 drivers/char/random.c spin_unlock_irqrestore(&primary_crng.lock, flags); primary_crng 1014 drivers/char/random.c _extract_crng(&primary_crng, buf.block); primary_crng 1015 drivers/char/random.c _crng_backtrack_protect(&primary_crng, buf.block, primary_crng 1029 drivers/char/random.c if (crng == &primary_crng && crng_init < 2) { primary_crng 1059 drivers/char/random.c crng_reseed(crng, crng == &primary_crng ? &input_pool : NULL); primary_crng 1078 drivers/char/random.c crng = &primary_crng; primary_crng 1115 drivers/char/random.c crng = &primary_crng; primary_crng 1960 drivers/char/random.c crng_initialize(&primary_crng); primary_crng 2036 drivers/char/random.c spin_lock_irqsave(&primary_crng.lock, flags); primary_crng 2038 drivers/char/random.c spin_unlock_irqrestore(&primary_crng.lock, flags); primary_crng 2152 drivers/char/random.c crng_reseed(&primary_crng, NULL);