Lines Matching refs:dev
302 dev_t dev;
308 dev = (dev_t)arg;
309 *result = (void *)(unsigned long)getminor(dev);
329 _nsctl_print(dev_t dev, char *s)
410 /* Check all devices were closed. Index 0 is the prototype dev. */
515 _nscopen(dev_t dev, intptr_t arg, int mode, int *rvp)
517 minor_t mindev = getminor(dev);
573 nscclose(dev_t dev, int flag, int otyp, cred_t *crp)
575 minor_t mindev = getminor(dev);
600 nscread(dev_t dev, uio_t *uiop, cred_t *crp)
602 minor_t mindev = getminor(dev);
631 nscwrite(dev_t dev, uio_t *uiop, cred_t *crp)
633 minor_t mindev = getminor(dev);
660 _nscreserve(dev_t dev, int *rvp)
662 minor_t mindev = getminor(dev);
689 _nscrelease(dev_t dev, int *rvp)
691 minor_t mindev = getminor(dev);
714 _nscpartsize(dev_t dev, intptr_t arg, int mode)
717 minor_t mindev = getminor(dev);
754 nscioctl(dev_t dev, int cmd, intptr_t arg, int mode, cred_t *crp, int *rvp)
764 rc = _nscopen(dev, arg, mode, rvp);
768 rc = _nscreserve(dev, rvp);
772 rc = _nscrelease(dev, rvp);
776 rc = _nscpartsize(dev, arg, mode);