/titanic_50/usr/src/uts/common/sys/ |
H A D | ddi_impldefs.h | 366 ASSERT(mutex_owned(&DEVI(dip)->devi_lock)); \ 378 ASSERT(mutex_owned(&DEVI(dip)->devi_lock)); \ 386 ASSERT(mutex_owned(&DEVI(dip)->devi_lock)); \ 396 ASSERT(mutex_owned(&DEVI(dip)->devi_lock)); \ 405 ASSERT(mutex_owned(&DEVI(dip)->devi_lock)); \ 421 ASSERT(mutex_owned(&DEVI(dip)->devi_lock)); \ 426 ASSERT(mutex_owned(&DEVI(dip)->devi_lock)); \ 436 ASSERT(mutex_owned(&DEVI(dip)->devi_lock)); \ 442 ASSERT(mutex_owned(&DEVI(dip)->devi_lock)); \ 450 ASSERT(mutex_owned(&DEVI(dip)->devi_lock)); \ [all …]
|
H A D | mutex.h | 85 #define MUTEX_HELD(x) (mutex_owned(x)) 86 #define MUTEX_NOT_HELD(x) (!mutex_owned(x) || panicstr || quiesce_active) 93 extern int mutex_owned(const kmutex_t *);
|
/titanic_50/usr/src/uts/intel/io/dktp/hba/ghd/ |
H A D | ghd.c | 98 ASSERT(mutex_owned(&cccp->ccc_hba_mutex)); in ghd_complete() 243 ASSERT(mutex_owned(&cccp->ccc_doneq_mutex)); in ghd_do_reset_notify_callbacks() 417 ASSERT(mutex_owned(hba_mutexp)); in ghd_intr() 454 ASSERT(mutex_owned(&cccp->ccc_hba_mutex)); in ghd_poll() 545 ASSERT(!mutex_owned(&cccp->ccc_waitq_mutex)); in ghd_poll() 546 ASSERT(mutex_owned(&cccp->ccc_hba_mutex)); in ghd_poll() 559 ASSERT(!mutex_owned(&cccp->ccc_waitq_mutex)); in ghd_poll() 560 ASSERT(mutex_owned(&cccp->ccc_hba_mutex)); in ghd_poll() 739 ASSERT(!mutex_owned(&cccp->ccc_hba_mutex)); in ghd_transport() 740 ASSERT(!mutex_owned(&cccp->ccc_waitq_mutex)); in ghd_transport() [all …]
|
H A D | ghd_waitq.c | 203 ASSERT(mutex_owned(&cccp->ccc_waitq_mutex)); in ghd_waitq_shuffle_up() 258 ASSERT(mutex_owned(&cccp->ccc_hba_mutex)); in ghd_waitq_delete() 329 ASSERT(mutex_owned(&cccp->ccc_hba_mutex)); in ghd_waitq_process_and_mutex_hold() 330 ASSERT(mutex_owned(&cccp->ccc_waitq_mutex)); in ghd_waitq_process_and_mutex_hold() 412 ASSERT(mutex_owned(&cccp->ccc_hba_mutex)); in ghd_waitq_process_and_mutex_hold() 413 ASSERT(mutex_owned(&cccp->ccc_waitq_mutex)); in ghd_waitq_process_and_mutex_hold() 420 ASSERT(mutex_owned(&cccp->ccc_hba_mutex)); in ghd_waitq_process_and_mutex_exit() 421 ASSERT(mutex_owned(&cccp->ccc_waitq_mutex)); in ghd_waitq_process_and_mutex_exit()
|
/titanic_50/usr/src/lib/libfakekernel/common/sys/ |
H A D | mutex.h | 76 #define MUTEX_HELD(x) (mutex_owned(x)) 77 #define MUTEX_NOT_HELD(x) (!mutex_owned(x) || panicstr) 92 extern int mutex_owned(const kmutex_t *);
|
/titanic_50/usr/src/uts/common/io/scsi/targets/ |
H A D | sd_xbuf.c | 218 ASSERT(!mutex_owned(&xap->xa_mutex)); in ddi_xbuf_qstrategy() 219 ASSERT(!mutex_owned(&xap->xa_reserve_mutex)); in ddi_xbuf_qstrategy() 275 ASSERT(!mutex_owned(&xap->xa_mutex)); in ddi_xbuf_done() 276 ASSERT(!mutex_owned(&xap->xa_reserve_mutex)); in ddi_xbuf_done() 398 ASSERT(!mutex_owned(&xap->xa_mutex)); in xbuf_iostart() 399 ASSERT(!mutex_owned(&xap->xa_reserve_mutex)); in xbuf_iostart() 559 ASSERT(mutex_owned(&xap->xa_mutex)); in xbuf_dispatch() 596 ASSERT(!mutex_owned(&xap->xa_mutex)); in xbuf_restart_callback() 614 ASSERT(!mutex_owned(&xap->xa_mutex)); in ddi_xbuf_flushq()
|
/titanic_50/usr/src/uts/common/io/cxgbe/t4nex/ |
H A D | adapter.h | 511 #define ADAPTER_LOCK_ASSERT_OWNED(sc) ASSERT(mutex_owned(&(sc)->lock)) 512 #define ADAPTER_LOCK_ASSERT_NOTOWNED(sc) ASSERT(!mutex_owned(&(sc)->lock)) 516 #define PORT_LOCK_ASSERT_OWNED(pi) ASSERT(mutex_owned(&(pi)->lock)) 517 #define PORT_LOCK_ASSERT_NOTOWNED(pi) ASSERT(!mutex_owned(&(pi)->lock)) 521 #define IQ_LOCK_ASSERT_OWNED(iq) ASSERT(mutex_owned(&(iq)->lock)) 522 #define IQ_LOCK_ASSERT_NOTOWNED(iq) ASSERT(!mutex_owned(&(iq)->lock)) 526 #define FL_LOCK_ASSERT_OWNED(fl) ASSERT(mutex_owned(&(fl)->lock)) 527 #define FL_LOCK_ASSERT_NOTOWNED(fl) ASSERT(!mutex_owned(&(fl)->lock)) 541 #define EQ_LOCK_ASSERT_OWNED(eq) ASSERT(mutex_owned(&(eq)->lock)) 542 #define EQ_LOCK_ASSERT_NOTOWNED(eq) ASSERT(!mutex_owned(&(eq)->lock))
|
/titanic_50/usr/src/uts/common/io/comstar/stmf/ |
H A D | lun_map.c | 194 ASSERT(mutex_owned(&stmf_state.stmf_lock)); in stmf_session_create_lun_map() 251 ASSERT(mutex_owned(&stmf_state.stmf_lock)); in stmf_session_destroy_lun_map() 342 ASSERT(mutex_owned(&stmf_state.stmf_lock)); in stmf_add_lu_to_active_sessions() 368 ASSERT(mutex_owned(&stmf_state.stmf_lock)); in stmf_session_lu_unmapall() 408 ASSERT(mutex_owned(&stmf_state.stmf_lock)); in stmf_add_lu_to_session() 452 ASSERT(mutex_owned(&stmf_state.stmf_lock)); in stmf_remove_lu_from_session() 486 ASSERT(mutex_owned(&stmf_state.stmf_lock)); in stmf_update_sessions_per_ve() 551 ASSERT(mutex_owned(&stmf_state.stmf_lock)); in stmf_add_lus_to_session_per_vemap() 576 ASSERT(mutex_owned(&stmf_state.stmf_lock)); in stmf_remove_lus_from_session_per_vemap() 644 ASSERT(mutex_owned(&stmf_state.stmf_lock)); in stmf_lookup_group_for_target() [all …]
|
/titanic_50/usr/src/uts/common/io/usb/hcd/ehci/ |
H A D | ehci_intr.c | 123 ASSERT(mutex_owned(&ehcip->ehci_int_mutex)); in ehci_handle_ue() 232 ASSERT(mutex_owned(&ehcip->ehci_int_mutex)); in ehci_handle_endpoint_reclaimation() 297 ASSERT(mutex_owned(&ehcip->ehci_int_mutex)); in ehci_traverse_active_qtd_list() 382 ASSERT(mutex_owned(&ehcip->ehci_int_mutex)); in ehci_create_done_qtd_list() 438 ASSERT(mutex_owned(&ehcip->ehci_int_mutex)); in ehci_parse_error() 788 ASSERT(mutex_owned(&ehcip->ehci_int_mutex)); in ehci_handle_error() 932 ASSERT(mutex_owned(&ehcip->ehci_int_mutex)); in ehci_handle_normal_qtd() 966 ASSERT(mutex_owned(&ehcip->ehci_int_mutex)); in ehci_handle_ctrl_qtd() 1055 ASSERT(mutex_owned(&ehcip->ehci_int_mutex)); in ehci_handle_bulk_qtd() 1117 ASSERT(mutex_owned(&ehcip->ehci_int_mutex)); in ehci_handle_intr_qtd() [all …]
|
H A D | ehci_xfer.c | 314 ASSERT(mutex_owned(&ehcip->ehci_int_mutex)); in ehci_alloc_qh() 542 ASSERT(mutex_owned(&ehcip->ehci_int_mutex)); in ehci_insert_qh() 581 ASSERT(mutex_owned(&ehcip->ehci_int_mutex)); in ehci_insert_async_qh() 679 ASSERT(mutex_owned(&ehcip->ehci_int_mutex)); in ehci_insert_intr_qh() 750 ASSERT(mutex_owned(&ehcip->ehci_int_mutex)); in ehci_modify_qh_status_bit() 1125 ASSERT(mutex_owned(&ehcip->ehci_int_mutex)); in ehci_remove_qh() 1168 ASSERT(mutex_owned(&ehcip->ehci_int_mutex)); in ehci_remove_async_qh() 1232 ASSERT(mutex_owned(&ehcip->ehci_int_mutex)); in ehci_remove_intr_qh() 1278 ASSERT(mutex_owned(&ehcip->ehci_int_mutex)); in ehci_insert_qh_on_reclaim_list() 1328 ASSERT(mutex_owned(&ehcip->ehci_int_mutex)); in ehci_deallocate_qh() [all …]
|
H A D | ehci_isoch_util.c | 363 ASSERT(mutex_owned(&ehcip->ehci_int_mutex)); in ehci_allocate_itw() 622 ASSERT(mutex_owned(&ehcip->ehci_int_mutex)); in ehci_allocate_itd() 675 ASSERT(mutex_owned(&ehcip->ehci_int_mutex)); in ehci_deallocate_itd() 879 ASSERT(mutex_owned(&ehcip->ehci_int_mutex)); in ehci_insert_itd_into_active_list() 900 ASSERT(mutex_owned(&ehcip->ehci_int_mutex)); in ehci_remove_itd_from_active_list() 960 ASSERT(mutex_owned(&ehcip->ehci_int_mutex)); in ehci_create_done_itd_list() 1198 ASSERT(mutex_owned(&ehcip->ehci_int_mutex)); in ehci_remove_isoc_from_pfl() 1287 ASSERT(mutex_owned(&ehcip->ehci_int_mutex)); in ehci_allocate_isoc_in_resource() 1345 ASSERT(mutex_owned(&ehcip->ehci_int_mutex)); in ehci_deallocate_isoc_in_resource() 1380 ASSERT(mutex_owned(&ehcip->ehci_int_mutex)); in ehci_itd_cpu_to_iommu() [all …]
|
H A D | ehci_isoch.c | 214 ASSERT(mutex_owned(&ehcip->ehci_int_mutex)); in ehci_isoc_pipe_cleanup() 269 ASSERT(mutex_owned(&ehcip->ehci_int_mutex)); in ehci_wait_for_isoc_completion() 316 ASSERT(mutex_owned(&ehcip->ehci_int_mutex)); in ehci_allocate_isoc_resources() 457 ASSERT(mutex_owned(&ehcip->ehci_int_mutex)); in ehci_insert_isoc_req() 850 ASSERT(mutex_owned(&ehcip->ehci_int_mutex)); in ehci_remove_isoc_itds() 1114 ASSERT(mutex_owned(&ehcip->ehci_int_mutex)); in ehci_traverse_active_isoc_list() 1189 ASSERT(mutex_owned(&ehcip->ehci_int_mutex)); in ehci_handle_isoc() 1353 ASSERT(mutex_owned(&ehcip->ehci_int_mutex)); in ehci_sendup_itd_message() 1413 ASSERT(mutex_owned(&ehcip->ehci_int_mutex)); in ehci_hcdi_isoc_callback()
|
/titanic_50/usr/src/uts/common/io/efe/ |
H A D | efe.c | 946 ASSERT(mutex_owned(&efep->efe_intrlock)); in efe_init() 947 ASSERT(mutex_owned(&efep->efe_txlock)); in efe_init() 976 ASSERT(mutex_owned(&efep->efe_intrlock)); in efe_init_rx_ring() 1004 ASSERT(mutex_owned(&efep->efe_txlock)); in efe_init_tx_ring() 1031 ASSERT(mutex_owned(&efep->efe_intrlock)); in efe_reset() 1032 ASSERT(mutex_owned(&efep->efe_txlock)); in efe_reset() 1046 ASSERT(mutex_owned(&efep->efe_intrlock)); in efe_start() 1047 ASSERT(mutex_owned(&efep->efe_txlock)); in efe_start() 1066 ASSERT(mutex_owned(&efep->efe_intrlock)); in efe_stop() 1067 ASSERT(mutex_owned(&efep->efe_txlock)); in efe_stop() [all …]
|
/titanic_50/usr/src/uts/common/io/scsi/adapters/iscsi/ |
H A D | iscsi_queue.c | 85 ASSERT(mutex_owned(&isp->sess_queue_pending.mutex)); in iscsi_enqueue_pending_cmd() 113 ASSERT(mutex_owned(&isp->sess_queue_pending.mutex)); in iscsi_dequeue_pending_cmd() 202 ASSERT(mutex_owned(&icp->conn_queue_active.mutex)); in iscsi_dequeue_active_cmd() 240 ASSERT(mutex_owned(&icp->conn_queue_idm_aborting.mutex)); in iscsi_enqueue_idm_aborting_cmd() 262 ASSERT(mutex_owned(&icp->conn_queue_idm_aborting.mutex)); in iscsi_dequeue_idm_aborting_cmd()
|
H A D | iscsi_cmd.c | 381 ASSERT(mutex_owned(&isp->sess_queue_pending.mutex)); in iscsi_cmd_state_pending() 555 ASSERT(!mutex_owned(&isp->sess_queue_pending.mutex)); in iscsi_cmd_state_pending() 594 ASSERT(mutex_owned(&icmdp->cmd_conn->conn_queue_active.mutex)); in iscsi_cmd_state_pending() 611 ASSERT(mutex_owned(&isp->sess_queue_pending.mutex)); in iscsi_cmd_state_pending() 631 ASSERT(mutex_owned(&isp->sess_queue_pending.mutex)); in iscsi_cmd_state_pending() 735 ASSERT(mutex_owned(&icp->conn_queue_active.mutex)); in iscsi_cmd_state_active() 860 ASSERT(!mutex_owned(&isp->sess_cmdsn_mutex)); in iscsi_cmd_state_active() 1014 ASSERT(!mutex_owned(&isp->sess_cmdsn_mutex)); in iscsi_cmd_state_active() 1115 ASSERT(!mutex_owned(&isp->sess_cmdsn_mutex)); in iscsi_cmd_state_active() 1151 ASSERT(mutex_owned(&icmdp->cmd_conn->conn_queue_active.mutex)); in iscsi_cmd_state_aborting()
|
/titanic_50/usr/src/uts/common/io/dmfe/ |
H A D | dmfe_main.c | 345 ASSERT(mutex_owned(dmfep->oplock)); in dmfe_set_opmode() 357 ASSERT(mutex_owned(dmfep->oplock)); in dmfe_stop_chip() 410 ASSERT(mutex_owned(dmfep->oplock)); in dmfe_init_rings() 411 ASSERT(mutex_owned(dmfep->rxlock)); in dmfe_init_rings() 412 ASSERT(mutex_owned(dmfep->txlock)); in dmfe_init_rings() 484 ASSERT(mutex_owned(dmfep->oplock)); in dmfe_start_chip() 531 ASSERT(mutex_owned(dmfep->oplock)); in dmfe_enable_interrupts() 554 ASSERT(mutex_owned(dmfep->rxlock)); in dmfe_update_rx_stats() 859 ASSERT(mutex_owned(dmfep->txlock)); in dmfe_update_tx_stats() 937 ASSERT(mutex_owned(dmfep->txlock)); in dmfe_reclaim_tx_desc() [all …]
|
H A D | dmfe_mii.c | 150 ASSERT(mutex_owned(dmfep->milock)); in dmfe_poke_mii() 184 ASSERT(mutex_owned(dmfep->milock)); in dmfe_tristate_mii() 200 ASSERT(mutex_owned(dmfep->milock)); in dmfe_mii_command()
|
/titanic_50/usr/src/uts/common/io/bge/ |
H A D | bge_mii.c | 118 ASSERT(mutex_owned(bgep->genlock)); in bge_phydump() 183 ASSERT(mutex_owned(bgep->genlock)); in bge_phy_probe() 239 ASSERT(mutex_owned(bgep->genlock)); in bge_phy_reset() 569 ASSERT(mutex_owned(bgep->genlock)); in bge_restart_copper() 704 ASSERT(mutex_owned(bgep->genlock)); in bge_eee_init() 750 ASSERT(mutex_owned(bgep->genlock)); in bge_eee_autoneg() 813 ASSERT(mutex_owned(bgep->genlock)); in bge_eee_adjust() 926 ASSERT(mutex_owned(bgep->genlock)); in bge_update_copper() 1325 ASSERT(mutex_owned(bgep->genlock)); in bge_restart_serdes() 1400 ASSERT(mutex_owned(bgep->genlock)); in bge_update_serdes() [all …]
|
/titanic_50/usr/src/uts/common/io/usb/hcd/openhci/ |
H A D | ohci.c | 1727 ASSERT(mutex_owned(&ohcip->ohci_int_mutex)); in ohci_init_hcca() 3265 ASSERT(mutex_owned(&ohcip->ohci_int_mutex)); in ohci_allocate_bandwidth() 3424 ASSERT(mutex_owned(&ohcip->ohci_int_mutex)); in ohci_deallocate_bandwidth() 3777 ASSERT(mutex_owned(&ohcip->ohci_int_mutex)); in ohci_alloc_hc_ed() 3915 ASSERT(mutex_owned(&ohcip->ohci_int_mutex)); in ohci_insert_ed() 3951 ASSERT(mutex_owned(&ohcip->ohci_int_mutex)); in ohci_insert_ctrl_ed() 3998 ASSERT(mutex_owned(&ohcip->ohci_int_mutex)); in ohci_insert_bulk_ed() 4044 ASSERT(mutex_owned(&ohcip->ohci_int_mutex)); in ohci_insert_intr_ed() 4141 ASSERT(mutex_owned(&ohcip->ohci_int_mutex)); in ohci_insert_isoc_ed() 4211 ASSERT(mutex_owned(&ohcip->ohci_int_mutex)); in ohci_modify_sKip_bit() [all …]
|
/titanic_50/usr/src/uts/common/io/usb/scsa2usb/ |
H A D | usb_ms_bulkonly.c | 202 ASSERT(mutex_owned(&scsa2usbp->scsa2usb_mutex)); in scsa2usb_bulk_only_transport() 343 ASSERT(mutex_owned(&scsa2usbp->scsa2usb_mutex)); in scsa2usb_fill_in_cbw() 517 ASSERT(mutex_owned(&scsa2usbp->scsa2usb_mutex)); in scsa2usb_handle_status_start() 575 ASSERT(mutex_owned(&scsa2usbp->scsa2usb_mutex)); in scsa2usb_handle_csw_result() 772 ASSERT(mutex_owned(&scsa2usbp->scsa2usb_mutex)); in scsa2usb_bulk_only_reset_recovery() 848 ASSERT(mutex_owned(&scsa2usbp->scsa2usb_mutex)); in scsa2usb_bulk_only_get_max_lun()
|
H A D | usb_ms_cbi.c | 162 ASSERT(mutex_owned(&scsa2usbp->scsa2usb_mutex)); in scsa2usb_cbi_transport() 414 ASSERT(mutex_owned(&scsa2usbp->scsa2usb_mutex)); in scsa2usb_cbi_stop_intr_polling() 447 ASSERT(mutex_owned(&scsa2usbp->scsa2usb_mutex)); in scsa2usb_handle_cbi_status() 522 ASSERT(mutex_owned(&scsa2usbp->scsa2usb_mutex)); in scsa2usb_cbi_reset_recovery()
|
/titanic_50/usr/src/uts/common/io/ |
H A D | neti_stack.c | 297 ASSERT(mutex_owned(&neti_stack_lock)); in net_instance_int_free() 510 ASSERT(mutex_owned(&neti_stack_lock)); in neti_apply_all_instances() 528 ASSERT(mutex_owned(&neti_stack_lock)); in neti_apply_all_stacks() 557 ASSERT(mutex_owned(&neti_stack_lock)); in neti_stack_apply_create() 623 ASSERT(mutex_owned(&neti_stack_lock)); in neti_stack_apply_shutdown() 707 ASSERT(mutex_owned(&neti_stack_lock)); in neti_stack_apply_destroy() 773 ASSERT(mutex_owned(&neti_stack_lock)); in wait_for_nini_inprogress()
|
/titanic_50/usr/src/uts/common/io/nge/ |
H A D | nge_log.c | 60 ASSERT(mutex_owned(nge_log_mutex)); in nge_vprt() 184 ASSERT(mutex_owned(nge_log_mutex)); in nge_prt()
|
/titanic_50/usr/src/uts/common/io/net80211/ |
H A D | net80211_impl.h | 375 mutex_owned(&(_ic)->ic_genlock) 377 ASSERT(mutex_owned(&(_ic)->ic_genlock)) 384 mutex_owned(&(_nt)->nt_nodelock) 386 ASSERT(mutex_owned(&(_nt)->nt_nodelock))
|
/titanic_50/usr/src/uts/common/io/usb/clients/printer/ |
H A D | usbprn.c | 685 ASSERT(!mutex_owned(&usbprnp->usbprn_mutex)); in usbprn_get_descriptors() 779 ASSERT(!mutex_owned(&usbprnp->usbprn_mutex)); in usbprn_get_device_id() 905 ASSERT(!mutex_owned(&usbprnp->usbprn_mutex)); in usbprn_get_port_status() 1379 ASSERT(!(mutex_owned(&usbprnp->usbprn_mutex))); in usbprn_ioctl() 1743 ASSERT(!(mutex_owned(&usbprnp->usbprn_mutex))); in usbprn_getparms() 1764 ASSERT(!(mutex_owned(&usbprnp->usbprn_mutex))); in usbprn_setparms() 1989 ASSERT(!(mutex_owned(&usbprnp->usbprn_mutex))); in usbprn_prnio_get_ifcap() 2011 ASSERT(!(mutex_owned(&usbprnp->usbprn_mutex))); in usbprn_prnio_set_ifcap() 2042 ASSERT(!(mutex_owned(&usbprnp->usbprn_mutex))); in usbprn_prnio_get_ifinfo() 2073 ASSERT(!(mutex_owned(&usbprnp->usbprn_mutex))); in usbprn_prnio_get_ifinfo() [all …]
|