Home
last modified time | relevance | path

Searched refs:getmajor (Results 1 – 25 of 142) sorted by relevance

123456

/titanic_44/usr/src/uts/common/os/
H A Ddriver.c285 cb = devopsp[getmajor(*devp)]->devo_cb_ops; in dev_open()
294 cb = (devopsp[getmajor(dev)])->devo_cb_ops; in dev_close()
406 major_t major = getmajor(dev); in dev_to_instance()
452 ops = devopsp[getmajor(bp->b_edev)]; in bdev_strategy()
480 cb = devopsp[getmajor(dev)]->devo_cb_ops; in bdev_print()
539 cb = devopsp[getmajor(dev)]->devo_cb_ops; in bdev_dump()
548 cb = devopsp[getmajor(dev)]->devo_cb_ops; in cdev_read()
557 cb = devopsp[getmajor(dev)]->devo_cb_ops; in cdev_write()
567 cb = devopsp[getmajor(dev)]->devo_cb_ops; in cdev_ioctl()
577 cb = devopsp[getmajor(dev)]->devo_cb_ops; in cdev_devmap()
[all …]
H A Ddriver_lyr.c194 return (modid + getminor(dev) + getmajor(dev)); in ident_hash_func()
379 mod_major_to_name(getmajor(vp->v_rdev)), in handle_alloc()
416 mod_major_to_name(getmajor(vp->v_rdev)), in handle_alloc()
437 mod_major_to_name(getmajor(lhp->lh_vp->v_rdev)), in handle_release()
760 if (devopsp[getmajor(vp->v_rdev)]->devo_cb_ops == NULL) in ldi_open_by_vp()
1025 ldi_usage->tgt_name = mod_major_to_name(getmajor(dev)); in ldi_usage_walker_tgt_helper()
1130 major = getmajor(dev); in ldi_usage_walker_helper()
1365 major = getmajor(stp->sd_vnode->v_rdev); in ldi_mlink_fp()
1417 major = getmajor(stp->sd_vnode->v_rdev); in ldi_munlink_fp()
1494 name = mod_major_to_name(getmajor(dev)); in ldi_ident_from_stream()
[all …]
/titanic_44/usr/src/cmd/getmajor/
H A DMakefile25 SHFILES= getmajor
31 USRSBINF= getmajor
/titanic_44/usr/src/uts/common/sys/
H A Dddi.h106 #undef getmajor
115 extern major_t getmajor(dev_t);
/titanic_44/usr/src/cmd/mdb/common/modules/specfs/
H A Dspecfs.c145 int major = getmajor(snode->s_dev); in snode_cb()
183 sd.sd_major = getmajor(dev); in snode()
241 sd.sd_major = getmajor(addr); in dev2snode()
/titanic_44/usr/src/uts/common/fs/pcfs/
H A Dpc_vfsops.c429 if (getmajor(*xdev) >= devcnt) { in pcfs_device_identify()
499 *pseudodev = makedevice(getmajor(xdev), in pcfs_device_ismounted()
1139 getmajor(fsp->pcfs_devvp->v_rdev), in pc_badfs()
1574 getmajor(dev), getminor(dev), ldrive); in findTheDrive()
1684 getmajor(dev), getminor(dev), ldrive, in findTheDrive()
1813 getmajor(fsp->pcfs_xdev), getminor(fsp->pcfs_xdev), in findTheDrive()
1954 getmajor(fsp->pcfs_xdev), in parseBPB()
1994 getmajor(fsp->pcfs_xdev), getminor(fsp->pcfs_xdev), in parseBPB()
2004 getmajor(fsp->pcfs_xdev), getminor(fsp->pcfs_xdev), in parseBPB()
2361 getmajor(fsp->pcfs_xdev), getminor(fsp->pcfs_xdev), in pcfs_device_getinfo()
[all …]
/titanic_44/usr/src/uts/common/io/
H A Dclone.c286 if (getmajor(newdev) != emaj) in clnopen()
299 ddi_major_to_name(emaj), getmajor(newdev)); in clnopen()
H A Ddrcompat.c200 dsp->dr_major = getmajor(*devp); in dropen()
H A Dgentty.c56 #define IS_STREAM(dev) (devopsp[getmajor(dev)]->devo_cb_ops->cb_str != NULL)
H A Dsad_conf.c274 apc.apc_major = getmajor(dev); in sad_ap_find_by_dev()
/titanic_44/usr/src/uts/sun4u/montecarlo/io/ttymux_dacf/
H A Dttymux_dacf.c256 getmajor(dev), getminor(dev)); in compatible_console()
303 ttymux_dprintf(DPRINT_L0, "%d:%d is %s\n", getmajor(dev), in compatible_console()
660 getmajor(cn->sm_dev), getminor(cn->sm_dev)); in link_aconsole()
666 getmajor(cn->sm_dev), getminor(cn->sm_dev)); in link_aconsole()
722 getmajor(cn->sm_dev), getminor(cn->sm_dev)); in enable_all_consoles()
/titanic_44/usr/src/lib/libdtrace/common/
H A Dio.d.in88 dev_major = B->b_dip != NULL ? getmajor(B->b_edev) :
89 getmajor(B->b_file->v_vfsp->vfs_dev);
96 stringof(`devnamesp[getmajor(B->b_edev)].dn_name);
98 stringof(`devnamesp[getmajor(B->b_edev)].dn_name),
/titanic_44/usr/src/uts/i86pc/i86hvm/io/
H A Dxdf_shell.c586 ASSERT(getmajor(dev) == xdfs_major); in xdfs_close()
587 if (getmajor(dev) != xdfs_major) in xdfs_close()
636 ASSERT(getmajor(dev) == xdfs_major); in xdfs_strategy()
637 if (getmajor(dev) != xdfs_major) in xdfs_strategy()
841 ASSERT((dev == DDI_DEV_T_ANY) || (getmajor(dev) == xdfs_major)); in xdfs_prop_op()
843 ((dev != DDI_DEV_T_ANY) && (getmajor(dev) != xdfs_major))) in xdfs_prop_op()
/titanic_44/usr/src/uts/sun/io/ttymux/
H A Dttymux_ioctl.c120 assoc->ttymux_linkid, getmajor(assoc->ttymux_ldev), in mblk2assoc()
190 getmajor(cn->sm_dev), getminor(cn->sm_dev))); in enable_device()
213 getmajor(cn->sm_dev), getminor(cn->sm_dev))); in disable_device()
654 getmajor(cn->sm_dev), getminor(cn->sm_dev))); in get_unconfigured_consoles32()
689 getmajor(cn->sm_dev), getminor(cn->sm_dev))); in count_unconfigured_consoles()
848 getmajor(assoc.ttymux_ldev), in ttymux_query_link_ioctl()
1212 method, enable, getmajor(ldev), getminor(ldev))); in ttymux_abort_ioctl()
/titanic_44/usr/src/uts/common/io/softmac/
H A Dsoftmac_main.c340 (getmajor(dev) == ddi_name_to_major("clone")) || in softmac_create()
422 index = (getmajor(dev) == ddi_name_to_major("clone")); in softmac_create()
958 (getmajor(dev) == ddi_name_to_major("clone")) || in softmac_destroy()
1064 index = (getmajor(dev) == ddi_name_to_major("clone")); in softmac_destroy()
1526 major = getmajor(dev); in softmac_hold_device()
1629 if ((drv = ddi_major_to_name(getmajor(dev))) == NULL) in softmac_hold()
/titanic_44/usr/src/cmd/dtrace/test/tst/common/aggs/
H A Dtst.subr.d76 INTFUNC(getmajor(0))
/titanic_44/usr/src/uts/i86pc/io/gfx_private/
H A Dgfxp_segmap.c70 if ((mapfunc = devopsp[getmajor(dev)]->devo_cb_ops->cb_mmap) == nodev) in gfxp_ddi_segmap_setup()
/titanic_44/usr/src/uts/common/fs/specfs/
H A Dspecvnops.c332 maj = getmajor(dev); in spec_size()
452 major_t maj = getmajor(dev); in spec_clone()
453 major_t newmaj = getmajor(newdev); in spec_clone()
635 maj = getmajor(dev); in spec_open()
709 int nmaj = getmajor(newdev); in spec_open()
926 if (getmajor(dev) != mm_major) in spec_close()
959 ddi_rele_driver(getmajor(dev)); in spec_close()
2230 } else if (devopsp[getmajor(dev)]->devo_cb_ops->cb_chpoll) { in spec_poll()
2261 if ((mapfunc = devopsp[getmajor(dev)]->devo_cb_ops->cb_mmap) == nodev) in spec_segmap()
2319 major_t maj = getmajor(dev); in spec_char_map()
/titanic_44/usr/src/uts/common/sys/fs/
H A Dsnode.h221 #define STABLEHASH(dev) ((getmajor(dev) + getminor(dev)) & (STABLESIZE - 1))
/titanic_44/usr/src/uts/common/rpc/
H A Dsvc_gen.c234 getmajor(fp->f_vnode->v_rdev) == udpmaj) in svc_tli_kcreate()
/titanic_44/usr/src/uts/common/fs/smbclnt/netsmb/
H A Dsmb_dev.c574 getmajor(dev) != nsmb_major) { in smb_usr_dup_dev()
621 getmajor(dev) != nsmb_major) { in smb_dev2share()
/titanic_44/usr/src/uts/common/fs/
H A Dlookup.c770 getmajor(v1->v_rdev) == getmajor(v2->v_rdev)) in vnode_match()
774 getmajor(v1->v_rdev) == getminor(v2->v_rdev)) in vnode_match()
778 getmajor(v2->v_rdev) == getminor(v1->v_rdev)) in vnode_match()
/titanic_44/usr/src/uts/common/fs/smbsrv/
H A Dsmb_init.c235 *devp = makedevice(getmajor(*devp), zid); in smb_drv_open()
/titanic_44/usr/src/uts/common/exec/elf/
H A Delf_notes.c413 fdinfo.pr_major = getmajor(vattr.va_fsid); in write_elfnotes()
419 fdinfo.pr_rmajor = getmajor(vattr.va_rdev); in write_elfnotes()
/titanic_44/usr/src/cmd/mdb/common/modules/genunix/
H A Ddevinfo.c817 getmajor(prop.prop_dev), in devinfo_print_props()
1439 mdb_printf("%x\n", getmajor(dev)); in dev2major()
1441 mdb_printf("0x%x (0t%d)\n", getmajor(dev), getmajor(dev)); in dev2major()
1477 mdb_printf("%10d %10d\n", getmajor(dev), getminor(dev)); in devt()

123456