Lines Matching refs:dev
305 dev_t dev;
311 dev = (dev_t)arg;
312 *result = (void *)(unsigned long)getminor(dev);
332 _nsctl_print(dev_t dev, char *s)
413 /* Check all devices were closed. Index 0 is the prototype dev. */
518 _nscopen(dev_t dev, intptr_t arg, int mode, int *rvp)
520 minor_t mindev = getminor(dev);
576 nscclose(dev_t dev, int flag, int otyp, cred_t *crp)
578 minor_t mindev = getminor(dev);
603 nscread(dev_t dev, uio_t *uiop, cred_t *crp)
605 minor_t mindev = getminor(dev);
634 nscwrite(dev_t dev, uio_t *uiop, cred_t *crp)
636 minor_t mindev = getminor(dev);
663 _nscreserve(dev_t dev, int *rvp)
665 minor_t mindev = getminor(dev);
692 _nscrelease(dev_t dev, int *rvp)
694 minor_t mindev = getminor(dev);
717 _nscpartsize(dev_t dev, intptr_t arg, int mode)
720 minor_t mindev = getminor(dev);
757 nscioctl(dev_t dev, int cmd, intptr_t arg, int mode, cred_t *crp, int *rvp)
767 rc = _nscopen(dev, arg, mode, rvp);
771 rc = _nscreserve(dev, rvp);
775 rc = _nscrelease(dev, rvp);
779 rc = _nscpartsize(dev, arg, mode);