Searched refs:devopsp (Results 1 - 23 of 23) sorted by relevance

/illumos-gate/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)
/illumos-gate/usr/src/uts/common/os/
H A Ddriver.c285 cb = devopsp[getmajor(*devp)]->devo_cb_ops;
294 cb = (devopsp[getmajor(dev)])->devo_cb_ops;
452 ops = devopsp[getmajor(bp->b_edev)];
480 cb = devopsp[getmajor(dev)]->devo_cb_ops;
539 cb = devopsp[getmajor(dev)]->devo_cb_ops;
548 cb = devopsp[getmajor(dev)]->devo_cb_ops;
557 cb = devopsp[getmajor(dev)]->devo_cb_ops;
567 cb = devopsp[getmajor(dev)]->devo_cb_ops;
577 cb = devopsp[getmajor(dev)]->devo_cb_ops;
593 cb = devopsp[getmajo
[all...]
H A Dmodconf.c77 * Define dev_ops for unused devopsp entry.
600 dp = devopsp[major];
618 devopsp[major] = ops; /* setup devopsp */
675 dp = devopsp[major];
709 devopsp[major] = &mod_nodev_ops;
H A Dvm_subr.c187 (void) devopsp[getmajor(dev)]->devo_getinfo(NULL,
H A Dmodsubr.c105 devopspp = &devopsp[major];
140 ops = devopsp[major];
H A Daio.c2798 if (devopsp[major]->devo_rev < 3)
2801 cb = devopsp[major]->devo_cb_ops;
2860 cb = devopsp[getmajor(dev)]->devo_cb_ops;
2884 cb = devopsp[getmajor(dev)]->devo_cb_ops;
H A Daio_subr.c89 struct dev_ops *ops = devopsp[getmajor(dev)];
H A Ddriver_lyr.c760 if (devopsp[getmajor(vp->v_rdev)]->devo_cb_ops == NULL)
2114 cb = devopsp[getmajor(dev)]->devo_cb_ops;
2142 cb = devopsp[getmajor(dev)]->devo_cb_ops;
H A Dmodctl.c194 devopsp = kmem_alloc(devcnt * sizeof (struct dev_ops *), KM_SLEEP);
196 devopsp[i] = &mod_nodev_ops;
H A Ddumpsubr.c1164 if (devopsp[getmajor(vattr.va_rdev)]->
H A Dsunpm.c505 NEXUS_DRV(devopsp[PM_MAJOR(dip)]))
/illumos-gate/usr/src/uts/common/io/
H A Dconf.c83 struct dev_ops **devopsp; variable in typeref:struct:dev_ops
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])) {
1708 if (devopsp[i]->devo_cb_ops) {
1710 if (devopsp[i]->devo_cb_ops->cb_str)
1713 if (NEXUS_DRV(devopsp[i])) {
/illumos-gate/usr/src/uts/i86pc/io/gfx_private/
H A Dgfxp_segmap.c70 if ((mapfunc = devopsp[getmajor(dev)]->devo_cb_ops->cb_mmap) == nodev)
/illumos-gate/usr/src/uts/common/fs/specfs/
H A Dspecvnops.c637 (devopsp[maj]->devo_cb_ops == NULL) ||
638 (devopsp[maj]->devo_cb_ops->cb_open == NULL))
665 if ((devopsp[maj]->devo_cb_ops->cb_flag & D_OPEN_RETURNS_EINTR) ||
724 if (devopsp[nmaj]->devo_cb_ops->cb_flag & D_64BIT)
726 if (devopsp[nmaj]->devo_cb_ops->cb_flag & D_U64BIT)
2230 } else if (devopsp[getmajor(dev)]->devo_cb_ops->cb_chpoll) {
2261 if ((mapfunc = devopsp[getmajor(dev)]->devo_cb_ops->cb_mmap) == nodev)
2334 segmap = devopsp[maj]->devo_cb_ops->cb_segmap;
2336 mmap = devopsp[maj]->devo_cb_ops->cb_mmap;
2337 map_flag = devopsp[ma
[all...]
/illumos-gate/usr/src/uts/common/avs/ns/solaris/
H A Dnsc_raw.c180 * the devopsp array to get the dev_ops pointer which
184 ops = devopsp[umaj];
/illumos-gate/usr/src/uts/common/vm/
H A Dseg_dev.c2411 if ((mapfunc = devopsp[getmajor(dev)]->devo_cb_ops->cb_mmap) == nodev)
3154 devmap = devopsp[getmajor(dev)]->devo_cb_ops->cb_devmap;
3155 mmap = devopsp[getmajor(dev)]->devo_cb_ops->cb_mmap;
3169 map_flag = devopsp[getmajor(dev)]->devo_cb_ops->cb_flag;
/illumos-gate/usr/src/uts/common/fs/hsfs/
H A Dhsfs_vfsops.c206 #define BDEVFLAG(dev) ((devopsp[getmajor(dev)])->devo_cb_ops->cb_flag)
/illumos-gate/usr/src/uts/common/fs/ufs/
H A Dufs_vfsops.c413 if (devopsp[getmajor(dev)]->devo_cb_ops->cb_flag & D_TAPE) {
/illumos-gate/usr/src/uts/common/fs/udfs/
H A Dudf_vfsops.c265 if (devopsp[getmajor(dev)]->devo_cb_ops->cb_flag & D_TAPE) {
/illumos-gate/usr/src/uts/common/io/lvm/mirror/
H A Dmirror.c1037 if ((cb = devopsp[major]->devo_cb_ops) !=
/illumos-gate/usr/src/uts/common/io/lvm/md/
H A Dmd_mddb.c2277 if ((cb = devopsp[getmajor(lp->l_dev)]->devo_cb_ops)

Completed in 377 milliseconds