Lines Matching refs:dev
31 * driver for /dev/random kernel API.
34 * . High quality random by reading from /dev/random. The output is extracted
36 * . Pseudo-random, by reading from /dev/urandom, that can be generated any
220 rnd_close(dev_t dev, int flag, int otyp, cred_t *credp)
227 rnd_read(dev_t dev, struct uio *uiop, cred_t *credp)
235 devno = getminor(dev);
253 * /dev/[u]random is not a seekable device. To prevent
275 rnd_write(dev_t dev, struct uio *uiop, cred_t *credp)
282 devno = getminor(dev);
316 * . POLLIN and POLLRDNORM from /dev/urandom always succeeds.
317 * . POLLIN and POLLRDNORM from /dev/random will block until a
321 rnd_chpoll(dev_t dev, short events, int anyyet, short *reventsp,
324 switch (getminor(dev)) {