Lines Matching refs:epoch
497 * Return the current entropy epoch, from the sysctl node
498 * kern.entropy.epoch.
500 * The entropy epoch is never zero. Initially, or on error, it is
514 unsigned epoch = (unsigned)-1;
515 size_t epochlen = sizeof(epoch);
517 if (sysctl(mib, __arraycount(mib), &epoch, &epochlen, NULL, 0) == -1)
519 if (epochlen != sizeof(epoch))
522 return epoch;
535 unsigned epoch = entropy_epoch();
559 prng->arc4_epoch = epoch;
914 * Verify the epoch has been set to zero by fork.