/titanic_41/usr/src/uts/common/io/ |
H A D | tphci.c | 487 int len, circ, rval; in tphci_bus_config() local 511 mdi_devi_enter(parent, &circ); in tphci_bus_config() 516 mdi_devi_exit(parent, circ); in tphci_bus_config() 525 mdi_devi_exit_phci(parent, circ); in tphci_bus_config() 527 mdi_devi_enter_phci(parent, &circ); in tphci_bus_config() 533 mdi_devi_exit(parent, circ); in tphci_bus_config() 541 mdi_devi_exit(parent, circ); in tphci_bus_config() 551 int circ; in tphci_bus_unconfig() local 562 mdi_devi_enter(parent, &circ); in tphci_bus_unconfig() 566 mdi_devi_exit_phci(parent, circ); in tphci_bus_unconfig() [all …]
|
H A D | pshot.c | 1054 int circ; in pshot_ctl() local 1140 ndi_devi_enter(dip, &circ); in pshot_ctl() 1193 ndi_devi_exit(dip, circ); in pshot_ctl() 1217 ndi_devi_enter(dip, &circ); in pshot_ctl() 1295 ndi_devi_exit(dip, circ); in pshot_ctl() 1324 int circ; in pshot_power() local 1333 ndi_devi_enter(dip, &circ); in pshot_power() 1359 ndi_devi_exit(dip, circ); in pshot_power() 2535 int circ; in pshot_bus_config() local 2556 ndi_devi_enter(parent, &circ); in pshot_bus_config() [all …]
|
/titanic_41/usr/src/uts/common/io/scsi/adapters/iscsi/ |
H A D | iscsi_lun.c | 307 int circ = 0; in iscsi_lun_virt_create() local 331 ndi_devi_enter(scsi_vhci_dip, &circ); in iscsi_lun_virt_create() 396 ndi_devi_exit(scsi_vhci_dip, circ); in iscsi_lun_virt_create() 420 int circ = 0; in iscsi_lun_phys_create() local 448 ndi_devi_enter(ihp->hba_dip, &circ); in iscsi_lun_phys_create() 513 ndi_devi_exit(ihp->hba_dip, circ); in iscsi_lun_phys_create() 533 int circ = 0; in iscsi_lun_online() local 547 ndi_devi_enter(scsi_vhci_dip, &circ); in iscsi_lun_online() 549 ndi_devi_exit(scsi_vhci_dip, circ); in iscsi_lun_online() 558 ndi_devi_enter(ihp->hba_dip, &circ); in iscsi_lun_online() [all …]
|
/titanic_41/usr/src/uts/common/io/ib/ibnex/ |
H A D | ibnex_hca.c | 139 int ret = IBNEX_SUCCESS, circ; in ibnex_hca_bus_config() local 167 mdi_devi_enter(parent, &circ); in ibnex_hca_bus_config() 195 mdi_devi_exit(parent, circ); in ibnex_hca_bus_config() 474 int ret = IBNEX_SUCCESS, len, circ, need_bus_config; in ibnex_hca_bus_config_one() local 494 ndi_devi_enter(parent, &circ); in ibnex_hca_bus_config_one() 497 ndi_devi_exit(parent, circ); in ibnex_hca_bus_config_one() 532 mdi_devi_enter(parent, &circ); in ibnex_hca_bus_config_one() 538 mdi_devi_exit(parent, circ); in ibnex_hca_bus_config_one() 559 ndi_devi_enter(parent, &circ); in ibnex_hca_bus_config_one() 565 ndi_devi_exit(parent, circ); in ibnex_hca_bus_config_one() [all …]
|
/titanic_41/usr/src/uts/sun4u/starcat/io/ |
H A D | gptwo_pci.c | 182 int error, i, circ, freq; in gptwo_configure_pci() local 231 ndi_devi_enter(ap, &circ); in gptwo_configure_pci() 243 ndi_devi_exit(ap, circ); in gptwo_configure_pci() 267 ndi_devi_exit(ap, circ); in gptwo_configure_pci() 313 ndi_devi_enter(ap, &circ); in gptwo_configure_pci() 320 ndi_devi_exit(ap, circ); in gptwo_configure_pci() 389 int found, j, circ; in gptwo_find_nodes() local 397 ndi_devi_enter(ap, &circ); in gptwo_find_nodes() 434 ndi_devi_exit(ap, circ); in gptwo_find_nodes()
|
H A D | dman_domain.c | 587 int circ; in man_find_devs() local 599 ndi_devi_enter(rdip, &circ); in man_find_devs() 647 ndi_devi_exit(rdip, circ); in man_find_devs()
|
/titanic_41/usr/src/uts/common/os/ |
H A D | devcfg.c | 1719 int ret, circ; in ddi_initchild() local 1721 ndi_devi_enter(parent, &circ); in ddi_initchild() 1723 ndi_devi_exit(parent, circ); in ddi_initchild() 1734 int ret, circ; in ddi_uninitchild() local 1738 ndi_devi_enter(parent, &circ); in ddi_uninitchild() 1740 ndi_devi_exit(parent, circ); in ddi_uninitchild() 1804 int circ; in ddi_add_child() local 1810 ndi_devi_enter(pdip, &circ); in ddi_add_child() 1812 ndi_devi_exit(pdip, circ); in ddi_add_child() 1823 int circ, ret; in ddi_remove_child() [all …]
|
H A D | sunpm.c | 1203 int circ; in pm_scan_dev() local 1241 if (!ndi_devi_tryenter(pdip, &circ)) { in pm_scan_dev() 1332 ndi_devi_exit(pdip, circ); in pm_scan_dev() 1775 int circ; in pm_name_to_dip() local 1796 ndi_devi_enter(parent, &circ); in pm_name_to_dip() 1800 ndi_devi_exit(parent, circ); in pm_name_to_dip() 1807 ndi_devi_exit(parent, circ); in pm_name_to_dip() 1867 int keeper_on = 0, circ; in pm_unkeeps() local 1890 PM_LOCK_POWER(dip, &circ); in pm_unkeeps() 1903 PM_UNLOCK_POWER(dip, circ); in pm_unkeeps() [all …]
|
H A D | devid_cache.c | 734 int circ; in e_devid_minor_to_devlist() local 748 ndi_devi_enter(dip, &circ); in e_devid_minor_to_devlist() 768 ndi_devi_exit(dip, circ); in e_devid_minor_to_devlist() 789 int circ; in e_devid_cache_devi_path_lists() local 823 if (ndi_devi_tryenter(pdip, &circ)) { in e_devid_cache_devi_path_lists() 826 ndi_devi_exit(pdip, circ); in e_devid_cache_devi_path_lists()
|
H A D | sunddi.c | 5386 int circ; in ddi_append_minor_node() local 5389 ndi_devi_enter(ddip, &circ); in ddi_append_minor_node() 5397 ndi_devi_exit(ddip, circ); in ddi_append_minor_node() 5846 int circ; in ddi_remove_minor_node() local 5850 ndi_devi_enter(dip, &circ); in ddi_remove_minor_node() 5885 ndi_devi_exit(dip, circ); in ddi_remove_minor_node() 6785 int circ; in ddi_dev_pathname() local 6818 ndi_devi_enter(dip, &circ); in ddi_dev_pathname() 6825 ndi_devi_exit(dip, circ); in ddi_dev_pathname() 7521 int circ; in i_ddi_minorname_to_devtspectype() local [all …]
|
/titanic_41/usr/src/uts/sun4u/sunfire/io/ |
H A D | sysctrl_quiesce.c | 220 int circ; in sysctrl_suspend_devices() local 230 ndi_devi_enter(dip, &circ); in sysctrl_suspend_devices() 232 ndi_devi_exit(dip, circ); in sysctrl_suspend_devices() 235 ndi_devi_exit(dip, circ); in sysctrl_suspend_devices() 264 int circ; in sysctrl_resume_devices() local 300 ndi_devi_enter(dip, &circ); in sysctrl_resume_devices() 302 ndi_devi_exit(dip, circ); in sysctrl_resume_devices()
|
/titanic_41/usr/src/uts/sparc/os/ |
H A D | bootdev.c | 219 int circ; in i_devname_to_promname() local 285 ndi_devi_enter(dip, &circ); in i_devname_to_promname() 370 ndi_devi_exit(dip, circ); in i_devname_to_promname() 403 int circ; in find_alternate_node() local 407 ndi_devi_enter(parent_dip, &circ); in find_alternate_node() 418 ndi_devi_exit(parent_dip, circ); in find_alternate_node()
|
/titanic_41/usr/src/uts/common/xen/io/ |
H A D | xpvd.c | 911 int circ; in xpvd_bus_config() local 914 ndi_devi_enter(parent, &circ); in xpvd_bus_config() 923 ndi_devi_exit(parent, circ); in xpvd_bus_config() 931 ndi_devi_exit(parent, circ); in xpvd_bus_config() 948 ndi_devi_exit(parent, circ); in xpvd_bus_config() 952 ndi_devi_exit(parent, circ); in xpvd_bus_config() 961 ndi_devi_exit(parent, circ); in xpvd_bus_config() 967 ndi_devi_exit(parent, circ); in xpvd_bus_config()
|
/titanic_41/usr/src/uts/i86pc/io/acpi/acpidev/ |
H A D | acpidev_drv.c | 375 int circ, rv = AE_OK; in acpidev_create_root_node() local 385 ndi_devi_enter(ddi_root_node(), &circ); in acpidev_create_root_node() 391 ndi_devi_exit(ddi_root_node(), circ); in acpidev_create_root_node() 401 ndi_devi_exit(ddi_root_node(), circ); in acpidev_create_root_node() 410 ndi_devi_exit(ddi_root_node(), circ); in acpidev_create_root_node() 449 ndi_devi_exit(ddi_root_node(), circ); in acpidev_create_root_node() 456 ndi_devi_exit(ddi_root_node(), circ); in acpidev_create_root_node() 655 int circ; in acpidev_probe_child() local 696 ndi_devi_enter(pdip, &circ); in acpidev_probe_child() 786 ndi_devi_exit(pdip, circ); in acpidev_probe_child()
|
/titanic_41/usr/src/uts/common/io/scsi/impl/ |
H A D | scsi_hba.c | 664 scsi_hba_devi_exit(dev_info_t *self, int circ) in scsi_hba_devi_exit() argument 667 mdi_devi_exit(self, circ); in scsi_hba_devi_exit() 669 ndi_devi_exit(self, circ); in scsi_hba_devi_exit() 680 scsi_hba_devi_exit_phci(dev_info_t *self, int circ) in scsi_hba_devi_exit_phci() argument 683 mdi_devi_exit_phci(self, circ); in scsi_hba_devi_exit_phci() 1672 int circ; in smp_hba_bus_config() local 1678 scsi_hba_devi_enter(self, &circ); in smp_hba_bus_config() 1680 scsi_hba_devi_exit(self, circ); in smp_hba_bus_config() 1686 scsi_hba_devi_exit(self, circ); in smp_hba_bus_config() 1692 scsi_hba_devi_exit(self, circ); in smp_hba_bus_config() [all …]
|
/titanic_41/usr/src/uts/common/io/ib/ibtl/ |
H A D | ibtl_ibnex.c | 594 int circ = 0, circ1 = 0; in ibtl_ibnex_phci_unregister() local 606 ndi_devi_enter(hca_dip, &circ); in ibtl_ibnex_phci_unregister() 611 ndi_devi_exit(hca_dip, circ); in ibtl_ibnex_phci_unregister() 617 ndi_devi_exit(hca_dip, circ); in ibtl_ibnex_phci_unregister()
|
/titanic_41/usr/src/uts/common/io/usb/usba/ |
H A D | hubdi.c | 1154 int circ, rval; in usba_hubdi_bus_ctl() local 1181 ndi_devi_enter(hubd->h_dip, &circ); in usba_hubdi_bus_ctl() 1225 ndi_devi_exit(hubd->h_dip, circ); in usba_hubdi_bus_ctl() 1238 ndi_devi_enter(hubd->h_dip, &circ); in usba_hubdi_bus_ctl() 1274 ndi_devi_exit(hubd->h_dip, circ); in usba_hubdi_bus_ctl() 1302 int prh_circ, rh_circ, circ; in hubd_config_one() local 1318 ndi_devi_enter(hdip, &circ); in hubd_config_one() 1339 ndi_devi_exit(hdip, circ); in hubd_config_one() 1372 int rval, circ; in hubd_bus_config() local 1406 ndi_devi_enter(hubd->h_dip, &circ); in hubd_bus_config() [all …]
|
/titanic_41/usr/src/uts/i86pc/io/dr/ |
H A D | dr_quiesce.c | 349 int circ; in dr_suspend_devices() local 359 ndi_devi_enter(dip, &circ); in dr_suspend_devices() 361 ndi_devi_exit(dip, circ); in dr_suspend_devices() 364 ndi_devi_exit(dip, circ); in dr_suspend_devices() 429 int circ; in dr_resume_devices() local 502 ndi_devi_enter(dip, &circ); in dr_resume_devices() 504 ndi_devi_exit(dip, circ); in dr_resume_devices()
|
/titanic_41/usr/src/uts/sun4u/ngdr/io/ |
H A D | dr_quiesce.c | 350 int circ; in dr_suspend_devices() local 360 ndi_devi_enter(dip, &circ); in dr_suspend_devices() 362 ndi_devi_exit(dip, circ); in dr_suspend_devices() 365 ndi_devi_exit(dip, circ); in dr_suspend_devices() 430 int circ; in dr_resume_devices() local 503 ndi_devi_enter(dip, &circ); in dr_resume_devices() 505 ndi_devi_exit(dip, circ); in dr_resume_devices()
|
/titanic_41/usr/src/uts/sun4u/io/ |
H A D | opl_cfg.c | 454 int circ, ret; in opl_init_nodes() local 462 ndi_devi_enter(parent, &circ); in opl_init_nodes() 480 ndi_devi_exit(parent, circ); in opl_init_nodes() 487 ndi_devi_exit(parent, circ); in opl_init_nodes() 632 int circ; in opl_hold_devtree() local 636 ndi_devi_enter(dip, &circ); in opl_hold_devtree() 638 ndi_devi_exit(dip, circ); in opl_hold_devtree() 645 int circ; in opl_release_devtree() local 649 ndi_devi_enter(dip, &circ); in opl_release_devtree() 651 ndi_devi_exit(dip, circ); in opl_release_devtree() [all …]
|
H A D | gptwocfg.c | 329 int i, circ; in gptwocfg_unconfigure() local 390 ndi_devi_enter(ap, &circ); in gptwocfg_unconfigure() 434 ndi_devi_exit(ap, circ); in gptwocfg_unconfigure() 456 ndi_devi_enter(ap, &circ); in gptwocfg_unconfigure() 459 ndi_devi_exit(ap, circ); in gptwocfg_unconfigure()
|
/titanic_41/usr/src/uts/sun4u/opl/os/ |
H A D | opl.c | 241 int circ; in opl_get_physical_board() local 259 ndi_devi_enter(root_dip, &circ); in opl_get_physical_board() 275 ndi_devi_exit(root_dip, circ); in opl_get_physical_board() 278 ndi_devi_exit(root_dip, circ); in opl_get_physical_board() 283 ndi_devi_exit(root_dip, circ); in opl_get_physical_board()
|
/titanic_41/usr/src/uts/common/sys/ |
H A D | sunndi.h | 136 void ndi_devi_enter(dev_info_t *dip, int *circ); 137 void ndi_devi_exit(dev_info_t *dip, int circ); 138 int ndi_devi_tryenter(dev_info_t *dip, int *circ);
|
/titanic_41/usr/src/uts/common/io/1394/targets/scsa1394/ |
H A D | hba.c | 691 int circ; in scsa1394_scsi_bus_config() local 698 ndi_devi_enter(dip, &circ); in scsa1394_scsi_bus_config() 703 ndi_devi_exit(dip, circ); in scsa1394_scsi_bus_config() 713 int circ; in scsa1394_scsi_bus_unconfig() local 728 ndi_devi_enter(dip, &circ); in scsa1394_scsi_bus_unconfig() 741 ndi_devi_exit(dip, circ); in scsa1394_scsi_bus_unconfig() 905 int circ; in scsa1394_disconnect() local 919 ndi_devi_enter(dip, &circ); in scsa1394_disconnect() 927 ndi_devi_exit(dip, circ); in scsa1394_disconnect() 936 int circ; in scsa1394_reconnect() local [all …]
|
/titanic_41/usr/src/uts/sun4u/serengeti/io/ |
H A D | sbdp_quiesce.c | 406 int circ; local 479 ndi_devi_enter(dip, &circ); 481 ndi_devi_exit(dip, circ);
|