Home
last modified time | relevance | path

Searched refs:devopsp (Results 1 – 21 of 21) sorted by relevance

/titanic_50/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()
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()
593 cb = devopsp[getmajor(dev)]->devo_cb_ops; in cdev_segmap()
[all …]
H A Dmodconf.c600 dp = devopsp[major]; in mod_installdrv()
618 devopsp[major] = ops; /* setup devopsp */ in mod_installdrv()
675 dp = devopsp[major]; in mod_removedrv()
709 devopsp[major] = &mod_nodev_ops; in mod_removedrv()
H A Dvm_subr.c187 (void) devopsp[getmajor(dev)]->devo_getinfo(NULL, in default_physio()
H A Dmodsubr.c105 devopspp = &devopsp[major]; in mod_hold_dev_by_major()
140 ops = devopsp[major]; in mod_rele_dev_by_major()
H A Daio.c2798 if (devopsp[major]->devo_rev < 3) in check_vp()
2801 cb = devopsp[major]->devo_cb_ops; in check_vp()
2860 cb = devopsp[getmajor(dev)]->devo_cb_ops; in driver_aio_write()
2884 cb = devopsp[getmajor(dev)]->devo_cb_ops; in driver_aio_read()
H A Ddriver_lyr.c760 if (devopsp[getmajor(vp->v_rdev)]->devo_cb_ops == NULL) in ldi_open_by_vp()
2114 cb = devopsp[getmajor(dev)]->devo_cb_ops; in ldi_aread()
2142 cb = devopsp[getmajor(dev)]->devo_cb_ops; in ldi_awrite()
H A Daio_subr.c89 struct dev_ops *ops = devopsp[getmajor(dev)]; in aphysio()
H A Dmodctl.c194 devopsp = kmem_alloc(devcnt * sizeof (struct dev_ops *), KM_SLEEP); in mod_setup()
196 devopsp[i] = &mod_nodev_ops; in mod_setup()
H A Ddumpsubr.c1189 if (devopsp[getmajor(vattr.va_rdev)]-> in dumpinit()
H A Dsunpm.c505 NEXUS_DRV(devopsp[PM_MAJOR(dip)]))
/titanic_50/usr/src/uts/common/sys/
H A Dconf.h71 extern struct dev_ops **devopsp;
78 #define STREAMSTAB(maj) (devopsp[(maj)] == NULL ? NULL : \
79 (devopsp[(maj)]->devo_cb_ops == NULL ? \
81 devopsp[(maj)]->devo_cb_ops->cb_str))
82 #define CBFLAG(maj) (devopsp[(maj)]->devo_cb_ops->cb_flag)
/titanic_50/usr/src/uts/common/io/
H A Dconf.c83 struct dev_ops **devopsp; variable
H A Dgentty.c56 #define IS_STREAM(dev) (devopsp[getmajor(dev)]->devo_cb_ops->cb_str != NULL)
H A Ddevinfo.c1707 if (CB_DRV_INSTALLED(devopsp[i])) { in di_copydevnm()
1708 if (devopsp[i]->devo_cb_ops) { in di_copydevnm()
1710 if (devopsp[i]->devo_cb_ops->cb_str) in di_copydevnm()
1713 if (NEXUS_DRV(devopsp[i])) { in di_copydevnm()
/titanic_50/usr/src/uts/common/fs/specfs/
H A Dspecvnops.c637 (devopsp[maj]->devo_cb_ops == NULL) || in spec_open()
638 (devopsp[maj]->devo_cb_ops->cb_open == NULL)) in spec_open()
665 if ((devopsp[maj]->devo_cb_ops->cb_flag & D_OPEN_RETURNS_EINTR) || in spec_open()
724 if (devopsp[nmaj]->devo_cb_ops->cb_flag & D_64BIT) in spec_open()
726 if (devopsp[nmaj]->devo_cb_ops->cb_flag & D_U64BIT) in spec_open()
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()
2334 segmap = devopsp[maj]->devo_cb_ops->cb_segmap; in spec_char_map()
2336 mmap = devopsp[maj]->devo_cb_ops->cb_mmap; in spec_char_map()
2337 map_flag = devopsp[maj]->devo_cb_ops->cb_flag; in spec_char_map()
[all …]
/titanic_50/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_50/usr/src/uts/common/avs/ns/solaris/
H A Dnsc_raw.c184 ops = devopsp[umaj]; in _raw_get_maj_info()
/titanic_50/usr/src/uts/common/vm/
H A Dseg_dev.c2411 if ((mapfunc = devopsp[getmajor(dev)]->devo_cb_ops->cb_mmap) == nodev) in ddi_segmap_setup()
3154 devmap = devopsp[getmajor(dev)]->devo_cb_ops->cb_devmap; in devmap_setup()
3155 mmap = devopsp[getmajor(dev)]->devo_cb_ops->cb_mmap; in devmap_setup()
3169 map_flag = devopsp[getmajor(dev)]->devo_cb_ops->cb_flag; in devmap_setup()
/titanic_50/usr/src/uts/common/fs/hsfs/
H A Dhsfs_vfsops.c206 #define BDEVFLAG(dev) ((devopsp[getmajor(dev)])->devo_cb_ops->cb_flag)
/titanic_50/usr/src/uts/common/fs/ufs/
H A Dufs_vfsops.c415 if (devopsp[getmajor(dev)]->devo_cb_ops->cb_flag & D_TAPE) { in ufs_mount()
/titanic_50/usr/src/uts/common/fs/udfs/
H A Dudf_vfsops.c265 if (devopsp[getmajor(dev)]->devo_cb_ops->cb_flag & D_TAPE) { in udf_mount()