Lines Matching refs:dev
275 cnopen(dev_t *dev, int flag, int state, struct cred *cred)
311 if (state != OTYP_CHR || getminor(*dev) != 0)
314 uconsdev = *dev;
316 if (vn_open("/dev/console", UIO_SYSSPACE, FWRITE | FNOCTTY,
349 cnclose(dev_t dev, int flag, int state, struct cred *cred)
377 cnread(dev_t dev, struct uio *uio, struct cred *cred)
405 cnwrite(dev_t dev, struct uio *uio, struct cred *cred)
435 cnprivateioc(dev_t dev, int cmd, intptr_t arg, int flag, struct cred *cred,
460 cnioctl(dev_t dev, int cmd, intptr_t arg, int flag, struct cred *cred,
468 * has two sources -- either /dev/console or /dev/vt/0 .
477 return (cnprivateioc(dev, cmd, arg, flag, cred, rvalp));
488 cnpoll(dev_t dev, short events, int anyyet, short *reventsp,
492 return (nochpoll(dev, events, anyyet, reventsp, phpp));