Lines Matching refs:cdevsw
288 error = (*cdevsw[maj].d_open)(dev, ap->a_mode, S_IFCHR, p);
296 if (error == 0 && (D_TYPEMASK & cdevsw[maj].d_type) == D_DISK && !vp->v_un.vu_specinfo->si_initted) {
426 if ((D_TYPEMASK & cdevsw[major(vp->v_rdev)].d_type) == D_DISK && vp->v_un.vu_specinfo->si_throttleable) {
433 error = (*cdevsw[major(vp->v_rdev)].d_read)
519 if ((D_TYPEMASK & cdevsw[major(vp->v_rdev)].d_type) == D_DISK && vp->v_un.vu_specinfo->si_throttleable) {
528 error = (*cdevsw[major(vp->v_rdev)].d_write)
631 retval = (*cdevsw[major(dev)].d_ioctl)(dev, ap->a_command, ap->a_data,
676 return (*cdevsw[major(dev)].d_select)(dev, ap->a_which, ap->a_wql, p);
1818 if ((D_TRACKCLOSE & cdevsw[major(dev)].d_type) != 0 ||
1820 error = cdevsw[major(dev)].d_close(dev, flags, S_IFCHR, p);