Lines Matching defs:pstat
2555 rndpoolstat_t *pstat = data;
2560 pstat->poolsize = ENTPOOL_SIZE/sizeof(uint32_t); /* words */
2561 pstat->threshold = MINENTROPYBITS/NBBY; /* bytes */
2562 pstat->maxentropy = ENTROPY_CAPACITY*NBBY; /* bits */
2565 pstat->added = 0; /* XXX total entropy_enter count */
2566 pstat->curentropy = MINENTROPYBITS - E->bitsneeded; /* bits */
2567 pstat->removed = 0; /* XXX total entropy_extract count */
2568 pstat->discarded = 0; /* XXX bits of entropy beyond capacity */
2575 pstat->generated = MINSAMPLES - E->samplesneeded;
2576 pstat->generated -= MIN(pstat->generated, pstat->curentropy);