/titanic_44/usr/src/uts/common/os/ |
H A D | driver.c | 285 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 D | driver_lyr.c | 194 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 D | Makefile | 25 SHFILES= getmajor 31 USRSBINF= getmajor
|
/titanic_44/usr/src/uts/common/sys/ |
H A D | ddi.h | 106 #undef getmajor 115 extern major_t getmajor(dev_t);
|
/titanic_44/usr/src/cmd/mdb/common/modules/specfs/ |
H A D | specfs.c | 145 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 D | pc_vfsops.c | 429 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 D | clone.c | 286 if (getmajor(newdev) != emaj) in clnopen() 299 ddi_major_to_name(emaj), getmajor(newdev)); in clnopen()
|
H A D | drcompat.c | 200 dsp->dr_major = getmajor(*devp); in dropen()
|
H A D | gentty.c | 56 #define IS_STREAM(dev) (devopsp[getmajor(dev)]->devo_cb_ops->cb_str != NULL)
|
H A D | sad_conf.c | 274 apc.apc_major = getmajor(dev); in sad_ap_find_by_dev()
|
/titanic_44/usr/src/uts/sun4u/montecarlo/io/ttymux_dacf/ |
H A D | ttymux_dacf.c | 256 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 D | io.d.in | 88 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 D | xdf_shell.c | 586 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 D | ttymux_ioctl.c | 120 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 D | softmac_main.c | 340 (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 D | tst.subr.d | 76 INTFUNC(getmajor(0))
|
/titanic_44/usr/src/uts/i86pc/io/gfx_private/ |
H A D | gfxp_segmap.c | 70 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 D | specvnops.c | 332 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 D | snode.h | 221 #define STABLEHASH(dev) ((getmajor(dev) + getminor(dev)) & (STABLESIZE - 1))
|
/titanic_44/usr/src/uts/common/rpc/ |
H A D | svc_gen.c | 234 getmajor(fp->f_vnode->v_rdev) == udpmaj) in svc_tli_kcreate()
|
/titanic_44/usr/src/uts/common/fs/smbclnt/netsmb/ |
H A D | smb_dev.c | 574 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 D | lookup.c | 770 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 D | smb_init.c | 235 *devp = makedevice(getmajor(*devp), zid); in smb_drv_open()
|
/titanic_44/usr/src/uts/common/exec/elf/ |
H A D | elf_notes.c | 413 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 D | devinfo.c | 817 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()
|