Home
last modified time | relevance | path

Searched refs:mutex_owned (Results 1 – 25 of 281) sorted by relevance

12345678910>>...12

/illumos-gate/usr/src/uts/common/sys/
H A Dddi_impldefs.h374 ASSERT(mutex_owned(&DEVI(dip)->devi_lock)); \
386 ASSERT(mutex_owned(&DEVI(dip)->devi_lock)); \
394 ASSERT(mutex_owned(&DEVI(dip)->devi_lock)); \
404 ASSERT(mutex_owned(&DEVI(dip)->devi_lock)); \
413 ASSERT(mutex_owned(&DEVI(dip)->devi_lock)); \
429 ASSERT(mutex_owned(&DEVI(dip)->devi_lock)); \
434 ASSERT(mutex_owned(&DEVI(dip)->devi_lock)); \
444 ASSERT(mutex_owned(&DEVI(dip)->devi_lock)); \
450 ASSERT(mutex_owned(&DEVI(dip)->devi_lock)); \
458 ASSERT(mutex_owned(&DEVI(dip)->devi_lock)); \
[all …]
H A Dmutex.h85 #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 *);
/illumos-gate/usr/src/uts/intel/io/dktp/hba/ghd/
H A Dghd.c98 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 Dghd_waitq.c201 ASSERT(mutex_owned(&cccp->ccc_waitq_mutex)); in ghd_waitq_shuffle_up()
256 ASSERT(mutex_owned(&cccp->ccc_hba_mutex)); in ghd_waitq_delete()
327 ASSERT(mutex_owned(&cccp->ccc_hba_mutex)); in ghd_waitq_process_and_mutex_hold()
328 ASSERT(mutex_owned(&cccp->ccc_waitq_mutex)); in ghd_waitq_process_and_mutex_hold()
410 ASSERT(mutex_owned(&cccp->ccc_hba_mutex)); in ghd_waitq_process_and_mutex_hold()
411 ASSERT(mutex_owned(&cccp->ccc_waitq_mutex)); in ghd_waitq_process_and_mutex_hold()
418 ASSERT(mutex_owned(&cccp->ccc_hba_mutex)); in ghd_waitq_process_and_mutex_exit()
419 ASSERT(mutex_owned(&cccp->ccc_waitq_mutex)); in ghd_waitq_process_and_mutex_exit()
/illumos-gate/usr/src/lib/libfakekernel/common/sys/
H A Dmutex.h79 #define MUTEX_HELD(x) (mutex_owned(x))
80 #define MUTEX_NOT_HELD(x) (!mutex_owned(x) || panicstr)
103 extern int mutex_owned(const kmutex_t *);
/illumos-gate/usr/src/uts/common/io/scsi/targets/
H A Dsd_xbuf.c218 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()
564 ASSERT(mutex_owned(&xap->xa_mutex)); in xbuf_dispatch()
601 ASSERT(!mutex_owned(&xap->xa_mutex)); in xbuf_restart_callback()
619 ASSERT(!mutex_owned(&xap->xa_mutex)); in ddi_xbuf_flushq()
/illumos-gate/usr/src/uts/common/io/cxgbe/t4nex/
H A Dadapter.h534 #define ADAPTER_LOCK_ASSERT_OWNED(sc) ASSERT(mutex_owned(&(sc)->lock))
535 #define ADAPTER_LOCK_ASSERT_NOTOWNED(sc) ASSERT(!mutex_owned(&(sc)->lock))
539 #define PORT_LOCK_ASSERT_OWNED(pi) ASSERT(mutex_owned(&(pi)->lock))
540 #define PORT_LOCK_ASSERT_NOTOWNED(pi) ASSERT(!mutex_owned(&(pi)->lock))
544 #define IQ_LOCK_ASSERT_OWNED(iq) ASSERT(mutex_owned(&(iq)->lock))
545 #define IQ_LOCK_ASSERT_NOTOWNED(iq) ASSERT(!mutex_owned(&(iq)->lock))
549 #define FL_LOCK_ASSERT_OWNED(fl) ASSERT(mutex_owned(&(fl)->lock))
550 #define FL_LOCK_ASSERT_NOTOWNED(fl) ASSERT(!mutex_owned(&(fl)->lock))
564 #define EQ_LOCK_ASSERT_OWNED(eq) ASSERT(mutex_owned(&(eq)->lock))
565 #define EQ_LOCK_ASSERT_NOTOWNED(eq) ASSERT(!mutex_owned(&(eq)->lock))
/illumos-gate/usr/src/uts/common/io/usb/hcd/ehci/
H A Dehci_xfer.c314 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 Dehci_intr.c123 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()
436 ASSERT(mutex_owned(&ehcip->ehci_int_mutex)); in ehci_parse_error()
786 ASSERT(mutex_owned(&ehcip->ehci_int_mutex)); in ehci_handle_error()
930 ASSERT(mutex_owned(&ehcip->ehci_int_mutex)); in ehci_handle_normal_qtd()
964 ASSERT(mutex_owned(&ehcip->ehci_int_mutex)); in ehci_handle_ctrl_qtd()
1053 ASSERT(mutex_owned(&ehcip->ehci_int_mutex)); in ehci_handle_bulk_qtd()
1115 ASSERT(mutex_owned(&ehcip->ehci_int_mutex)); in ehci_handle_intr_qtd()
[all …]
H A Dehci_isoch_util.c364 ASSERT(mutex_owned(&ehcip->ehci_int_mutex)); in ehci_allocate_itw()
623 ASSERT(mutex_owned(&ehcip->ehci_int_mutex)); in ehci_allocate_itd()
676 ASSERT(mutex_owned(&ehcip->ehci_int_mutex)); in ehci_deallocate_itd()
880 ASSERT(mutex_owned(&ehcip->ehci_int_mutex)); in ehci_insert_itd_into_active_list()
901 ASSERT(mutex_owned(&ehcip->ehci_int_mutex)); in ehci_remove_itd_from_active_list()
961 ASSERT(mutex_owned(&ehcip->ehci_int_mutex)); in ehci_create_done_itd_list()
1199 ASSERT(mutex_owned(&ehcip->ehci_int_mutex)); in ehci_remove_isoc_from_pfl()
1288 ASSERT(mutex_owned(&ehcip->ehci_int_mutex)); in ehci_allocate_isoc_in_resource()
1346 ASSERT(mutex_owned(&ehcip->ehci_int_mutex)); in ehci_deallocate_isoc_in_resource()
1381 ASSERT(mutex_owned(&ehcip->ehci_int_mutex)); in ehci_itd_cpu_to_iommu()
[all …]
H A Dehci_isoch.c215 ASSERT(mutex_owned(&ehcip->ehci_int_mutex)); in ehci_isoc_pipe_cleanup()
270 ASSERT(mutex_owned(&ehcip->ehci_int_mutex)); in ehci_wait_for_isoc_completion()
317 ASSERT(mutex_owned(&ehcip->ehci_int_mutex)); in ehci_allocate_isoc_resources()
458 ASSERT(mutex_owned(&ehcip->ehci_int_mutex)); in ehci_insert_isoc_req()
851 ASSERT(mutex_owned(&ehcip->ehci_int_mutex)); in ehci_remove_isoc_itds()
1115 ASSERT(mutex_owned(&ehcip->ehci_int_mutex)); in ehci_traverse_active_isoc_list()
1190 ASSERT(mutex_owned(&ehcip->ehci_int_mutex)); in ehci_handle_isoc()
1354 ASSERT(mutex_owned(&ehcip->ehci_int_mutex)); in ehci_sendup_itd_message()
1414 ASSERT(mutex_owned(&ehcip->ehci_int_mutex)); in ehci_hcdi_isoc_callback()
/illumos-gate/usr/src/uts/common/io/comstar/stmf/
H A Dlun_map.c196 ASSERT(mutex_owned(&stmf_state.stmf_lock)); in stmf_session_create_lun_map()
302 ASSERT(mutex_owned(&stmf_state.stmf_lock)); in stmf_add_lu_to_active_sessions()
328 ASSERT(mutex_owned(&stmf_state.stmf_lock)); in stmf_session_lu_unmapall()
369 ASSERT(mutex_owned(&stmf_state.stmf_lock)); in stmf_add_lu_to_session()
411 ASSERT(mutex_owned(&stmf_state.stmf_lock)); in stmf_remove_lu_from_session()
447 ASSERT(mutex_owned(&stmf_state.stmf_lock)); in stmf_update_sessions_per_ve()
512 ASSERT(mutex_owned(&stmf_state.stmf_lock)); in stmf_add_lus_to_session_per_vemap()
538 ASSERT(mutex_owned(&stmf_state.stmf_lock)); in stmf_remove_lus_from_session_per_vemap()
605 ASSERT(mutex_owned(&stmf_state.stmf_lock)); in stmf_lookup_group_for_target()
624 ASSERT(mutex_owned(&stmf_state.stmf_lock)); in stmf_lookup_group_for_host()
[all …]
/illumos-gate/usr/src/uts/common/io/efe/
H A Defe.c946 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 …]
/illumos-gate/usr/src/uts/common/io/dmfe/
H A Ddmfe_main.c345 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 Ddmfe_mii.c150 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()
/illumos-gate/usr/src/uts/common/io/scsi/adapters/iscsi/
H A Discsi_queue.c85 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 Discsi_cmd.c382 ASSERT(mutex_owned(&isp->sess_queue_pending.mutex)); in iscsi_cmd_state_pending()
556 ASSERT(!mutex_owned(&isp->sess_queue_pending.mutex)); in iscsi_cmd_state_pending()
595 ASSERT(mutex_owned(&icmdp->cmd_conn->conn_queue_active.mutex)); in iscsi_cmd_state_pending()
612 ASSERT(mutex_owned(&isp->sess_queue_pending.mutex)); in iscsi_cmd_state_pending()
632 ASSERT(mutex_owned(&isp->sess_queue_pending.mutex)); in iscsi_cmd_state_pending()
736 ASSERT(mutex_owned(&icp->conn_queue_active.mutex)); in iscsi_cmd_state_active()
861 ASSERT(!mutex_owned(&isp->sess_cmdsn_mutex)); in iscsi_cmd_state_active()
1015 ASSERT(!mutex_owned(&isp->sess_cmdsn_mutex)); in iscsi_cmd_state_active()
1116 ASSERT(!mutex_owned(&isp->sess_cmdsn_mutex)); in iscsi_cmd_state_active()
1152 ASSERT(mutex_owned(&icmdp->cmd_conn->conn_queue_active.mutex)); in iscsi_cmd_state_aborting()
/illumos-gate/usr/src/uts/common/io/bge/
H A Dbge_mii.c122 ASSERT(mutex_owned(bgep->genlock)); in bge_phydump()
187 ASSERT(mutex_owned(bgep->genlock)); in bge_phy_probe()
243 ASSERT(mutex_owned(bgep->genlock)); in bge_phy_reset()
573 ASSERT(mutex_owned(bgep->genlock)); in bge_restart_copper()
708 ASSERT(mutex_owned(bgep->genlock)); in bge_eee_init()
754 ASSERT(mutex_owned(bgep->genlock)); in bge_eee_autoneg()
817 ASSERT(mutex_owned(bgep->genlock)); in bge_eee_adjust()
930 ASSERT(mutex_owned(bgep->genlock)); in bge_update_copper()
1329 ASSERT(mutex_owned(bgep->genlock)); in bge_restart_serdes()
1405 ASSERT(mutex_owned(bgep->genlock)); in bge_update_serdes()
[all …]
/illumos-gate/usr/src/uts/common/io/usb/hcd/openhci/
H A Dohci.c1711 ASSERT(mutex_owned(&ohcip->ohci_int_mutex)); in ohci_init_hcca()
3249 ASSERT(mutex_owned(&ohcip->ohci_int_mutex)); in ohci_allocate_bandwidth()
3408 ASSERT(mutex_owned(&ohcip->ohci_int_mutex)); in ohci_deallocate_bandwidth()
3761 ASSERT(mutex_owned(&ohcip->ohci_int_mutex)); in ohci_alloc_hc_ed()
3899 ASSERT(mutex_owned(&ohcip->ohci_int_mutex)); in ohci_insert_ed()
3935 ASSERT(mutex_owned(&ohcip->ohci_int_mutex)); in ohci_insert_ctrl_ed()
3982 ASSERT(mutex_owned(&ohcip->ohci_int_mutex)); in ohci_insert_bulk_ed()
4028 ASSERT(mutex_owned(&ohcip->ohci_int_mutex)); in ohci_insert_intr_ed()
4125 ASSERT(mutex_owned(&ohcip->ohci_int_mutex)); in ohci_insert_isoc_ed()
4195 ASSERT(mutex_owned(&ohcip->ohci_int_mutex)); in ohci_modify_sKip_bit()
[all …]
/illumos-gate/usr/src/uts/common/io/scsi/adapters/lmrc/
H A Dlmrc.h347 ASSERT(mutex_owned(&tgt->tgt_mpt_active_lock)); in lmrc_tgt_first_active_mpt()
367 ASSERT(mutex_owned(&tgt->tgt_mpt_active_lock)); in lmrc_tgt_next_active_mpt()
388 ASSERT(mutex_owned(&mpt->mpt_lock)); in lmrc_tgt_add_active_mpt()
404 ASSERT(!mutex_owned(&mpt->mpt_lock)); in lmrc_tgt_rem_active_mpt()
/illumos-gate/usr/src/uts/common/io/usb/scsa2usb/
H A Dusb_ms_bulkonly.c202 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 Dusb_ms_cbi.c162 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()
/illumos-gate/usr/src/uts/common/io/
H A Dneti_stack.c297 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()
/illumos-gate/usr/src/uts/common/io/usb/clients/printer/
H A Dusbprn.c685 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 …]
/illumos-gate/usr/src/uts/common/io/net80211/
H A Dnet80211_impl.h375 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))

12345678910>>...12