Lines Matching refs:dev
69 dev_t dev;
263 minor_t minor = getminor(mdsp->dev);
300 mdsp->dev = makedevice(major, minor);
303 *devp = mdsp->dev;
364 mdesc_close(dev_t dev, int flag, int otyp, cred_t *credp)
367 int instance = getminor(dev);
397 mdesc_read(dev_t dev, struct uio *uiop, cred_t *credp)
399 return (mdesc_rw(dev, uiop, UIO_READ));
407 mdesc_write(dev_t dev, struct uio *uiop, cred_t *credp)
416 mdesc_rw(dev_t dev, struct uio *uiop, enum uio_rw rw)
419 int instance = getminor(dev);
480 mdesc_ioctl(dev_t dev, int cmd, intptr_t arg, int mode, cred_t *credp,
484 int instance = getminor(dev);