/illumos-gate/usr/src/uts/common/io/bnxe/ |
H A D | bnxe_lock.c | 39 void BNXE_LOCK_ENTER_INTR (um_device_t * pUM, int idx) { mutex_enter(&pUM->intrMutex[idx]… in BNXE_LOCK_ENTER_INTR() 41 void BNXE_LOCK_ENTER_INTR_FLIP (um_device_t * pUM, int idx) { mutex_enter(&pUM->intrFlipMutex[… in BNXE_LOCK_ENTER_INTR_FLIP() 43 void BNXE_LOCK_ENTER_TX (um_device_t * pUM, int idx) { mutex_enter(&pUM->txq[idx].txMut… in BNXE_LOCK_ENTER_TX() 45 void BNXE_LOCK_ENTER_FREETX (um_device_t * pUM, int idx) { mutex_enter(&pUM->txq[idx].freeT… in BNXE_LOCK_ENTER_FREETX() 47 void BNXE_LOCK_ENTER_RX (um_device_t * pUM, int idx) { mutex_enter(&pUM->rxq[idx].rxMut… in BNXE_LOCK_ENTER_RX() 49 void BNXE_LOCK_ENTER_DONERX (um_device_t * pUM, int idx) { mutex_enter(&pUM->rxq[idx].doneR… in BNXE_LOCK_ENTER_DONERX() 51 void BNXE_LOCK_ENTER_SB (um_device_t * pUM, int idx) { mutex_enter(&pUM->sbMutex[idx]);… in BNXE_LOCK_ENTER_SB() 53 void BNXE_LOCK_ENTER_ETH_CON (um_device_t * pUM) { mutex_enter(&pUM->ethConMutex); … in BNXE_LOCK_ENTER_ETH_CON() 55 void BNXE_LOCK_ENTER_MCP (um_device_t * pUM) { mutex_enter(&pUM->mcpMutex); … in BNXE_LOCK_ENTER_MCP() 57 void BNXE_LOCK_ENTER_PHY (um_device_t * pUM) { mutex_enter(&pUM->phyMutex); … in BNXE_LOCK_ENTER_PHY() [all …]
|
/illumos-gate/usr/src/uts/common/io/ib/clients/eoib/ |
H A D | eib_svc.c | 52 mutex_enter(&ss->ei_ev_lock); in eib_events_handler() 54 mutex_enter(&ci_lock); in eib_events_handler() 60 mutex_enter(&ci_lock); in eib_events_handler() 77 mutex_enter(&ci_lock); in eib_events_handler() 163 mutex_enter(&ss->ei_vnic_lock); in eib_events_handler() 276 mutex_enter(&ss->ei_ev_lock); in eib_svc_enqueue_event() 314 mutex_enter(&ss->ei_rxpost_lock); in eib_refill_rwqes() 317 mutex_enter(&ci_lock); in eib_refill_rwqes() 323 mutex_enter(&ci_lock); in eib_refill_rwqes() 335 mutex_enter(&ci_lock); in eib_refill_rwqes() [all …]
|
/illumos-gate/usr/src/uts/common/io/usb/usba/ |
H A D | usbai_pipe_mgmt.c | 93 mutex_enter(&ph_impl->usba_ph_mutex); in usba_get_dip() 123 mutex_enter(&ph_impl->usba_ph_mutex); in usba_get_ph_data() 139 mutex_enter(&ph_data->p_mutex); in usba_get_pipe_handle() 161 mutex_enter(&ph_impl->usba_ph_mutex); in usba_hold_ph_data() 192 mutex_enter(&ph_impl->usba_ph_mutex); in usba_release_ph_data() 226 mutex_enter(&ph_impl->usba_ph_mutex); in usba_get_ph_state() 243 mutex_enter(&ph_impl->usba_ph_mutex); in usba_get_ph_ref_count() 262 mutex_enter(&ph_impl->usba_ph_mutex); in usba_pipe_new_state() 456 mutex_enter(&ph_data->p_mutex); in usba_init_pipe_handle() 457 mutex_enter(&usba_device->usb_mutex); in usba_init_pipe_handle() [all …]
|
H A D | hubdi.c | 214 mutex_enter(&usba_hubdi_mutex); in usba_hubdi_register() 234 mutex_enter(&usba_hubdi_mutex); in usba_hubdi_unregister() 295 mutex_enter(&usba_device->usb_mutex); in usba_hubdi_bind_root_hub() 635 mutex_enter(HUBD_MUTEX(hubd)); in hubd_pm_busy_component() 639 mutex_enter(HUBD_MUTEX(hubd)); in hubd_pm_busy_component() 653 mutex_enter(HUBD_MUTEX(hubd)); in hubd_pm_idle_component() 658 mutex_enter(HUBD_MUTEX(hubd)); in hubd_pm_idle_component() 679 mutex_enter(HUBD_MUTEX(hubd)); in hubd_set_child_pwrlvl() 715 mutex_enter(HUBD_MUTEX(hubd)); in hubd_child_dip2port() 782 mutex_enter(HUBD_MUTEX(hubd)); in hubd_resume_port() [all …]
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | netstack.c | 181 mutex_enter(&netstack_g_lock); in netstack_register() 198 mutex_enter(&ns->netstack_lock); in netstack_register() 228 mutex_enter(&netstack_g_lock); in netstack_unregister() 240 mutex_enter(&ns->netstack_lock); in netstack_unregister() 299 mutex_enter(&netstack_g_lock); in netstack_unregister() 305 mutex_enter(&ns->netstack_lock); in netstack_unregister() 349 mutex_enter(&netstack_g_lock); in netstack_zone_create() 359 mutex_enter(&ns->netstack_lock); in netstack_zone_create() 381 mutex_enter(&ns->netstack_lock); in netstack_zone_create() 414 mutex_enter(&ns->netstack_lock); in netstack_zone_create() [all …]
|
H A D | session.c | 66 mutex_enter(&p->p_sessp->s_lock); in sess_hold() 76 mutex_enter(&sp->s_lock); in sess_rele() 114 mutex_enter(&pidlock); in sess_rele() 135 mutex_enter(&p->p_splock); /* protect p->p_sessp */ in tty_hold() 137 mutex_enter(&sp->s_lock); /* protect sp->* */ in tty_hold() 189 mutex_enter(&sp->s_lock); in tty_rele() 216 mutex_enter(&pidlock); in sess_create() 217 mutex_enter(&p->p_lock); in sess_create() 218 mutex_enter(&p->p_splock); in sess_create() 278 mutex_enter(&p->p_crlock); in sess_ctty_set() [all …]
|
H A D | fork.c | 219 mutex_enter(&p->p_lock); in cfork() 238 mutex_enter(&p->p_lock); in cfork() 282 mutex_enter(&p->p_lock); in cfork() 289 mutex_enter(&p->p_lock); in cfork() 292 mutex_enter(&pidlock); in cfork() 294 mutex_enter(&cp->p_lock); in cfork() 304 mutex_enter(&p->p_lock); in cfork() 326 mutex_enter(&p->p_lock); in cfork() 343 mutex_enter(&p->p_lock); in cfork() 354 mutex_enter(&p->p_rctls->rcs_lock); in cfork() [all …]
|
H A D | contract.c | 327 mutex_enter(&author->p_lock); in contract_ctor() 328 mutex_enter(&contract_lock); in contract_ctor() 359 mutex_enter(&contract_lock); in contract_ctor() 367 mutex_enter(&type->ct_type_lock); in contract_ctor() 394 mutex_enter(&ct->ct_reflock); in contract_rele() 408 mutex_enter(&contract_lock); in contract_rele() 415 mutex_enter(&ct->ct_type->ct_type_lock); in contract_rele() 427 mutex_enter(&contract_lock); in contract_rele() 448 mutex_enter(&ct->ct_reflock); in contract_hold() 467 mutex_enter(&ct->ct_reflock); in contract_getzuniqid() [all …]
|
H A D | ddi_periodic.c | 137 mutex_enter(&dpr->dpr_lock); in periodic_execute() 166 mutex_enter(&dpr->dpr_lock); in periodic_execute() 186 mutex_enter(&periodics_lock); in ddi_periodic_softintr() 198 mutex_enter(&periodics_lock); in ddi_periodic_softintr() 257 mutex_enter(&periodics_lock); in ddi_periodic_fini() 269 mutex_enter(&periodics_lock); in ddi_periodic_fini() 298 mutex_enter(&dpr->dpr_lock); in periodic_cyclic_handler() 326 mutex_enter(&periodics_lock); in periodic_cyclic_handler() 427 mutex_enter(&cpu_lock); in i_timeout() 435 mutex_enter(&periodics_lock); in i_timeout() [all …]
|
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/emlxs/ |
H A D | emlxs_thread.c | 46 mutex_enter(&tthread->lock); in emlxs_taskq_thread() 50 mutex_enter(&taskq->put_lock); in emlxs_taskq_thread() 69 mutex_enter(&tthread->lock); in emlxs_taskq_thread() 88 mutex_enter(&taskq->get_lock); in emlxs_taskq_dispatch() 109 mutex_enter(&taskq->put_lock); in emlxs_taskq_dispatch() 127 mutex_enter(&tthread->lock); in emlxs_taskq_dispatch() 160 mutex_enter(&taskq->get_lock); in emlxs_taskq_create() 203 mutex_enter(&taskq->get_lock); in emlxs_taskq_destroy() 229 mutex_enter(&tthread->lock); in emlxs_taskq_destroy() 237 mutex_enter(&tthread->lock); in emlxs_taskq_destroy() [all …]
|
/illumos-gate/usr/src/uts/common/crypto/api/ |
H A D | kcf_cbufcall.c | 84 mutex_enter(&cbufp->kc_lock); in crypto_bufcall_free() 114 mutex_enter(&cbuf_list_lock); in crypto_bufcall() 115 mutex_enter(&cbufp->kc_lock); in crypto_bufcall() 157 mutex_enter(&cbuf_list_lock); in crypto_unbufcall() 158 mutex_enter(&cbufp->kc_lock); in crypto_unbufcall() 215 mutex_enter(&cbuf_list_lock); in kcf_run_cbufcalls() 229 mutex_enter(&cbufp->kc_lock); in kcf_run_cbufcalls() 237 mutex_enter(&cbufp->kc_lock); in kcf_run_cbufcalls() 242 mutex_enter(&cbuf_list_lock); in kcf_run_cbufcalls() 269 mutex_enter(&cbuf_list_lock); in crypto_bufcall_service() [all …]
|
/illumos-gate/usr/src/uts/common/io/ |
H A D | neti_stack.c | 112 mutex_enter(&neti_stack_lock); in neti_stack_init() 123 mutex_enter(&nts->nts_lock); in neti_stack_init() 130 mutex_enter(&nts->nts_lock); in neti_stack_init() 152 mutex_enter(&neti_stack_lock); in neti_stack_shutdown() 153 mutex_enter(&nts->nts_lock); in neti_stack_shutdown() 190 mutex_enter(&nts->nts_lock); in neti_stack_shutdown() 218 mutex_enter(&neti_stack_lock); in neti_stack_fini() 219 mutex_enter(&nts->nts_lock); in neti_stack_fini() 356 mutex_enter(&neti_stack_lock); in net_instance_register() 376 mutex_enter(&nts->nts_lock); in net_instance_register() [all …]
|
/illumos-gate/usr/src/uts/common/syscall/ |
H A D | uid.c | 77 mutex_enter(&p->p_crlock); in setuid() 85 mutex_enter(&p->p_crlock); in setuid() 96 mutex_enter(&p->p_crlock); in setuid() 112 mutex_enter(&pidlock); in setuid() 159 mutex_enter(&pidlock); in setuid() 166 mutex_enter(&p->p_lock); in setuid() 215 mutex_enter(&p->p_crlock); in seteuid() 227 mutex_enter(&p->p_crlock); in seteuid() 241 mutex_enter(&p->p_lock); in seteuid() 297 mutex_enter(&p->p_crlock); in setreuid() [all …]
|
H A D | corectl.c | 88 mutex_enter(&ccp->ccc_mtx); in corectl_content_value() 98 mutex_enter(&ccp->ccc_mtx); in corectl_content_set() 134 mutex_enter(&ccp->ccp_mtx); in corectl_path_value() 146 mutex_enter(&ccp->ccp_mtx); in corectl_path_set() 269 mutex_enter(&cg->core_lock); in corectl() 277 mutex_enter(&pidlock); in corectl() 283 mutex_enter(&p->p_lock); in corectl() 285 mutex_enter(&p->p_crlock); in corectl() 327 mutex_enter(&cg->core_lock); in corectl() 369 mutex_enter(&cg->core_lock); in corectl() [all …]
|
H A D | pgrpsys.c | 50 mutex_enter(&pidlock); in setpgrp() 56 mutex_enter(&p->p_splock); in setpgrp() 62 mutex_enter(&pidlock); in setpgrp() 69 mutex_enter(&p->p_splock); in setpgrp() 76 mutex_enter(&pidlock); in setpgrp() 121 mutex_enter(&p->p_lock); in setpgrp() 136 mutex_enter(&p->p_lock); in setpgrp() 146 mutex_enter(&pidlock); in setpgrp() 156 mutex_enter(&pidlock); in setpgrp()
|
/illumos-gate/usr/src/uts/common/fs/nfs/ |
H A D | nfs4_client.c | 149 mutex_enter(&rp->r_statelock); in nfs4_waitfor_purge_complete() 202 mutex_enter(&rp->r_statelock); in nfs4_getattr_cache() 203 mutex_enter(&rp->r_statev4_lock); in nfs4_getattr_cache() 235 mutex_enter(&rp->r_statelock); in nfs4_purge_stale_fh() 269 mutex_enter(&rp->r_statelock); in nfs4_purge_caches() 313 mutex_enter(&rp->r_statelock); in nfs4_purge_caches() 352 mutex_enter(&rp->r_statelock); in nfs4_flush_pages() 369 mutex_enter(&rp->r_statelock); in nfs4_pgflush_thread() 376 mutex_enter(&rp->r_statelock); in nfs4_pgflush_thread() 399 mutex_enter(&rp->r_statelock); in nfs4_purge_rddir_cache() [all …]
|
/illumos-gate/usr/src/uts/common/io/ib/ibtl/ |
H A D | ibtl_handlers.c | 167 mutex_enter(&ibtl_clnt_list_mutex); in _NOTE() 202 mutex_enter(&ibtl_async_mutex); in ibc_async_handler() 428 mutex_enter(&ibtl_clnt_list_mutex); in ibtl_async_client_call() 477 mutex_enter(&ibtl_clnt_list_mutex); in ibtl_do_mgr_async_task() 499 mutex_enter(&ibtl_clnt_list_mutex); in ibt_cisco_embedded_sm_rereg_fix() 513 mutex_enter(&ibtl_async_mutex); in ibt_cisco_embedded_sm_rereg_fix() 521 mutex_enter(&ibtl_clnt_list_mutex); in ibt_cisco_embedded_sm_rereg_fix() 591 mutex_enter(&ibtl_async_mutex); in ibtl_hca_client_async_task() 599 mutex_enter(&ibtl_clnt_list_mutex); in ibtl_hca_client_async_task() 634 mutex_enter(&ibtl_clnt_list_mutex); in ibtl_do_hca_asyncs() [all …]
|
/illumos-gate/usr/src/uts/sun4/io/ |
H A D | su_driver.c | 400 mutex_enter(asy->asy_excl); in asydetach() 401 mutex_enter(asy->asy_excl_hi); in asydetach() 442 mutex_enter(asy->asy_excl); in asydetach() 443 mutex_enter(asy->asy_excl_hi); in asydetach() 516 mutex_enter(asy->asy_excl); in asyattach() 517 mutex_enter(asy->asy_excl_hi); in asyattach() 690 mutex_enter(asy->asy_excl); in asyattach() 937 mutex_enter(asy->asy_excl); in asyopen() 941 mutex_enter(asy->asy_excl_hi); in asyopen() 981 mutex_enter(asy->asy_excl_hi); in asyopen() [all …]
|
/illumos-gate/usr/src/uts/common/io/ib/mgt/ibmf/ |
H A D | ibmf_send.c | 95 mutex_enter(&clientp->ic_kstat_mutex); in ibmf_i_issue_pkt() 112 mutex_enter(&clientp->ic_mutex); in ibmf_i_issue_pkt() 115 mutex_enter(&clientp->ic_kstat_mutex); in ibmf_i_issue_pkt() 120 mutex_enter(&qpp->isq_mutex); in ibmf_i_issue_pkt() 123 mutex_enter(&clientp->ic_kstat_mutex); in ibmf_i_issue_pkt() 318 mutex_enter(&clientp->ic_mutex); in ibmf_i_handle_send_completion() 322 mutex_enter(&qpp->isq_mutex); in ibmf_i_handle_send_completion() 327 mutex_enter(&clientp->ic_kstat_mutex); in ibmf_i_handle_send_completion() 340 mutex_enter(&clientp->ic_kstat_mutex); in ibmf_i_handle_send_completion() 344 mutex_enter(&clientp->ic_kstat_mutex); in ibmf_i_handle_send_completion() [all …]
|
H A D | ibmf_trans.c | 124 mutex_enter(&msgimplp->im_mutex); in ibmf_i_notify_client() 174 mutex_enter(&clientp->ic_mutex); in ibmf_i_notify_client() 180 mutex_enter(&qpp->isq_mutex); in ibmf_i_notify_client() 210 mutex_enter(&clientp->ic_mutex); in ibmf_i_notify_client() 230 mutex_enter(&clientp->ic_kstat_mutex); in ibmf_i_notify_client() 242 mutex_enter(&clientp->ic_mutex); in ibmf_i_notify_client() 250 mutex_enter(&qpp->isq_mutex); in ibmf_i_notify_client() 274 mutex_enter(&clientp->ic_mutex); in ibmf_i_notify_client() 280 mutex_enter(&clientp->ic_kstat_mutex); in ibmf_i_notify_client() 287 mutex_enter(&qpp->isq_mutex); in ibmf_i_notify_client() [all …]
|
/illumos-gate/usr/src/uts/common/fs/zfs/ |
H A D | zthr.c | 212 mutex_enter(&t->zthr_state_lock); in zthr_procedure() 219 mutex_enter(&t->zthr_state_lock); in zthr_procedure() 264 mutex_enter(&t->zthr_state_lock); in zthr_create_timer() 296 mutex_enter(&t->zthr_request_lock); in zthr_wakeup() 297 mutex_enter(&t->zthr_state_lock); in zthr_wakeup() 328 mutex_enter(&t->zthr_request_lock); in zthr_cancel() 329 mutex_enter(&t->zthr_state_lock); in zthr_cancel() 372 mutex_enter(&t->zthr_request_lock); in zthr_resume() 373 mutex_enter(&t->zthr_state_lock); in zthr_resume() 427 mutex_enter(&t->zthr_state_lock); in zthr_iscancelled()
|
/illumos-gate/usr/src/uts/intel/io/dktp/hba/ghd/ |
H A D | ghd.c | 135 mutex_enter(doneq_mutexp); in ghd_doneq_get() 148 mutex_enter(doneq_mutexp); in ghd_doneq_pollmode_enter() 159 mutex_enter(doneq_mutexp); in ghd_doneq_pollmode_exit() 203 mutex_enter(doneq_mutexp); in ghd_doneq_process() 246 mutex_enter(&cccp->ccc_reset_notify_mutex); in ghd_do_reset_notify_callbacks() 401 mutex_enter(hba_mutexp); in ghd_intr() 415 mutex_enter(waitq_mutexp); in ghd_intr() 490 mutex_enter(&cccp->ccc_waitq_mutex); in ghd_poll() 582 mutex_enter(&cccp->ccc_hba_mutex); in ghd_tran_abort() 618 mutex_enter(&cccp->ccc_waitq_mutex); in ghd_tran_abort() [all …]
|
/illumos-gate/usr/src/uts/sun/io/ |
H A D | zs_async.c | 244 mutex_enter(zs->zs_excl_hi); \ 293 mutex_enter(zs->zs_excl_hi); \ 680 mutex_enter(zs->zs_excl); in zsa_init() 681 mutex_enter(zs->zs_excl_hi); in zsa_init() 736 mutex_enter(zs->zs_ocexcl); in zsa_open() 737 mutex_enter(zs->zs_excl); in zsa_open() 752 mutex_enter(zs->zs_ocexcl); in zsa_open() 753 mutex_enter(zs->zs_excl); in zsa_open() 776 mutex_enter(zs->zs_excl_hi); in zsa_open() 798 mutex_enter(zs->zs_excl_hi); in zsa_open() [all …]
|
/illumos-gate/usr/src/uts/common/dtrace/ |
H A D | fasttrap.c | 240 mutex_enter(&p->p_lock); in fasttrap_sigtrap() 263 mutex_enter(&cpu_core[i].cpuc_pid_lock); in fasttrap_mod_barrier() 285 mutex_enter(&fasttrap_cleanup_mtx); in fasttrap_pid_cleanup_cb() 300 mutex_enter(&bucket->ftb_mtx); in fasttrap_pid_cleanup_cb() 309 mutex_enter(&fp->ftp_mtx); in fasttrap_pid_cleanup_cb() 358 mutex_enter(&fasttrap_cleanup_mtx); in fasttrap_pid_cleanup_cb() 394 mutex_enter(&fasttrap_cleanup_mtx); in fasttrap_pid_cleanup() 432 mutex_enter(&cp->p_lock); in fasttrap_fork() 444 mutex_enter(&bucket->ftb_mtx); in fasttrap_fork() 464 mutex_enter(&cp->p_lock); in fasttrap_fork() [all …]
|
/illumos-gate/usr/src/uts/common/io/fibre-channel/impl/ |
H A D | fctl.c | 649 mutex_enter(&fctl_ulp_list_mutex); in fc_ulp_add() 662 mutex_enter(&fctl_ulp_list_mutex); in fc_ulp_add() 716 mutex_enter(&fctl_port_lock); in fc_ulp_add() 751 mutex_enter(&fctl_ulp_list_mutex); in fc_ulp_remove() 863 mutex_enter(&pd->pd_mutex); in fc_ulp_init_packet() 897 mutex_enter(&pd->pd_mutex); in fc_ulp_uninit_packet() 948 mutex_enter(&port->fp_mutex); in fc_ulp_getportmap() 1028 mutex_enter(&pd->pd_mutex); in fc_ulp_getportmap() 1056 mutex_enter(&port->fp_mutex); in fc_ulp_login() 1120 mutex_enter(&pkt->pkt_pd->pd_mutex); in fc_ulp_login() [all …]
|