/titanic_50/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() 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 D | modconf.c | 600 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 D | vm_subr.c | 187 (void) devopsp[getmajor(dev)]->devo_getinfo(NULL, in default_physio()
|
H A D | modsubr.c | 105 devopspp = &devopsp[major]; in mod_hold_dev_by_major() 140 ops = devopsp[major]; in mod_rele_dev_by_major()
|
H A D | aio.c | 2798 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 D | driver_lyr.c | 760 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 D | aio_subr.c | 89 struct dev_ops *ops = devopsp[getmajor(dev)]; in aphysio()
|
H A D | modctl.c | 194 devopsp = kmem_alloc(devcnt * sizeof (struct dev_ops *), KM_SLEEP); in mod_setup() 196 devopsp[i] = &mod_nodev_ops; in mod_setup()
|
H A D | dumpsubr.c | 1189 if (devopsp[getmajor(vattr.va_rdev)]-> in dumpinit()
|
H A D | sunpm.c | 505 NEXUS_DRV(devopsp[PM_MAJOR(dip)]))
|
/titanic_50/usr/src/uts/common/sys/ |
H A D | conf.h | 71 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 D | conf.c | 83 struct dev_ops **devopsp; variable
|
H A D | gentty.c | 56 #define IS_STREAM(dev) (devopsp[getmajor(dev)]->devo_cb_ops->cb_str != NULL)
|
H A D | devinfo.c | 1707 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 D | specvnops.c | 637 (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 D | gfxp_segmap.c | 70 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 D | nsc_raw.c | 184 ops = devopsp[umaj]; in _raw_get_maj_info()
|
/titanic_50/usr/src/uts/common/vm/ |
H A D | seg_dev.c | 2411 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 D | hsfs_vfsops.c | 206 #define BDEVFLAG(dev) ((devopsp[getmajor(dev)])->devo_cb_ops->cb_flag)
|
/titanic_50/usr/src/uts/common/fs/ufs/ |
H A D | ufs_vfsops.c | 415 if (devopsp[getmajor(dev)]->devo_cb_ops->cb_flag & D_TAPE) { in ufs_mount()
|
/titanic_50/usr/src/uts/common/fs/udfs/ |
H A D | udf_vfsops.c | 265 if (devopsp[getmajor(dev)]->devo_cb_ops->cb_flag & D_TAPE) { in udf_mount()
|