Lines Matching refs:major
212 if ((major(dev) < nblkdev) && (size = bdevsw[major(dev)].d_psize)) {
229 int maj = major(dev);
252 int maj = major(dev);
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,
650 retval = (*bdevsw[major(dev)].d_ioctl)(dev, ap->a_command, ap->a_data, ap->a_fflag, p);
676 return (*cdevsw[major(dev)].d_select)(dev, ap->a_which, ap->a_wql, p);
1729 strategy_ret = (*(strategy_fcn_ret_t*)bdevsw[major(bdev)].d_strategy)(bp);
1813 panic("negative open count (c, %u, %u)", major(dev), minor(dev));
1818 if ((D_TRACKCLOSE & cdevsw[major(dev)].d_type) != 0 ||
1820 error = cdevsw[major(dev)].d_close(dev, flags, S_IFCHR, p);
1853 panic("negative open count (b, %u, %u)", major(dev), minor(dev));
1856 error = bdevsw[major(dev)].d_close(dev, flags, S_IFBLK, p);
1998 if (major(dev) > nchrdev) {
2002 if ((cdevsw_flags[major(dev)] & CDEVSW_SELECT_KQUEUE) == 0) {
2071 flags = cdevsw_flags[major(dev)];