Lines Matching refs:major
250 if ((major(dev) < nblkdev) && (size = bdevsw[major(dev)].d_psize)) {
267 int maj = major(dev);
290 int maj = major(dev);
465 if (cdevsw[major(vp->v_rdev)].d_type == D_DISK && vp->v_un.vu_specinfo->si_throttleable) {
471 error = (*cdevsw[major(vp->v_rdev)].d_read)
557 if (cdevsw[major(vp->v_rdev)].d_type == D_DISK && vp->v_un.vu_specinfo->si_throttleable) {
566 error = (*cdevsw[major(vp->v_rdev)].d_write)
669 retval = (*cdevsw[major(dev)].d_ioctl)(dev, ap->a_command, ap->a_data,
688 retval = (*bdevsw[major(dev)].d_ioctl)(dev, ap->a_command, ap->a_data, ap->a_fflag, p);
714 return (*cdevsw[major(dev)].d_select)(dev, ap->a_which, ap->a_wql, p);
2093 strategy_ret = (*(strategy_fcn_ret_t*)bdevsw[major(bdev)].d_strategy)(bp);
2183 panic("negative open count (c, %u, %u)", major(dev), minor(dev));
2189 error = cdevsw[major(dev)].d_close(dev, flags, S_IFCHR, p);
2222 panic("negative open count (b, %u, %u)", major(dev), minor(dev));
2225 error = bdevsw[major(dev)].d_close(dev, flags, S_IFBLK, p);
2367 if (major(dev) > nchrdev) {
2371 if ((cdevsw_flags[major(dev)] & CDEVSW_SELECT_KQUEUE) == 0) {
2440 flags = cdevsw_flags[major(dev)];