Home
last modified time | relevance | path

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

123456

/illumos-gate/usr/src/uts/common/os/
H A Ddriver.c287 cb = devopsp[getmajor(*devp)]->devo_cb_ops; in dev_open()
296 cb = (devopsp[getmajor(dev)])->devo_cb_ops; in dev_close()
408 major_t major = getmajor(dev); in dev_to_instance()
442 ops = devopsp[getmajor(bp->b_edev)]; in bdev_strategy()
464 cb = devopsp[getmajor(dev)]->devo_cb_ops; in bdev_print()
523 cb = devopsp[getmajor(dev)]->devo_cb_ops; in bdev_dump()
532 cb = devopsp[getmajor(dev)]->devo_cb_ops; in cdev_read()
541 cb = devopsp[getmajor(dev)]->devo_cb_ops; in cdev_write()
551 cb = devopsp[getmajor(dev)]->devo_cb_ops; in cdev_ioctl()
561 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()
1315 major = getmajor(stp->sd_vnode->v_rdev); in ldi_mlink_fp()
1417 major = getmajor(stp->sd_vnode->v_rdev); in ldi_munlink_fp()
1511 name = mod_major_to_name(getmajor(dev)); in ldi_ident_from_stream()
[all …]
/illumos-gate/usr/src/cmd/getmajor/
H A DMakefile25 SHFILES= getmajor
31 USRSBINF= getmajor
/illumos-gate/usr/src/uts/common/sys/
H A Dddi.h106 #undef getmajor
115 extern major_t getmajor(dev_t);
/illumos-gate/usr/src/cmd/mdb/common/modules/specfs/
H A Dspecfs.c143 int major = getmajor(snode->s_dev); in snode_cb()
181 sd.sd_major = getmajor(dev); in snode()
239 sd.sd_major = getmajor(addr); in dev2snode()
/illumos-gate/usr/src/uts/common/fs/pcfs/
H A Dpc_vfsops.c435 if (getmajor(*xdev) >= devcnt) { in pcfs_device_identify()
505 *pseudodev = makedevice(getmajor(xdev), in pcfs_device_ismounted()
1164 getmajor(fsp->pcfs_devvp->v_rdev), in pc_badfs()
1602 getmajor(dev), getminor(dev), ldrive); in findTheDrive()
1712 getmajor(dev), getminor(dev), ldrive, in findTheDrive()
1841 getmajor(fsp->pcfs_xdev), getminor(fsp->pcfs_xdev), in findTheDrive()
1982 getmajor(fsp->pcfs_xdev), in parseBPB()
2022 getmajor(fsp->pcfs_xdev), getminor(fsp->pcfs_xdev), in parseBPB()
2032 getmajor(fsp->pcfs_xdev), getminor(fsp->pcfs_xdev), in parseBPB()
2389 getmajor(fsp->pcfs_xdev), getminor(fsp->pcfs_xdev), in pcfs_device_getinfo()
[all …]
/illumos-gate/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.c272 apc.apc_major = getmajor(dev); in sad_ap_find_by_dev()
/illumos-gate/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),
/illumos-gate/usr/src/lib/smbclnt/libfknsmb/common/
H A Dfake_ddi.c53 getmajor(dev_t dev) in getmajor() function
/illumos-gate/usr/src/test/zfs-tests/tests/functional/devices/
H A Ddevices_common.kshlib107 log_must mknod $filename c $(getmajor mm) 2
/illumos-gate/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()
/illumos-gate/usr/src/uts/common/fs/smbsrv/
H A Dsmb_init.c270 clone = makedevice(getmajor(*devp), mi); in smb_drv_open_ctl()
297 *devp = makedevice(getmajor(*devp), mi); in smb_drv_open_lib()
/illumos-gate/usr/src/uts/common/fs/specfs/
H A Dspecvnops.c334 maj = getmajor(dev); in spec_size()
454 major_t maj = getmajor(dev); in spec_clone()
455 major_t newmaj = getmajor(newdev); in spec_clone()
638 maj = getmajor(dev); in spec_open()
712 int nmaj = getmajor(newdev); in spec_open()
929 if (getmajor(dev) != mm_major) in spec_close()
962 ddi_rele_driver(getmajor(dev)); in spec_close()
2231 } else if (devopsp[getmajor(dev)]->devo_cb_ops->cb_chpoll) { in spec_poll()
2262 if ((mapfunc = devopsp[getmajor(dev)]->devo_cb_ops->cb_mmap) == nodev) in spec_segmap()
2320 major_t maj = getmajor(dev); in spec_char_map()
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/aggs/
H A Dtst.subr.d76 INTFUNC(getmajor(0))
/illumos-gate/usr/src/uts/i86pc/io/gfx_private/
H A Dgfxp_segmap.c68 if ((mapfunc = devopsp[getmajor(dev)]->devo_cb_ops->cb_mmap) == nodev) in gfxp_ddi_segmap_setup()
/illumos-gate/usr/src/uts/common/sys/fs/
H A Dsnode.h219 #define STABLEHASH(dev) ((getmajor(dev) + getminor(dev)) & (STABLESIZE - 1))
/illumos-gate/usr/src/uts/common/fs/smbclnt/netsmb/
H A Dsmb_dev.c601 getmajor(dev) != nsmb_major) { in smb_usr_dup_dev()
659 getmajor(dev) != nsmb_major) { in smb_dev2share()
H A Dnsmb_ext.mapfile79 getmajor { FLAGS = EXTERN };
/illumos-gate/usr/src/uts/common/rpc/
H A Dsvc_gen.c234 getmajor(fp->f_vnode->v_rdev) == udpmaj) in svc_tli_kcreate()
/illumos-gate/usr/src/uts/common/fs/
H A Dlookup.c775 getmajor(v1->v_rdev) == getmajor(v2->v_rdev)) in vnode_match()
779 getmajor(v1->v_rdev) == getminor(v2->v_rdev)) in vnode_match()
783 getmajor(v2->v_rdev) == getminor(v1->v_rdev)) in vnode_match()
/illumos-gate/usr/src/test/zfs-tests/include/
H A Dcommands.cfg141 getmajor
/illumos-gate/usr/src/uts/intel/io/vmm/
H A Dvmm_drv_test.c65 *devp = makedevice(getmajor(*devp), minor); in vdt_open()

123456