Searched refs:entsrc (Results 1 – 1 of 1) sorted by relevance
101 static physmem_entsrc_t entsrc; /* Physical mem as an entropy source */ variable229 if (physmem_ent_init(&entsrc) != 0) { in _init()254 physmem_ent_fini(&entsrc); in _init()340 physmem_ent_gen(&entsrc); in swrand_get_entropy()590 physmem_ent_init(physmem_entsrc_t *entsrc) in physmem_ent_init() argument595 bzero(entsrc, sizeof (*entsrc)); in physmem_ent_init()603 entsrc->entperblock++; in physmem_ent_init()608 if (entsrc->nblocks == 0) { in physmem_ent_init()614 entsrc->parity = kmem_alloc(howmany(entsrc->nblocks, 8), in physmem_ent_init()616 entsrc->pmbuf = vmem_alloc(heap_arena, PAGESIZE, VM_SLEEP); in physmem_ent_init()[all …]