Home
last modified time | relevance | path

Searched refs:vtrnd_value (Results 1 – 1 of 1) sorted by relevance

/freebsd/sys/dev/virtio/random/
H A Dvirtio_random.c57 uint32_t *vtrnd_value; member
150 len = sizeof(*sc->vtrnd_value) * HARVESTSIZE; in vtrnd_attach()
151 sc->vtrnd_value = malloc_aligned(len, len, M_DEVBUF, M_WAITOK); in vtrnd_attach()
152 sc->vtrnd_sg = sglist_build(sc->vtrnd_value, len, M_WAITOK); in vtrnd_attach()
216 zfree(sc->vtrnd_value, M_DEVBUF); in vtrnd_detach()
305 memcpy(buf, sc->vtrnd_value, *sz); in vtrnd_harvest()